|
|||||||||||
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.ControlDesignModelImp com.cc.framework.ui.model.imp.ListDesignModelImp com.cc.framework.ui.model.imp.TreelistDesignModelImp
Designmodel for the TreeListControl
Field Summary | |
private java.lang.String |
enableProperty
Field enableProperty |
private ExpansionMode |
expansion
Field expansion |
private boolean |
groupSelect
Field groupSelect |
private boolean |
labelWrap
Controls how labels are wrapped when displayed |
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 |
Fields inherited from class com.cc.framework.ui.model.imp.ListDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
TreelistDesignModelImp()
Constructor for TreelistDesignModelImp |
Method Summary | |
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. |
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. |
private ColumnTreeDesignModel |
getTreeColumn()
Returns the ColumnTreeDesignModel |
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 |
setGroupSelect(boolean select)
Defines if the group nodes should be selectabel. |
void |
setLabelWrap(boolean wrap)
Sets the label wrapping behavior |
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.ListDesignModel |
getCellPadding, getCellSpacing, getEmptyText, getHeaderHeight, getMinRowCount, getPageButtons, getRowCount, getRowHeight, getSelectMode, getTabOrientation, getTitle, setCellPadding, setCellSpacing, setEmptyText, setMinRowCount, setPageButtons, setRowCount, setSelectMode, setShowFrame, setShowHeader, setTabOrientation, setTitle, showFrame, showHeader |
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.ScrollSupport |
getScrollHeight, setScrollHeight |
Methods inherited from interface com.cc.framework.ui.model.ColumnContainer |
addColumn, getColumn, getColumns, removeColumn, size |
Methods inherited from interface com.cc.framework.ui.model.FrameContainer |
addInnerFrame, getImage, getInnerFrames, setImage |
Methods inherited from interface com.cc.framework.ui.model.ButtonContainer |
getButtonPermission, setButtonPermission, showButton |
Methods inherited from interface com.cc.framework.ui.model.TreeStyle |
getSelectMode, getStyle, getStyleClass, getStyleId, isDisabled, setDisabled, setSelectMode, setStyle, setStyleClass, setStyleId |
Field Detail |
private static final long serialVersionUID
private ExpansionMode expansion
private boolean showButtons
private boolean labelWrap
private boolean showLines
private boolean showLinesAtRoot
private boolean showCheckBoxes
private boolean showRoot
private boolean groupSelect
private java.lang.String enableProperty
Constructor Detail |
public TreelistDesignModelImp()
Method Detail |
private ColumnTreeDesignModel getTreeColumn()
public ExpansionMode getExpansionMode()
TreeStyle
getExpansionMode
in interface TreeStyle
TreeStyle.getExpansionMode()
public void setExpansionMode(ExpansionMode mode)
TreeStyle
setExpansionMode
in interface TreeStyle
mode
- The expansion modeTreeStyle.setExpansionMode(ExpansionMode)
public boolean showButtons()
TreeStyle
showButtons
in interface TreeStyle
TreeStyle.showButtons()
public void showButtons(boolean show)
TreeStyle
showButtons
in interface TreeStyle
show
- true
if the icons should be displayed;false
otherwise.TreeStyle.showButtons(boolean)
public boolean showLines()
TreeStyle
showLines
in interface TreeStyle
true
if a line between the nodes is displayed;false
otherwise.TreeStyle.showLines()
public void showLines(boolean show)
TreeStyle
showLines
in interface TreeStyle
show
- true
if a line between the nodes should be
displayed;false
otherwise.TreeStyle.showLines(boolean)
public boolean showLinesAtRoot()
TreeStyle
showLinesAtRoot
in interface TreeStyle
TreeStyle.showLinesAtRoot()
public void showLinesAtRoot(boolean show)
TreeStyle
showLinesAtRoot
in interface TreeStyle
show
- true
if the line should be visible on the
uppermost level; false
otherwiseTreeStyle.showLinesAtRoot(boolean)
public boolean showRoot()
TreeStyle
showRoot
in interface TreeStyle
true
if the root element should be
displayed; false
otherwiseTreeStyle.showRoot()
public void showRoot(boolean show)
TreeStyle
showRoot
in interface TreeStyle
show
- true
if the root element should be displayedTreeStyle.showRoot(boolean)
public boolean showCheckBoxes()
TreeStyle
showCheckBoxes
in interface TreeStyle
true
if a checkbox is displayed;false
otherwiseTreeStyle.showCheckBoxes()
public void showCheckBoxes(boolean show)
TreeStyle
Checkable
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 TreeStyle
show
- true
if checkbox should be displayed;false
otherwiseTreeStyle.showCheckBoxes(boolean show)
public void setGroupSelect(boolean select)
TreeStyle
setGroupSelect
in interface TreeStyle
select
- true
if the group nodes should be selectabel;false
otherwiseTreeStyle.setGroupSelect(boolean)
public boolean getGroupSelect()
TreeStyle
getGroupSelect
in interface TreeStyle
true
if the group nodes are selectabel;false
otherwiseTreeStyle.getGroupSelect()
public void setTarget(java.lang.String target)
TreeStyle
setTarget
in interface TreeStyle
target
- The target attributeTreeStyle.setTarget(java.lang.String)
public java.lang.String getTarget()
TreeStyle
getTarget
in interface TreeStyle
TreeStyle.getTarget()
public void setTargetProperty(java.lang.String targetProperty)
TreeStyle
setTargetProperty
in interface TreeStyle
targetProperty
- The name of the property to useTreeStyle.setTargetProperty(java.lang.String)
public java.lang.String getTargetProperty()
TreeStyle
getTargetProperty
in interface TreeStyle
TreeStyle.getTargetProperty()
public java.lang.String getTooltipProperty()
TreeStyle
getTooltipProperty
in interface TreeStyle
TreeStyle.getTooltipProperty()
public void setTooltipProperty(java.lang.String tooltipProperty)
TreeStyle
setTooltipProperty
in interface TreeStyle
tooltipProperty
- The target attributeTreeStyle.setTooltipProperty(java.lang.String)
public java.lang.String getEnableProperty()
TreeStyle
getEnableProperty
in interface TreeStyle
TreeStyle.getEnableProperty()
public void setEnableProperty(java.lang.String property)
TreeStyle
setEnableProperty
in interface TreeStyle
property
- Der Name der EigenschaftTreeStyle.setEnableProperty(java.lang.String)
public void setLabelWrap(boolean wrap)
TreeStyle
setLabelWrap
in interface TreeStyle
wrap
- true
to wrap labelsTreeStyle.setLabelWrap(boolean)
public boolean wrapLabels()
wrapLabels
in interface TreeStyle
true
when the tree should wrap labelsTreeStyle.wrapLabels()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |