|
|||||||||||
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.OptionListDesignModelImp
Designmodel for Optionslists
Field Summary | |
private java.lang.String |
empty
An optional text to prompt the user for selecting an option of the list. |
private boolean |
filter
Specifies if all String should be converted into there HTML representation |
private ImageMap |
imageMap
The Image Map |
private java.lang.String |
keyProperty
The property for the key |
private java.lang.String |
labelProperty
The property for the label |
private boolean |
localize
Specifies if all String should be treated as Resource Identifiers and must be localized |
private int |
maxLength
The maximum number of characters that are displayed for each option element. |
private java.lang.String |
property
Name of the property for the options list |
private static long |
serialVersionUID
Serial Version UID |
private boolean |
showRoot
Shows or hides the root of a TreeNodeDatamodel option list |
private java.lang.String |
style
CSS styles to be applied to this HTML element |
private java.lang.String |
styleClass
CSS stylesheet class to be applied to this HTML element |
private java.lang.String |
tooltipProperty
The property for the tooltip |
Constructor Summary | |
OptionListDesignModelImp()
Constructor for OptionListDesignModelImp |
Method Summary | |
boolean |
filter()
Returns if the filter is activated (default=true). |
java.lang.String |
getEmpty()
Returns the label of an additional empty-entry |
ImageMap |
getImageMap()
Returns the associated ImageMap |
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. |
int |
getMaxLength()
Returns the maximum number of characters that are displayed for each option element. |
java.lang.String |
getProperty()
Returns the name of the property using which the Java-Bean is to be accessed. |
java.lang.String |
getStyle()
Returns the HTML-style that can be directly specified with this attribute. |
java.lang.String |
getStyleClass()
Returns the HTML-class attribute that can be specified with this attribute |
java.lang.String |
getTooltipProperty()
Returns the name of the property which supplies the tooltip text of the option. |
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 |
setFilter(boolean filter)
Activates the HTML encoding (filter). |
void |
setImageMap(ImageMap map)
Specifies the image map. |
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 |
setMaxLength(int max)
Sets the maximum number of characters that are displayed for each option element. |
void |
setProperty(java.lang.String property)
Sets the name of the property which holds the data for the column |
void |
setStyle(java.lang.String style)
Sets the CSS styles to be applied to this column. |
void |
setStyleClass(java.lang.String styleClass)
Sets the CSS stylesheet class |
void |
setTooltipProperty(java.lang.String tooltipProperty)
Sets the name of the property which supplies the tooltip text of the option. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private java.lang.String property
private java.lang.String keyProperty
private java.lang.String labelProperty
private java.lang.String tooltipProperty
private int maxLength
private java.lang.String empty
private java.lang.String style
private java.lang.String styleClass
private boolean showRoot
private boolean filter
private boolean localize
private ImageMap imageMap
Constructor Detail |
public OptionListDesignModelImp()
Method Detail |
public java.lang.String getEmpty()
OptionListDesignModel
getEmpty
in interface OptionListDesignModel
OptionListDesignModel.getEmpty()
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 java.lang.String getTooltipProperty()
OptionListDesignModel
getTooltipProperty
in interface OptionListDesignModel
OptionListDesignModel.getTooltipProperty()
public java.lang.String getProperty()
OptionListDesignModel
getProperty
in interface OptionListDesignModel
OptionListDesignModel.getProperty()
public java.lang.String getStyle()
OptionListDesignModel
getStyle
in interface OptionListDesignModel
OptionListDesignModel.getStyle()
public java.lang.String getStyleClass()
OptionListDesignModel
getStyleClass
in interface OptionListDesignModel
OptionListDesignModel.getStyleClass()
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 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 void setTooltipProperty(java.lang.String tooltipProperty)
OptionListDesignModel
setTooltipProperty
in interface OptionListDesignModel
tooltipProperty
- Name of the propertyOptionListDesignModel.setTooltipProperty(java.lang.String)
public void setProperty(java.lang.String property)
OptionListDesignModel
setProperty
in interface OptionListDesignModel
property
- The name of the property.OptionListDesignModel.setProperty(java.lang.String)
public void setStyle(java.lang.String style)
OptionListDesignModel
setStyle
in interface OptionListDesignModel
style
- The CSS styles for this column.OptionListDesignModel.setStyle(java.lang.String)
public void setStyleClass(java.lang.String styleClass)
OptionListDesignModel
setStyleClass
in interface OptionListDesignModel
styleClass
- The CSS stylesheet classOptionListDesignModel.setStyleClass(java.lang.String)
public int getMaxLength()
OptionListDesignModel
getMaxLength
in interface OptionListDesignModel
OptionListDesignModel.getMaxLength()
public void setMaxLength(int max)
OptionListDesignModel
setMaxLength
in interface OptionListDesignModel
max
- Maximum number of characters to displayOptionListDesignModel.setMaxLength(int)
public boolean filter()
OptionListDesignModel
filter
in interface OptionListDesignModel
true
if string will be HTML encoded;
false
otherwiseOptionListDesignModel.filter()
public void setFilter(boolean filter)
OptionListDesignModel
setFilter
in interface OptionListDesignModel
filter
- true
if strings should be HTML encoded; false
otherwiseOptionListDesignModel.setFilter(boolean)
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 void setImageMap(ImageMap map)
OptionListDesignModel
setImageMap
in interface OptionListDesignModel
map
- ImageMapOptionListDesignModel.setImageMap(com.cc.framework.ui.ImageMap)
public ImageMap getImageMap()
OptionListDesignModel
getImageMap
in interface OptionListDesignModel
OptionListDesignModel.getImageMap()
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 |