|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the visual properties for a column of a list
Method Summary | |
void |
addDesignRule(DesignRule rule)
Adds a new design rule to the column |
boolean |
allowAjaxRendering()
This method decides whether this column instance has enough information to be rendered as part of an AJAX response. |
boolean |
filter()
Returns if the filter is activated (default=true). |
AlignmentType |
getAlignment()
Returns the alignment for the column |
java.lang.String |
getAnchor()
Returns the anchor that will be appended to all Hyperlinks for this column. |
java.lang.String |
getAnchorProperty()
Returns the anchor property for the column. |
Converter |
getConverter()
Returns the the Converter that should be used to convert Java Objects into their localized String representation. |
DesignRule[] |
getDesignRules()
Returns the design rules for this column |
java.lang.String |
getDisableProperty()
Retrieves the property which should be used to disable the column |
java.lang.String |
getEditableProperty()
Retrieves the property which should be used to make the column editable or not |
java.lang.String |
getEnableProperty()
Liefert den Namen der Eigenschaft, welche die Spaltendaten ermittelt, zurück |
DeferredEnvironment |
getEnvironment()
Retrieves the EL Environment to evaluate EL Expressions in the context of the current row bean |
ColumnHeaderDesignModel |
getHeader()
Returns the columns header design model |
ImageMap |
getImageMap()
Returns the ImageMap |
java.lang.String |
getImageProperty()
Returns the Property which should be used to identify an Image in an ImageMap |
JoinMode |
getJoinMode()
Returns true when the column should be joined with the
previous column. |
java.lang.String |
getLinkName()
The anchor name to be defined within this page, so that you can reference it with intra-page hyperlinks. |
java.lang.String |
getLinkNameProperty()
Returns the anchor name property for the column. |
int |
getMaxLength()
Returns the maximal number of input characters which can be inserted into the text field. |
java.lang.String |
getProperty()
Returns the name of the property which holds the data for the column |
RunAt |
getRunAt()
Returns if the Control works with or without server round trips. |
java.lang.String |
getStyle()
Returns the CSS styles for this column. |
java.lang.String |
getStyleClass()
Returns the CSS Stylesheet class |
java.lang.String |
getStyleId()
Returns the Identifier assigned to this column. |
java.lang.String |
getTarget()
Returns where the document referenced will appear. |
java.lang.String |
getTargetProperty()
Returns the target property for the column. |
java.lang.String |
getTitle()
Returns the title of the column |
java.lang.String |
getTooltip()
Returns the static tooltip text |
java.lang.String |
getTooltipProperty()
Returns the property used to access the tooltip. |
boolean |
getTransaction()
Checks if the framework should include a transaction token (if any) in all generated hyperlinks for this column. |
java.lang.String |
getType()
Returns the row bean type |
java.lang.String |
getWidth()
Returns the width of the control |
boolean |
isDisabled()
Returns the disabled state of the column |
boolean |
isEditable()
Returns the edit state of the column |
boolean |
isSortable()
Returns true if the column can be sorted. |
void |
setAlignment(AlignmentType alignment)
Sets the alignment for the column |
void |
setAlignment(java.lang.String alignment)
Sets the alignment for the column |
void |
setAnchor(java.lang.String anchor)
Sets the anchor that should be appended to all Hyperlinks for this column. |
void |
setAnchorProperty(java.lang.String anchorProperty)
Sets the name of the property where the value for the anchor attribute can be found in the data model. |
void |
setConverter(Converter converter)
Sets the Converter that should be used to convert Java Objects into their localized String representation. |
void |
setDisabled(boolean disabled)
Sets the disabled state of the column |
void |
setDisabled(java.lang.String disabled)
Sets the disabled state of the column |
void |
setDisableProperty(java.lang.String property)
Sets the property which should be used to disable the column |
void |
setEditable(boolean editable)
Sets the edit state of the column |
void |
setEditable(java.lang.String editable)
Sets the edit state of the column |
void |
setEditableProperty(java.lang.String property)
Sets the property which should be used to make the column editable or not |
void |
setEnableProperty(java.lang.String property)
Setzt den Namen der Eigenschaft mit deren Hilfe der Spaltenwert bestimmt werden kann. |
void |
setEnvironment(DeferredEnvironment env)
Sets the EL Environment to evaluate EL Expressions in the context of the current row bean. |
void |
setFilter(boolean filter)
Activates the HTML encoding (filter). |
void |
setFilter(java.lang.String filter)
Activates the HTML encoding (filter). |
void |
setHeader(ColumnHeaderDesignModel header)
Sets the columns header design model |
void |
setImageMap(ImageMap map)
Assigns an ImageMap to the Column |
void |
setImageProperty(java.lang.String property)
Sets the Property which should be used to identify an Image in an ImageMap |
void |
setJoinMode(JoinMode joinmode)
Set to true if the column should be joined with the
previous column. |
void |
setJoinMode(java.lang.String joinmode)
Set to true if the column should be joined with the
previous column. |
void |
setLinkName(java.lang.String linkName)
Sets the anchor name to be defined within this page, so that you can reference it with intra-page hyperlinks. |
void |
setLinkNameProperty(java.lang.String linkNameProperty)
Sets the name of the property where the value for the anchor name attribute can be found in the data model. |
void |
setMaxLength(int max)
Sets the maximal number of input characters which can be inserted into the text field. |
void |
setMaxLength(java.lang.String max)
Sets the maximal number of input characters which can be inserted into the text field. |
void |
setPermission(Permission permission)
Sets a list with permissions needed to access this object. |
void |
setPermission(java.lang.String permission)
Sets a list with permissions needed to access this object. |
void |
setProperty(java.lang.String property)
Sets the name of the property which holds the data for the column |
void |
setRunAt(RunAt location)
Defines if the Control works with or without server round trips. |
void |
setSortable(boolean sortable)
Set to true if the column should be sortable. |
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 |
setStyleId(java.lang.String id)
Identifier to be assigned to this column. |
void |
setTarget(java.lang.String target)
Sets the target where the document referenced will appear. |
void |
setTargetProperty(java.lang.String targetProperty)
Sets the name of the property where the value for the target attribute can be found in the data model. |
void |
setTitle(java.lang.String title)
Sets the title of the column |
void |
setTooltip(java.lang.String tooltip)
Sets the static tooltip text. |
void |
setTooltipProperty(java.lang.String tooltipProperty)
Sets the property which should be used to read the text for a tooltip. |
void |
setTransaction(boolean transaction)
Directs the framework to include a transaction token (if any) in all generated hyperlinks for this column. |
void |
setType(java.lang.String type)
Sets the type of the row bean |
void |
setWidth(int width)
Sets the width of the column |
void |
setWidth(java.lang.String width)
Sets the width of the column |
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 |
Method Detail |
public void setEnvironment(DeferredEnvironment env)
null
after the last getter has been called.
try { col.setEnvironment(env); String width = col.getWidth(); String height = col.getHeight(); // call other members } catch (Exception e) { // handle exception } finally { col.setEnvironment(null); }
env
- Environmentpublic DeferredEnvironment getEnvironment()
null
public void setRunAt(RunAt location)
location
- RunAtpublic RunAt getRunAt()
public java.lang.String getType()
public void setType(java.lang.String type)
type
- The type of the row beanpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- The title of the columnpublic ColumnHeaderDesignModel getHeader()
public void setHeader(ColumnHeaderDesignModel header)
header
- Design modelpublic java.lang.String getWidth()
public void setWidth(int width)
width
- The width of the controlpublic void setWidth(java.lang.String width)
width
- The width of the controlpublic int getMaxLength()
public void setMaxLength(int max)
max
- Maximum number of input characters to acceptpublic void setMaxLength(java.lang.String max)
max
- Maximum number of input characters to acceptpublic java.lang.String getProperty()
public void setProperty(java.lang.String property)
property
- The name of the property.public java.lang.String getEnableProperty()
public void setEnableProperty(java.lang.String property)
property
- Der Name der Eigenschaftpublic java.lang.String getImageProperty()
public void setImageProperty(java.lang.String property)
property
- Propertypublic void setImageMap(ImageMap map)
map
- ImageMappublic ImageMap getImageMap()
public AlignmentType getAlignment()
public void setAlignment(AlignmentType alignment)
alignment
- The alignmentpublic void setAlignment(java.lang.String alignment)
alignment
- The alignmentpublic boolean isSortable()
true
if the column is sortable, false
otherwise.public void setSortable(boolean sortable)
true
if the column should be sortable.
sortable
- true
if the column should be sortable.public void setStyleId(java.lang.String id)
id
- The identifier to be assigned to this column.public java.lang.String getStyleId()
public void setStyleClass(java.lang.String styleClass)
styleClass
- The CSS Stylesheet classpublic java.lang.String getStyleClass()
public void setStyle(java.lang.String style)
style
- The CSS styles for this column.public java.lang.String getStyle()
public boolean filter()
true
if string will be HTML encoded;
false
otherwisepublic void setFilter(boolean filter)
filter
- true
if strings should be HTML encoded; false
otherwisepublic void setFilter(java.lang.String filter)
filter
- true
if strings should be HTML encoded; false
otherwisepublic void setTarget(java.lang.String target)
target
- The target where the document referenced will appearpublic java.lang.String getTarget()
public void setTargetProperty(java.lang.String targetProperty)
targetProperty
- The target attribute to setpublic java.lang.String getTargetProperty()
public void setTooltip(java.lang.String tooltip)
tooltip
- Tooltip textpublic java.lang.String getTooltip()
public void setTooltipProperty(java.lang.String tooltipProperty)
tooltipProperty
- The Target Attributepublic java.lang.String getTooltipProperty()
public void setPermission(Permission permission)
permission
- Permissionpublic void setPermission(java.lang.String permission)
permission
- Permissionpublic boolean isEditable()
true
if this column is editablepublic java.lang.String getEditableProperty()
null
public void setEditable(boolean editable)
editable
- true
to set the column editablepublic void setEditable(java.lang.String editable)
editable
- true
to set the column editablepublic void setEditableProperty(java.lang.String property)
property
- the property namepublic boolean isDisabled()
true
if this column is disabledpublic java.lang.String getDisableProperty()
null
public void setDisabled(boolean disabled)
disabled
- true
to set the column disabledpublic void setDisabled(java.lang.String disabled)
disabled
- true
to set the column disabledpublic void setDisableProperty(java.lang.String property)
property
- the property namepublic void addDesignRule(DesignRule rule)
rule
- Design rulepublic DesignRule[] getDesignRules()
public void setTransaction(boolean transaction)
transaction
- include transaction tokenpublic boolean getTransaction()
getTransaction
in interface ActionBehavior
true
if the transaction token should be generatedpublic Converter getConverter()
The Converter is set for all rows of the columns. It is not possible to set individual converters for each row in a column!
null
public void setConverter(Converter converter)
The Converter is set for all rows of the columns. It is not possible to set individual converters for each row in a column!
converter
- Converters instancepublic void setAnchor(java.lang.String anchor)
anchor
- The anchorpublic java.lang.String getAnchor()
public void setAnchorProperty(java.lang.String anchorProperty)
anchorProperty
- The anchor attribute to setpublic java.lang.String getAnchorProperty()
public void setLinkName(java.lang.String linkName)
linkName
- The link namepublic java.lang.String getLinkName()
public void setLinkNameProperty(java.lang.String linkNameProperty)
linkNameProperty
- The anchor name attribute to setpublic java.lang.String getLinkNameProperty()
public JoinMode getJoinMode()
true
when the column should be joined with the
previous column.
public void setJoinMode(JoinMode joinmode)
true
if the column should be joined with the
previous column.
joinmode
- true
if the column should be joined.public void setJoinMode(java.lang.String joinmode)
true
if the column should be joined with the
previous column.
joinmode
- true
if the column should be joined.public boolean allowAjaxRendering()
true
when the column can be rendered in an
AJAX response
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |