Jump to: navigation, search

Difference between revisions of "Status Colour LED (UBIK Android)"


(See also)
m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Status LEDs are shown for objects in the [[UBIK_Client_Basics|{{UBIK}} Android]] client's [[UBIK_Client_Basics#Content_Browser|Content Browser]] classified by the [[SYSCLS_STATUSCOLOR|Status Color classification]].
+
#redirect [[Status_LED]]
The following is UBIK.Android.Kernel's IStatusColorClassification interface describing its UUID and relevant property '''STATUSCOLOR'''.
+
 
+
The '''STATUSCOLOR''' property has to be an integer property describing the RGB value of the status colour as a decimal number.
+
 
+
<source lang="java">
+
package com.augmensys.ubik.classification.statuscolor;
+
 
+
import java.util.UUID;
+
 
+
import com.augmensys.ubik.classification.IClassification;
+
import com.augmensys.ubik.model.content.ContentClass;
+
 
+
 
+
public interface IStatusColorClassification extends IClassification {
+
 
+
public static final UUID STATUS_COLOUR_CLASSIFICATION_UID = UUID.fromString("1E84CF6C-CF6D-49B7-8EAF-C013CB384DC5");
+
public static final String STATUS_COLOUR_PROPERTY_NAME = "STATUSCOLOR";
+
 
+
public boolean hasStatusColour(ContentClass content);
+
 
+
public Integer getStatusColor(ContentClass content);
+
}
+
</source>
+
 
+
== UI Representation ==
+
In the ContentBrowser's object list (either root list or child list) the status LED is shown for respectively configured objects.
+
 
+
If the property isn't hidden or write-protected, the LED can be changed by editing the respective property.
+
The status LED can also be hidden by deleting the value.
+
 
+
<gallery widths="200" heights="200">
+
File:UI_TechSpec_UBIKClient_StatusLed_Appearance.png|Appearance of the Status LED
+
File:UI_TechSpec_UBIKClient_StatusLed_ChangeColour.png|Editing the Status Colour
+
</gallery>
+
 
+
== See also ==
+
* [[HowTo:Make_an_Object_show_a_Status_LED]]
+
* [[HowTo:Customize_Status_LED_on_Mobile_Client]]
+
* [[SYSCLS_STATUSCOLOR]]
+
 
+
[[Category:Android]]
+

Latest revision as of 08:21, 3 August 2016

Redirect to: