|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.ui.model.imp.ClientHandlerImp
com.cc.framework.ui.model.imp.ControlDesignModelImp
com.cc.framework.ui.model.imp.TreeDesignModelImp
Designmodel for the TreeControl
| Field Summary | |
private java.lang.String |
enableProperty
Field enableProperty |
private ExpansionMode |
expansion
Field expansion |
private boolean |
filter
Specifies if all String should be converted into there HTML representation |
private boolean |
groupSelect
Field groupSelect |
private ImageMap |
imageMap
Field imageMap |
private java.lang.String |
imageProperty
Field imageProperty |
private java.lang.String |
labelProperty
Field labelProperty |
private boolean |
labelWrap
Controls how labels are wrapped when displayed |
private int |
maxLength
Maximum number of visible characters |
private int |
rowCount
Number of visible rows |
private java.lang.String |
scrollHeight
The height of the scroll container |
private SelectMode |
selectMode
Selection mode |
private static long |
serialVersionUID
Serial Version UID |
private boolean |
showButtons
Tells the control to show or hide the buttons for expanding and collapsing the tree nodes |
private boolean |
showCheckBoxes
Field showCheckBoxes |
private boolean |
showLines
Field showLines |
private boolean |
showLinesAtRoot
Field showLinesAtRoot |
private boolean |
showRoot
Field showRoot |
private java.lang.String |
target
The HTML target attribute |
private java.lang.String |
targetProperty
The property to retrieve the HTML target attribute |
private java.lang.String |
tooltipProperty
Field tooltipProperty |
| Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
|
| Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
| Constructor Summary | |
TreeDesignModelImp()
Constructor |
|
| Method Summary | |
boolean |
filter()
Returns if the filter is activated (default=true). |
java.lang.String |
getEnableProperty()
Liefert den Namen der Eigenschaft, welche die Spaltendaten ermittelt, zurück |
ExpansionMode |
getExpansionMode()
Returns the expansion state. |
boolean |
getGroupSelect()
Returns if the group nodes are selectabel. |
ImageMap |
getImageMap()
Returns the associated ImageMap |
java.lang.String |
getImageProperty()
Returns the image property |
java.lang.String |
getLabelProperty()
Returns the Property which should be used to get the labels for the Nodes |
int |
getMaxLength()
Returns the maximal number of input characters which can be inserted into the text field. |
int |
getRowCount()
Returns the maximum number of lines that are depicted simultaneously. |
java.lang.String |
getScrollHeight()
Returns the height of the scroll container |
SelectMode |
getSelectMode()
Returns the the selection mode of the list. |
java.lang.String |
getTarget()
Returns the target attribute. |
java.lang.String |
getTargetProperty()
Returns the name of the property. |
java.lang.String |
getTooltipProperty()
Returns the name of the property. |
void |
setEnableProperty(java.lang.String property)
Setzt den Namen der Eigenschaft mit deren Hilfe der Spaltenwert bestimmt werden kann. |
void |
setExpansionMode(ExpansionMode mode)
Sets the expansion state |
void |
setFilter(boolean filter)
Activates the HTML encoding (filter). |
void |
setGroupSelect(boolean select)
Defines if the group nodes should be selectabel. |
void |
setImageMap(ImageMap map)
Specifies the name of an image map. |
void |
setImageProperty(java.lang.String property)
Specifies the property using which an image can be assigned to every Row-Bean |
void |
setLabelProperty(java.lang.String property)
Specifies the property using which a label can be assigned to every Row-Bean. |
void |
setLabelWrap(boolean wrap)
Sets the label wrapping behavior |
void |
setMaxLength(int maxLength)
Sets the maximal number of input characters which can be inserted into the text field. |
void |
setRowCount(int rows)
This attribute is used to specify the maximum number of lines that are depicted simultaneously. |
void |
setScrollHeight(java.lang.String height)
Sets the height of the scroll container |
void |
setSelectMode(SelectMode mode)
Specifies the selection mode of the list. |
void |
setTarget(java.lang.String target)
Defines a target attribute which should be inserted in all generated hyperlinks of the columns. |
void |
setTargetProperty(java.lang.String targetProperty)
Specifies the name of a property with the help of which the relevant line can generate an HTML-target attribute. |
void |
setTooltipProperty(java.lang.String tooltipProperty)
Specifies the name of a property with the help of which the relevant line can generate an HTML-text attribute. |
boolean |
showButtons()
Returns if the icons for expanding a node are displayed. |
void |
showButtons(boolean show)
Defines if the icons for expanding a node should be displayed. |
boolean |
showCheckBoxes()
Returns if a checkbox is displayed before the tree entries. |
void |
showCheckBoxes(boolean show)
Indicates whether a checkbox should be displayed before the tree entries The tree entries must implement the Checkable Interface,
so that the control element can draw the checkboxes. |
boolean |
showLines()
Returns if a line between the nodes is displayed. |
void |
showLines(boolean show)
Defines if a line between the nodes should be displayed. |
boolean |
showLinesAtRoot()
Returns whether lines should be drawn to the construction elements of the uppermost (displayed) level. |
void |
showLinesAtRoot(boolean show)
Specifies whether lines should be drawn to the construction elements of the uppermost (displayed) level. |
boolean |
showRoot()
Returns if the root element should be displayed |
void |
showRoot(boolean show)
Specifies whether the root of the tree element should be displayed. |
boolean |
wrapLabels()
|
| Methods inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
addDesignRule, enableAjax, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isAjaxEnabled, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth, show |
| Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
evaluate, getHandler, 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.ControlDesignModel |
addDesignRule, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth |
| 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.TreeStyle |
getStyle, getStyleClass, getStyleId, isDisabled, setDisabled, setStyle, setStyleClass, setStyleId |
| Field Detail |
private static final long serialVersionUID
private ExpansionMode expansion
private int rowCount
private boolean showButtons
private boolean showLines
private boolean showLinesAtRoot
private boolean showCheckBoxes
private boolean showRoot
private boolean groupSelect
private java.lang.String imageProperty
private java.lang.String labelProperty
private boolean labelWrap
private java.lang.String tooltipProperty
private java.lang.String target
private java.lang.String targetProperty
private java.lang.String enableProperty
private ImageMap imageMap
private SelectMode selectMode
private boolean filter
private int maxLength
private java.lang.String scrollHeight
| Constructor Detail |
public TreeDesignModelImp()
| Method Detail |
public int getRowCount()
TreeDesignModel
getRowCount in interface TreeDesignModelTreeDesignModel.getRowCount()public void setRowCount(int rows)
TreeDesignModel
setRowCount in interface TreeDesignModelrows - The number of rows to showTreeDesignModel.setRowCount(int)public ExpansionMode getExpansionMode()
TreeStyle
getExpansionMode in interface TreeStyleTreeStyle.getExpansionMode()public void setExpansionMode(ExpansionMode mode)
TreeStyle
setExpansionMode in interface TreeStylemode - The expansion modeTreeStyle.setExpansionMode(ExpansionMode)public boolean showButtons()
TreeStyle
showButtons in interface TreeStyleTreeStyle.showButtons()public void showButtons(boolean show)
TreeStyle
showButtons in interface TreeStyleshow - true if the icons should be displayed;false otherwise.TreeStyle.showButtons(boolean)public boolean showLines()
TreeStyle
showLines in interface TreeStyletrue if a line between the nodes is displayed;false otherwise.TreeStyle.showLines()public void showLines(boolean show)
TreeStyle
showLines in interface TreeStyleshow - true if a line between the nodes should be
displayed;false otherwise.TreeStyle.showLines(boolean)public boolean showLinesAtRoot()
TreeStyle
showLinesAtRoot in interface TreeStyleTreeStyle.showLinesAtRoot()public void showLinesAtRoot(boolean show)
TreeStyle
showLinesAtRoot in interface TreeStyleshow - true if the line should be visible on the
uppermost level; false otherwiseTreeStyle.showLinesAtRoot(boolean)public boolean showRoot()
TreeStyle
showRoot in interface TreeStyletrue if the root element should be
displayed; false otherwiseTreeStyle.showRoot()public void showRoot(boolean show)
TreeStyle
showRoot in interface TreeStyleshow - true if the root element should be displayedTreeStyle.showRoot(boolean)public boolean showCheckBoxes()
TreeStyle
showCheckBoxes in interface TreeStyletrue if a checkbox is displayed;false otherwiseTreeStyle.showCheckBoxes()public void showCheckBoxes(boolean show)
TreeStyleCheckable Interface,
so that the control element can draw the checkboxes. Group nodes must not
implement this interface, since the Check-State of groups can be
automatically calculated with the help of the state of the pages.
showCheckBoxes in interface TreeStyleshow - true if checkbox should be displayed;false otherwiseTreeStyle.showCheckBoxes(boolean)public void setImageProperty(java.lang.String property)
TreeDesignModel
setImageProperty in interface TreeDesignModelproperty - Name of the propertyTreeDesignModel.setImageProperty(String)public java.lang.String getImageProperty()
TreeDesignModel
getImageProperty in interface TreeDesignModelTreeDesignModel.getImageProperty()public void setLabelProperty(java.lang.String property)
TreeDesignModel
setLabelProperty in interface TreeDesignModelproperty - Name of the propertyTreeDesignModel.setLabelProperty(String)public java.lang.String getLabelProperty()
TreeDesignModel
getLabelProperty in interface TreeDesignModelTreeDesignModel.getLabelProperty()public void setImageMap(ImageMap map)
TreeDesignModel
setImageMap in interface TreeDesignModelmap - ImageMapTreeDesignModel.setImageMap(ImageMap)public ImageMap getImageMap()
TreeDesignModel
getImageMap in interface TreeDesignModelTreeDesignModel.getImageMap()public void setGroupSelect(boolean select)
TreeStyle
setGroupSelect in interface TreeStyleselect - true if the group nodes should be selectabel;false otherwiseTreeStyle.setGroupSelect(boolean)public boolean getGroupSelect()
TreeStyle
getGroupSelect in interface TreeStyletrue if the group nodes are selectabel;false otherwiseTreeStyle.getGroupSelect()public void setTarget(java.lang.String target)
TreeStyle
setTarget in interface TreeStyletarget - The target attributeTreeStyle.setTarget(java.lang.String)public java.lang.String getTarget()
TreeStyle
getTarget in interface TreeStyleTreeStyle.getTarget()public void setTargetProperty(java.lang.String targetProperty)
TreeStyle
setTargetProperty in interface TreeStyletargetProperty - The name of the property to useTreeStyle.setTargetProperty(java.lang.String)public java.lang.String getTargetProperty()
TreeStyle
getTargetProperty in interface TreeStyleTreeStyle.getTargetProperty()public SelectMode getSelectMode()
TreeStyle
getSelectMode in interface TreeStyleTreeStyle.getSelectMode()public void setSelectMode(SelectMode mode)
TreeStyle
setSelectMode in interface TreeStylemode - The select modeTreeStyle.setSelectMode(SelectMode)public java.lang.String getTooltipProperty()
TreeStyle
getTooltipProperty in interface TreeStyleTreeStyle.getTooltipProperty()public void setTooltipProperty(java.lang.String tooltipProperty)
TreeStyle
setTooltipProperty in interface TreeStyletooltipProperty - The target attributeTreeStyle.setTooltipProperty(java.lang.String)public java.lang.String getEnableProperty()
TreeStyle
getEnableProperty in interface TreeStyleTreeStyle.getEnableProperty()public void setEnableProperty(java.lang.String property)
TreeStyle
setEnableProperty in interface TreeStyleproperty - Der Name der EigenschaftTreeStyle.setEnableProperty(java.lang.String)public int getMaxLength()
TreeDesignModel
getMaxLength in interface TreeDesignModelTreeDesignModel.getMaxLength()public void setMaxLength(int maxLength)
TreeDesignModel
setMaxLength in interface TreeDesignModelmaxLength - Maximum number of input characters to acceptTreeDesignModel.setMaxLength(int)public boolean filter()
TreeDesignModel
filter in interface TreeDesignModeltrue if string will be HTML encoded;
false otherwiseTreeDesignModel.filter()public void setFilter(boolean filter)
TreeDesignModel
setFilter in interface TreeDesignModelfilter - true if strings should be HTML encoded; false
otherwiseTreeDesignModel.setFilter(boolean)public java.lang.String getScrollHeight()
ScrollSupport
getScrollHeight in interface ScrollSupportScrollSupport.getScrollHeight()public void setScrollHeight(java.lang.String height)
ScrollSupport
setScrollHeight in interface ScrollSupportheight - heightScrollSupport.setScrollHeight(java.lang.String)public void setLabelWrap(boolean wrap)
TreeStyle
setLabelWrap in interface TreeStylewrap - true to wrap labelsTreeStyle.setLabelWrap(boolean)public boolean wrapLabels()
wrapLabels in interface TreeStyletrue when the tree should wrap labelsTreeStyle.wrapLabels()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||