@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) public @interface MetaCombo
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends IComboDataSet<?>> |
dataSet
Define a class that will generate the data to show in the combo's list-of-values.
|
Class<? extends ILabelStringRenderer<?>> |
labelRenderer |
Class<? extends INodeContentRenderer<?>> |
nodeRenderer
Defines a custom node content renderer for the combobox's OPTION values.
|
boolean |
preferred
Define a preference for this being shown as a combobox.
|
MetaComboProperty[] |
properties
The list of properties that should be shown.
|
public abstract Class<? extends IComboDataSet<?>> dataSet
public abstract Class<? extends ILabelStringRenderer<?>> labelRenderer
public abstract Class<? extends INodeContentRenderer<?>> nodeRenderer
ComboComponentBase.getData()
call). All other options in the annotation are useless once a custom renderer is used!
If this is not used a content renderer is calculated from the other data in this annotation using
MetaManager.createDefaultComboRenderer(PropertyMetaModel, ClassMetaModel).public abstract MetaComboProperty[] properties
MetaComboProperty.join().Copyright © 2017 etc.to. All rights reserved.