Package thing
Class ComponentChooser
java.lang.Object
thing.ComponentChooser
A simple modal dialog that shows all named components in the given
Thinlet component tree and lets the user select a named component.
The dialog is modal and blocks the calling frame/dialog. It is therefore
displayed in a separate window.
- Author:
- Dirk Moebius
-
Constructor Summary
ConstructorsConstructorDescriptionComponentChooser(Frame owner, String title, Object topComponent, String omitName) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanvoidok()Thinlet callback.voidselectionChanged(Object list, Object lSelected) Thinlet callback.voidsetSelectedComponent(String name) voidshow()Show the modal dialog.
-
Constructor Details
-
ComponentChooser
-
-
Method Details
-
show
public void show()Show the modal dialog. This halts the application until the user dismisses the dialog. -
setSelectedComponent
-
getSelectedComponent
-
isCancelled
public boolean isCancelled() -
selectionChanged
Thinlet callback. -
ok
public void ok()Thinlet callback. -
close
public void close()
-