Home | Download | Showcase | Overview | Widgets | API | |
Overview Calculator Hierarchy Properties Events XML Internationalization |
Widget tree The root of thinlet's widget hierarchy is a desktop, it contains mainly panels and dialogs. public Object getDesktop() You can observe the whole tree.
getWidget method for it.
public int getCount(Object component) It is possible to find a widget by name (starting from the root desktop or a given component), but probably it's more appropriate to identify components as event parameters. public Object find(String name) The following methods are useful for combobox, tabbedpane, list, table, or tree components: public int getSelectedIndex(Object component) At runtime you can change the widget tree, create new widgets, add, or remove these. public static Object create(String classname) |
Copyright © 2002-2006 Robert Bajzat - All rights reserved. |