|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kalmeo.kuix.widget.Widget
org.kalmeo.kuix.widget.FocusableWidget
org.kalmeo.kuix.widget.ActionWidget
org.kalmeo.kuix.widget.CheckBox
public class CheckBox
This class represents a check box.
For further informations, visit the Kuix widgets reference page.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.kalmeo.kuix.widget.Widget |
---|
Widget.BindInstruction |
Field Summary | |
---|---|
protected static java.lang.String[] |
PSEUDO_CLASSES
|
static java.lang.String |
SELECTED_PSEUDO_CLASS
|
Fields inherited from class org.kalmeo.kuix.widget.FocusableWidget |
---|
DISABLED_PSEUDO_CLASS, enabled, focusable, focused, HOVER_PSEUDO_CLASS |
Fields inherited from class org.kalmeo.kuix.widget.Widget |
---|
bindInstructions, DEFAULT_ALIGN, DEFAULT_BACKGROUND_ALIGN, DEFAULT_BACKGROUND_REPEAT, DEFAULT_BORDER, DEFAULT_GAP, DEFAULT_MARGIN, DEFAULT_MIN_SIZE, DEFAULT_PADDING, DEFAULT_SPAN, DEFAULT_WEIGHT, next, parent, previous |
Constructor Summary | |
---|---|
CheckBox()
Construct a {CheckBox} |
|
CheckBox(java.lang.String tag)
Construct a {CheckBox} |
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the value of the specified attribute |
java.lang.String |
getOnSelect()
|
java.lang.String |
getOnUnselect()
|
boolean |
isPseudoClassCompatible(java.lang.String pseudoClass)
|
boolean |
isSelected()
|
boolean |
processActionEvent()
Process action event |
boolean |
setAttribute(java.lang.String name,
java.lang.String value)
Set the value to the specified attribute representing by
the name |
void |
setOnSelect(java.lang.String onSelect)
The onSelect to set |
void |
setOnUnselect(java.lang.String onUnselect)
The onUnselect to set |
void |
setSelected(boolean selected)
|
Methods inherited from class org.kalmeo.kuix.widget.ActionWidget |
---|
getOnAction, processKeyEvent, processPointerEvent, processShortcutKeyEvent, setOnAction |
Methods inherited from class org.kalmeo.kuix.widget.FocusableWidget |
---|
getAvailablePseudoClasses, getOnFocus, getOnLostFocus, giveFocusToNearestWidget, isEnabled, isFocusable, isFocused, onAdded, processFocusEvent, remove, requestFocus, setEnabled, setFocusable, setOnFocus, setOnLostFocus, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SELECTED_PSEUDO_CLASS
protected static final java.lang.String[] PSEUDO_CLASSES
Constructor Detail |
---|
public CheckBox()
public CheckBox(java.lang.String tag)
tag
- Method Detail |
---|
public boolean setAttribute(java.lang.String name, java.lang.String value)
Widget
value
to the specified attribute representing by
the name
setAttribute
in class ActionWidget
true
if the attribute existspublic java.lang.Object getAttribute(java.lang.String name)
Widget
getAttribute
in class FocusableWidget
public boolean isPseudoClassCompatible(java.lang.String pseudoClass)
isPseudoClassCompatible
in class FocusableWidget
true
if this widget is compatible with peudo classpublic boolean isSelected()
public void setSelected(boolean selected)
selected
- the selected to setpublic java.lang.String getOnSelect()
public void setOnSelect(java.lang.String onSelect)
public java.lang.String getOnUnselect()
public void setOnUnselect(java.lang.String onUnselect)
public boolean processActionEvent()
Widget
processActionEvent
in class ActionWidget
true
if the event is treated by the widget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |