MetaDone
|
Classes | |
class | SelectAction |
Public Member Functions | |
ChooseMetaObjectPopup (MetaModel mm, Iterable<?extends M > it) | |
void | setAutoSelectFirst (boolean b) |
void | show (Component invoker, int x, int y) |
void | onSelect (MapFct<?super M,?> action) |
Private Member Functions | |
void | selected (SelectAction action) |
Private Attributes | |
boolean | autoSelectFirst = false |
MapFct<?super M,?> | onSelect |
Static Private Attributes | |
static final long | serialVersionUID = 1L |
A metaobject chooser which is a popup.
<M> | The type of the metaobjects |
metadone.client.grasyla2.visuallibrary.ChooseMetaObjectPopup< M extends MetaObject >.ChooseMetaObjectPopup | ( | MetaModel | mm, |
Iterable<?extends M > | it | ||
) |
Initializes this chooser.
mm | The metamodel |
it | The metaobjects (where null is a separator) |
void metadone.client.grasyla2.visuallibrary.ChooseMetaObjectPopup< M extends MetaObject >.onSelect | ( | MapFct<?super M,?> | action | ) |
Sets the action to execute when a metaobject has been selected.
action | The action or null |
void metadone.client.grasyla2.visuallibrary.ChooseMetaObjectPopup< M extends MetaObject >.selected | ( | SelectAction | action | ) | [private] |
void metadone.client.grasyla2.visuallibrary.ChooseMetaObjectPopup< M extends MetaObject >.setAutoSelectFirst | ( | boolean | b | ) |
Whether to select automatically the first when showing and there is only one choice.
b | The new value |
void metadone.client.grasyla2.visuallibrary.ChooseMetaObjectPopup< M extends MetaObject >.show | ( | Component | invoker, |
int | x, | ||
int | y | ||
) |
boolean metadone.client.grasyla2.visuallibrary.ChooseMetaObjectPopup< M extends MetaObject >.autoSelectFirst = false [private] |
MapFct<? super M, ?> metadone.client.grasyla2.visuallibrary.ChooseMetaObjectPopup< M extends MetaObject >.onSelect [private] |
final long metadone.client.grasyla2.visuallibrary.ChooseMetaObjectPopup< M extends MetaObject >.serialVersionUID = 1L [static, private] |