|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.ClientHandlerImp com.cc.framework.ui.model.imp.ColumnDesignModelImp com.cc.framework.ui.model.imp.ColumnComboBoxDesignModelImp
Design Model implementation for the select column
Field Summary | |
private DeferredValue |
empty
An optional text to prompt the user for selecting an option of the list. |
private DeferredValue |
keyProperty
The property for the key |
private DeferredValue |
labelProperty
The property for the label |
private boolean |
localize
Specifies if all String should be treated as Resource Identifiers and must be localized |
private DeferredValue |
optionsProperty
Property for retrieving a individual option list for each row bean |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.Object |
sharedOptions
A option list that is shared among all row beans |
private boolean |
showRoot
Shows or hides the root of a TreeNodeDatamodel option list |
private DeferredValue |
size
Number of character positions to allocate. |
Fields inherited from class com.cc.framework.ui.model.imp.ColumnDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
ColumnComboBoxDesignModelImp()
|
Method Summary | |
java.lang.String |
getEmpty()
Returns the label of an additional empty-entry |
java.lang.String |
getKeyProperty()
Returns the name of the property which returns the key of the option. |
java.lang.String |
getLabelProperty()
Returns the name of the property which supplies the display text of the option. |
java.lang.String |
getOptionsProperty()
Returns the name of the property which returns the individual OptionListDataModel for each row of the list |
java.lang.Object |
getSharedOptions()
Returns the OptionListDataModel that is shared among all rows of the list |
int |
getSize()
Returns the number of visible characters for an input/text field. |
boolean |
localize()
If this flag is set to true the framework interprets all
labels as resource identifiers and localize them. |
void |
setEmpty(java.lang.String empty)
Sets the label of an additional empty-entry |
void |
setKeyProperty(java.lang.String keyProperty)
Sets the name of the property which returns the key of the option. |
void |
setLabelProperty(java.lang.String labelProperty)
Sets the name of the property which supplies the display text of the option. |
void |
setLocalize(boolean localize)
If this flag is set to true the framework interprets all
labels as resource identifiers and localize them. |
void |
setOptionsProperty(java.lang.String property)
Specifies the name of the property which returns the OptionListDataModel |
void |
setSharedOptions(java.lang.Object elements)
Sets a option list that is shared among all rows of the list |
void |
setSize(int size)
Sets the size of the input field. |
void |
setSize(java.lang.String size)
Sets the size of the input field. |
boolean |
showRoot()
Returns if the root element should be displayed (for TreeDataModel options) |
void |
showRoot(boolean show)
Specifies whether the root of the tree element should be displayed (for TreeDataModel options). |
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
evaluate, getHandlers, setHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.cc.framework.ui.model.ColumnComboBoxDesignModel |
filter, getMaxLength, getTooltip, setFilter, setMaxLength, setTooltip |
Methods inherited from interface com.cc.framework.ui.model.ClientHandler |
getHandler, getHandlers, setHandler |
Methods inherited from interface com.cc.framework.ui.model.AccessControlled |
getPermission, show |
Methods inherited from interface com.cc.framework.ui.model.ActionBehavior |
isAjaxEnabled |
Methods inherited from interface com.cc.framework.ui.model.AjaxSupport |
enableAjax, isAjaxEnabled |
Methods inherited from interface com.cc.framework.ui.model.OptionListDesignModel |
getImageMap, getProperty, getStyle, getStyleClass, getTooltipProperty, setImageMap, setProperty, setStyle, setStyleClass, setTooltipProperty |
Field Detail |
private static final long serialVersionUID
private DeferredValue keyProperty
private DeferredValue labelProperty
private DeferredValue optionsProperty
private java.lang.Object sharedOptions
private DeferredValue empty
private DeferredValue size
private boolean showRoot
private boolean localize
Constructor Detail |
public ColumnComboBoxDesignModelImp()
Method Detail |
public java.lang.String getEmpty()
OptionListDesignModel
getEmpty
in interface OptionListDesignModel
OptionListDesignModel.getEmpty()
public java.lang.String getOptionsProperty()
ColumnComboBoxDesignModel
getOptionsProperty
in interface ColumnComboBoxDesignModel
ColumnComboBoxDesignModel.getOptionsProperty()
public void setEmpty(java.lang.String empty)
OptionListDesignModel
setEmpty
in interface OptionListDesignModel
empty
- Label for the additional empty-entryOptionListDesignModel.setEmpty(java.lang.String)
public void setOptionsProperty(java.lang.String property)
ColumnComboBoxDesignModel
setOptionsProperty
in interface ColumnComboBoxDesignModel
property
- The name of the propertyColumnComboBoxDesignModel.setOptionsProperty(java.lang.String)
public void setSharedOptions(java.lang.Object elements)
ColumnComboBoxDesignModel
setSharedOptions
in interface ColumnComboBoxDesignModel
elements
- The Option elementsColumnComboBoxDesignModel.setSharedOptions(java.lang.Object)
public java.lang.Object getSharedOptions()
ColumnComboBoxDesignModel
getSharedOptions
in interface ColumnComboBoxDesignModel
ColumnComboBoxDesignModel.getSharedOptions()
public java.lang.String getKeyProperty()
OptionListDesignModel
getKeyProperty
in interface OptionListDesignModel
OptionListDesignModel.getKeyProperty()
public java.lang.String getLabelProperty()
OptionListDesignModel
getLabelProperty
in interface OptionListDesignModel
OptionListDesignModel.getLabelProperty()
public void setKeyProperty(java.lang.String keyProperty)
OptionListDesignModel
setKeyProperty
in interface OptionListDesignModel
keyProperty
- Name of the propertyOptionListDesignModel.setKeyProperty(java.lang.String)
public void setLabelProperty(java.lang.String labelProperty)
OptionListDesignModel
setLabelProperty
in interface OptionListDesignModel
labelProperty
- Name of the propertyOptionListDesignModel.setLabelProperty(java.lang.String)
public int getSize()
ColumnComboBoxDesignModel
getSize
in interface ColumnComboBoxDesignModel
ColumnComboBoxDesignModel.getSize()
public void setSize(int size)
ColumnComboBoxDesignModel
setSize
in interface ColumnComboBoxDesignModel
size
- The size of the input field.ColumnComboBoxDesignModel.setSize(int)
public void setSize(java.lang.String size)
ColumnComboBoxDesignModel
setSize
in interface ColumnComboBoxDesignModel
size
- The size of the input field.ColumnComboBoxDesignModel.setSize(java.lang.String)
public boolean localize()
OptionListDesignModel
true
the framework interprets all
labels as resource identifiers and localize them. If the flag is set to
false
the labels are treated as string literals without
localization.
localize
in interface OptionListDesignModel
true
if all labels should be localizedOptionListDesignModel.localize()
public void setLocalize(boolean localize)
OptionListDesignModel
true
the framework interprets all
labels as resource identifiers and localize them. If the flag is set to
false
the labels are treated as string literals without
localization.
setLocalize
in interface OptionListDesignModel
localize
- Localization setting for the option listOptionListDesignModel.setLocalize(boolean)
public boolean showRoot()
OptionListDesignModel
showRoot
in interface OptionListDesignModel
true
if the root element should be
displayed; false
otherwiseOptionListDesignModel.showRoot()
public void showRoot(boolean show)
OptionListDesignModel
showRoot
in interface OptionListDesignModel
show
- true
if the root element should be displayedOptionListDesignModel.showRoot(boolean)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |