org.jminor.framework.client.ui
Class EntityUiUtil.LookupValueLink
java.lang.Object
javax.swing.AbstractAction
org.jminor.common.ui.control.Control
org.jminor.common.ui.control.AbstractValueLink<ValueChangeMapEditModel<K,V>,V>
org.jminor.common.ui.valuemap.AbstractValueMapLink<String,Object>
org.jminor.framework.client.ui.EntityUiUtil.LookupValueLink
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- EntityUiUtil
public static final class EntityUiUtil.LookupValueLink
- extends AbstractValueMapLink<String,Object>
A class for linking an EntityLookupModel to a EntityEditModel foreign key property value.
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class org.jminor.common.ui.control.Control |
getDescription, getEnabledState, getIcon, getMnemonic, getName, isEnabled, setDescription, setEnabled, setIcon, setKeyStroke, setMnemonic, setName |
EntityUiUtil.LookupValueLink
public EntityUiUtil.LookupValueLink(EntityLookupModel lookupModel,
EntityEditModel editModel,
String foreignKeyPropertyID)
- Instantiates a new LookupModelValueLink
- Parameters:
lookupModel
- the lookup model to linkeditModel
- the EntityEditModel instanceforeignKeyPropertyID
- the foreign key property ID to link
getUIValue
protected Object getUIValue()
- Specified by:
getUIValue
in class AbstractValueLink<ValueChangeMapEditModel<String,Object>,Object>
- Returns:
- the value according to the UI
setUIValue
protected void setUIValue(Object value)
- Description copied from class:
AbstractValueLink
- Sets the value in the UI
- Specified by:
setUIValue
in class AbstractValueLink<ValueChangeMapEditModel<String,Object>,Object>
- Parameters:
value
- the value to represent in the UI