|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Widget | |
---|---|
org.kalmeo.kuix.core | |
org.kalmeo.kuix.core.focus | |
org.kalmeo.kuix.core.model | |
org.kalmeo.kuix.layout | |
org.kalmeo.kuix.util | |
org.kalmeo.kuix.widget |
Uses of Widget in org.kalmeo.kuix.core |
---|
Methods in org.kalmeo.kuix.core that return Widget | |
---|---|
Widget |
KuixConverter.convertWidgetTag(java.lang.String tag)
Returns the Class associated with the specified tag ,
or null if the tag is unknow. |
static Widget |
Kuix.loadWidget(java.io.InputStream inputStream,
DataProvider dataProvider)
Load a Widget from an XML InputStream . |
static Widget |
Kuix.loadWidget(java.lang.String xmlFilePath,
DataProvider dataProvider)
Load a Widget from a XML file. |
Methods in org.kalmeo.kuix.core with parameters of type Widget | |
---|---|
void |
KuixCanvas.addUnpaintableWidget(Widget widget)
Add a new unpaintable widget to the unpaintableWidgets list. |
static void |
Kuix.clearStyleCache(Widget target,
boolean propagateToChildren)
Clear style cache from the specified Widget and its childs |
static java.util.Vector |
Kuix.getStyles(Widget widget)
Returns the list of Style associated to the widget or
null if no style was found. |
static void |
Kuix.loadXml(Widget rootWidget,
java.io.InputStream inputStream)
Parse and load an XML UI definition and place the content as child of rootWidget . |
static void |
Kuix.loadXml(Widget rootWidget,
java.io.InputStream inputStream,
DataProvider dataProvider)
Parse and load an XML UI definition and place the content as child of rootWidget . |
static void |
Kuix.loadXml(Widget rootWidget,
java.io.InputStream inputStream,
DataProvider dataProvider,
boolean append,
boolean mergeRootWidget)
Parse an load an XML ui definition and place the content as child of rootWidget . |
static Method |
Kuix.parseMethod(java.lang.String data,
Widget owner)
Returns the parsed Method , or null if no method could be extract. |
void |
KuixCanvas.removeUnpaintableWidget(Widget widget)
Add a widget from the unpaintableWidgets list. |
static PopupBox |
Kuix.splash(int duration,
Widget content,
java.lang.String onCloseAction)
Display a splash PopupBox |
Uses of Widget in org.kalmeo.kuix.core.focus |
---|
Fields in org.kalmeo.kuix.core.focus declared as Widget | |
---|---|
protected Widget |
FocusManager.focusedWidget
|
protected Widget |
FocusManager.rootWidget
|
Methods in org.kalmeo.kuix.core.focus that return Widget | |
---|---|
Widget |
FocusManager.getFocusedWidget()
Returns the focused widget. |
Widget |
FocusManager.getVirtualFocusedWidget()
Returns the focused widget. |
Methods in org.kalmeo.kuix.core.focus with parameters of type Widget | |
---|---|
void |
FocusManager.addShortcutHandler(Widget widget)
Add a shortcut key event handler to shortcuts list |
ScrollPane |
FocusManager.findFirstScrollPaneParent(Widget widget)
Try to retrieve the direct or indirect parent scrollPane of the given widget instance. |
void |
FocusManager.removeShortcutHandler(Widget widget)
Remove a shortcut key event handler to shortcuts list |
void |
FocusManager.requestFocus(Widget widget)
Request the widget focus |
void |
FocusManager.requestOtherFocus(Widget startWidget,
boolean forward,
Alignment direction)
Request the forward or backward focusable Widget . |
Constructors in org.kalmeo.kuix.core.focus with parameters of type Widget | |
---|---|
FocusManager(Widget rootWidget,
boolean loop)
Construct a FocusManager |
Uses of Widget in org.kalmeo.kuix.core.model |
---|
Methods in org.kalmeo.kuix.core.model with parameters of type Widget | |
---|---|
void |
DataProvider.bind(Widget widget)
Bind the widget to this DataProvider . |
void |
DataProvider.unbind(Widget widget)
Unbind the widget from this DataProvider . |
Uses of Widget in org.kalmeo.kuix.layout |
---|
Methods in org.kalmeo.kuix.layout with parameters of type Widget | |
---|---|
void |
TableLayout.doLayout(Widget target)
|
void |
StaticLayout.doLayout(Widget target)
|
void |
Layout.doLayout(Widget target)
Do the layout on the specified Widget |
void |
InlineLayout.doLayout(Widget target)
|
void |
GridLayout.doLayout(Widget target)
|
void |
FlowLayout.doLayout(Widget target)
|
void |
BorderLayout.doLayout(Widget target)
|
void |
TableLayout.measurePreferredSize(Widget target,
int preferredWidth,
Metrics metrics)
|
void |
StaticLayout.measurePreferredSize(Widget target,
int preferredWidth,
Metrics metrics)
|
void |
Layout.measurePreferredSize(Widget target,
int preferredWidth,
Metrics metrics)
Returns the Metrics that represents the widget's preferedSize |
void |
InlineLayout.measurePreferredSize(Widget target,
int preferredWidth,
Metrics metrics)
|
void |
GridLayout.measurePreferredSize(Widget target,
int preferredWidth,
Metrics metrics)
|
void |
FlowLayout.measurePreferredSize(Widget target,
int preferredWidth,
Metrics metrics)
|
void |
BorderLayout.measurePreferredSize(Widget target,
int preferredWidth,
Metrics metrics)
|
Uses of Widget in org.kalmeo.kuix.util |
---|
Fields in org.kalmeo.kuix.util declared as Widget | |
---|---|
Widget |
Metrics.widget
|
Constructors in org.kalmeo.kuix.util with parameters of type Widget | |
---|---|
Metrics(Widget widget)
Construct a Metrics |
|
Metrics(Widget widget,
int x,
int y,
int width,
int height)
Construct a Metrics |
Uses of Widget in org.kalmeo.kuix.widget |
---|
Subclasses of Widget in org.kalmeo.kuix.widget | |
---|---|
class |
ActionWidget
This class is base for all action widgets. |
class |
Button
This class represents a button. |
class |
CheckBox
This class represents a check box. |
class |
Choice
This class represents a choice. |
class |
Desktop
This class represents the Kuix desktop. |
class |
DragAndDropContainer
This class represents a drag and drop container. |
class |
FocusableWidget
This class is base for all focusable widgets. |
class |
Gauge
This class represents a gauge. |
class |
List
This class represents a list. |
class |
ListItem
This class represents a list item. |
class |
Menu
This class represents a menu. |
class |
Menu.MenuPopup
This class represents a menu popup |
class |
MenuItem
This class represents a menu item. |
class |
Picture
This class represents a picture. |
class |
PopupBox
This class represents a Kuix popup box. |
class |
PopupBox.PopupBoxMenuItem
This class represents a popupBox menuItem |
class |
RadioButton
This class represents a radio button. |
class |
RadioGroup
This class represents a radio buttons group. |
class |
Screen
This class represents a Kuix screen. |
class |
Screen.ScreenBar
This class represents a screen top or bottom bar (used for title and/or menu) |
class |
Screen.ScreenMenu
This class represents a screen menu |
class |
ScrollBar
This class represents a scroll bar. |
class |
ScrollPane
This class represents a scroll pane. |
class |
TabFolder
This class represents a tab folder. |
class |
TabItem
This class represents a tab item. |
class |
TabItem.TabItemButton
This class represents the tabItem button. |
class |
Text
This class represents a text. |
class |
TextArea
This class represents a textarea. |
class |
TextField
This class represents a textfield. |
class |
TextWidget
This class is base for all text widgets. |
class |
UnpaintableWidget
This widget is used to mask region of display from Kuix repaint process. |
Fields in org.kalmeo.kuix.widget declared as Widget | |
---|---|
protected Widget |
ScrollPane.container
|
Widget |
Widget.next
|
Widget |
Widget.parent
|
Widget |
Widget.previous
|
Methods in org.kalmeo.kuix.widget that return Widget | |
---|---|
Widget |
Widget.add(Widget widget)
Add a Widget to this as child |
Widget |
Text.add(Widget widget)
|
Widget |
TabFolder.add(Widget widget)
|
Widget |
ScrollPane.add(Widget widget)
|
Widget |
Screen.add(Widget widget)
|
Widget |
RadioGroup.add(Widget widget)
|
Widget |
PopupBox.add(Widget widget)
|
Widget |
Picture.add(Widget widget)
|
Widget |
Desktop.add(Widget widget)
|
Widget |
Choice.add(Widget widget)
|
Widget |
Widget.add(Widget widget,
Widget referenceWidget,
boolean after)
Add a Widget to this as child before or after
referenceWidget child. |
Widget |
List.addItem(DataProvider item)
Add an item value |
Widget |
List.addItem(DataProvider item,
DataProvider referenceItem,
boolean after)
Add an item value |
Widget |
List.addItem(DataProvider item,
java.io.InputStream renderer)
Add an item value |
Widget |
List.addItem(DataProvider item,
java.io.InputStream renderer,
DataProvider referenceItem,
boolean after)
Add an item value near an other. |
Widget |
ScrollBar.getBar()
|
Widget |
Gauge.getBar()
|
Widget |
PopupBox.getBottomBar()
Create the bottomBar instance if it doesn't exist and return it. |
Widget |
Widget.getChild()
Returns the first child of this widget. |
Widget |
Choice.getChoiceContainer()
|
Widget |
TabFolder.getContainer()
Returns the container. |
protected Widget |
ScrollPane.getContainer()
|
Widget |
TabFolder.getDefaultTabItem()
Returns the defaultTabItem. |
Widget |
Desktop.getDraggedWidget()
|
Widget |
Widget.getInternalChildInstance(java.lang.String tag)
Returns the first internal child instance corresponding to the given tag . |
Widget |
TabItem.getInternalChildInstance(java.lang.String tag)
|
Widget |
TabFolder.getInternalChildInstance(java.lang.String tag)
|
Widget |
ScrollPane.getInternalChildInstance(java.lang.String tag)
|
Widget |
ScrollBar.getInternalChildInstance(java.lang.String tag)
|
Widget |
Screen.getInternalChildInstance(java.lang.String tag)
|
Widget |
PopupBox.getInternalChildInstance(java.lang.String tag)
|
Widget |
Menu.getInternalChildInstance(java.lang.String tag)
|
Widget |
Gauge.getInternalChildInstance(java.lang.String tag)
|
Widget |
Choice.getInternalChildInstance(java.lang.String tag)
|
Widget |
List.getItemWidget(DataProvider item)
|
Widget |
Widget.getLastChild()
Returns the last child of this widget. |
Widget |
Widget.getOtherFocus(Widget root,
Widget focusedWidget,
Widget nearestFocusableWidget,
boolean forward,
Alignment direction,
boolean checkItself,
boolean checkChild,
boolean checkParent)
Returns the previous or next focusable Widget according to the
forward parameter. |
Widget |
Widget.getWidget(java.lang.String id)
Returns the Widget witch correspond to the id , or
null |
Widget |
Desktop.getWidget(java.lang.String id)
|
Widget |
Choice.getWidget(java.lang.String id)
|
Widget |
Widget.getWidgetAt(int mx,
int my)
Returns the child widget under mx, my point |
Widget |
Widget.getWidgetAt(int mx,
int my,
int x,
int y,
int width,
int height)
Returns the child widget under mx, my point and specify the x, y, width and height of search. |
Widget |
Desktop.removeDraggedWidget(boolean restore)
Remove the dragged widget and returns its instance. |
Methods in org.kalmeo.kuix.widget with parameters of type Widget | |
---|---|
Widget |
Widget.add(Widget widget)
Add a Widget to this as child |
Widget |
Text.add(Widget widget)
|
Widget |
TabFolder.add(Widget widget)
|
Widget |
ScrollPane.add(Widget widget)
|
Widget |
Screen.add(Widget widget)
|
Widget |
RadioGroup.add(Widget widget)
|
Widget |
PopupBox.add(Widget widget)
|
Widget |
Picture.add(Widget widget)
|
Widget |
Desktop.add(Widget widget)
|
Widget |
Choice.add(Widget widget)
|
Widget |
Widget.add(Widget widget,
Widget referenceWidget,
boolean after)
Add a Widget to this as child before or after
referenceWidget child. |
void |
Desktop.addPopup(Widget widget)
Add a popup widget |
boolean |
ScrollPane.bestScrollToChild(Widget child,
boolean useIncrementLimit)
Arrange the scroll offset according to the child position |
void |
Widget.bringNear(Widget widget,
Widget referenceWidget,
boolean after)
Bring the widget on top or behind
referenceWidget according to the after
parameter. |
void |
Widget.bringToFront(Widget widget)
Bring the widget to the front of the orthers. |
void |
Widget.catchChildrenFrom(Widget widget)
Catch all child widgets from widget to move them into
this widget. |
Widget |
Widget.getOtherFocus(Widget root,
Widget focusedWidget,
Widget nearestFocusableWidget,
boolean forward,
Alignment direction,
boolean checkItself,
boolean checkChild,
boolean checkParent)
Returns the previous or next focusable Widget according to the
forward parameter. |
protected void |
Widget.invalidate(Widget fromWidget)
Invalidate the widget's size and position and propagate the information to its parent. |
void |
ScrollPane.invalidate(Widget fromWidget)
|
void |
Desktop.invalidate(Widget fromWidget)
|
boolean |
ScrollPane.isChildInsideClippedArea(Widget child)
Check if the given child widget has a part of its area in
the ScrollPane clipped area. |
boolean |
ScrollPane.isMarkerWidget(Widget widget)
Check if widget is one of the ScrollPane markers. |
protected void |
Widget.onAdded(Widget parent)
Event called when the widjet is added to parent . |
protected void |
TabItem.onAdded(Widget parent)
|
protected void |
TabFolder.onAdded(Widget parent)
|
protected void |
PopupBox.onAdded(Widget parent)
|
protected void |
FocusableWidget.onAdded(Widget parent)
|
protected void |
Widget.onChildAdded(Widget widget)
Event called when the child widjet is added. |
protected void |
Desktop.onChildAdded(Widget widget)
|
protected void |
Widget.onChildRemoved(Widget widget)
Event called when the child widjet is removed. |
protected void |
RadioGroup.onChildRemoved(Widget widget)
|
protected void |
Desktop.onChildRemoved(Widget widget)
|
protected void |
Widget.onFocus(Widget focusedWidget)
Call when the widget or one of its parents gain the focus. |
protected void |
TextField.onFocus(Widget focusedWidget)
|
protected void |
Text.onFocus(Widget focusedWidget)
|
protected void |
Widget.onLostFocus(Widget focusedWidget)
Call when the widget or one of its parents lost the focus. |
protected void |
TextField.onLostFocus(Widget focusedWidget)
|
protected void |
Text.onLostFocus(Widget focusedWidget)
|
protected void |
Widget.onRemoved(Widget parent)
Event called when the widjet is removed from parent . |
protected void |
TabItem.onRemoved(Widget parent)
|
protected void |
Screen.onRemoved(Widget parent)
|
protected void |
PopupBox.onRemoved(Widget parent)
|
protected void |
Menu.MenuPopup.onRemoved(Widget parent)
|
protected void |
Widget.propagateFocusEvent(Widget focusedWidget,
boolean lost)
Propagate focus lost or gain event to widget's children. |
protected void |
TextArea.propagateFocusEvent(Widget focusedWidget,
boolean lost)
|
protected void |
TabFolder.propagateFocusEvent(Widget focusedWidget,
boolean lost)
|
void |
Widget.sendToBack(Widget widget)
Send the widget to the back of the others. |
void |
Desktop.setDraggedWidget(Widget widget,
int x,
int y)
Define the dragged widget. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |