|
||||||||||
| 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.Choice
public class Choice
This class represents a choice.
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 |
|---|
| Fields inherited from class org.kalmeo.kuix.widget.FocusableWidget |
|---|
DISABLED_PSEUDO_CLASS, enabled, focusable, focused, HOVER_PSEUDO_CLASS, PSEUDO_CLASSES |
| 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 | |
|---|---|
Choice()
Construct a Choice |
|
| Method Summary | |
|---|---|
Widget |
add(Widget widget)
Add a Widget to this as child |
void |
cleanUp()
CleanUp all widget's link and propagate the action on its children. |
Widget |
getChoiceContainer()
|
Widget |
getInternalChildInstance(java.lang.String tag)
Returns the first internal child instance corresponding to the given tag. |
Layout |
getLayout()
|
RadioGroup |
getRadioGroup()
|
Screen |
getScreen()
|
Widget |
getWidget(java.lang.String id)
Returns the Widget witch correspond to the id, or
null |
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 |
setTitle(java.lang.String title)
Define the sub screen title. |
| Methods inherited from class org.kalmeo.kuix.widget.ActionWidget |
|---|
getOnAction, processKeyEvent, processPointerEvent, processShortcutKeyEvent, setOnAction |
| Methods inherited from class org.kalmeo.kuix.widget.FocusableWidget |
|---|
getAttribute, getAvailablePseudoClasses, getOnFocus, getOnLostFocus, giveFocusToNearestWidget, isEnabled, isFocusable, isFocused, isPseudoClassCompatible, 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 |
| Constructor Detail |
|---|
public Choice()
Choice
| Method Detail |
|---|
public boolean setAttribute(java.lang.String name,
java.lang.String value)
Widgetvalue to the specified attribute representing by
the name
setAttribute in class ActionWidgettrue if the attribute existspublic Widget getInternalChildInstance(java.lang.String tag)
Widgettag.
getInternalChildInstance in class Widgetpublic void setTitle(java.lang.String title)
title - public Widget getChoiceContainer()
public Screen getScreen()
public RadioGroup getRadioGroup()
public Layout getLayout()
getLayout in class Widgetpublic Widget getWidget(java.lang.String id)
WidgetWidget witch correspond to the id, or
null
getWidget in class WidgetWidget witch correspond to the idpublic Widget add(Widget widget)
WidgetWidget to this as child
add in class Widgetwidget - The Widget to add
Widgetpublic void cleanUp()
Widget
cleanUp in class Widgetpublic boolean processActionEvent()
Widget
processActionEvent in class ActionWidgettrue if the event is treated by the widget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||