|
|||||||||||
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.ColumnHeaderDesignModelImp
Implementation of a header design model
Field Summary | |
private boolean |
ajax
set to true to enable AJAX. |
private AlignmentType |
alignment
The alignment of the columnheader |
private boolean |
bodyInclude
Indicates whether the title is set within the body or as an attribute |
private boolean |
filter
Specifies if all String should be converted into there HTML representation |
private ImageMap |
imagemap
An ImageMap for label images |
private java.lang.String |
imageref
Image reference |
private boolean |
localize
Specifies if localization is enabled |
private int |
maxLength
Maximum number of visible characters |
private static long |
serialVersionUID
Serial Version UID |
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 |
styleId
Identifier to be assigned to this HTML element |
private java.lang.String |
title
The column title |
private java.lang.String |
tooltip
Static tooltip Attribut |
private boolean |
transaction
Directs the framework to include a transaction token (if any) in all generated hyperlinks for this column. |
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
ColumnHeaderDesignModelImp()
Construktor |
Method Summary | |
void |
enableAjax(boolean enable)
Enables or disables the AJAX behavior of the element |
boolean |
filter()
Returns if the filter is activated (default=true). |
AlignmentType |
getAlignment()
Returns the alignment for the column |
ImageMap |
getImageMap()
Returns the ImageMap |
java.lang.String |
getImageRef()
Returns the assignment Rule |
int |
getMaxLength()
Returns the maximal number of input characters which can be inserted into the text field. |
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 |
getTitle()
Returns the title of the column |
java.lang.String |
getTooltip()
Returns the static tooltip text |
boolean |
getTransaction()
Checks if the framework should include a transaction token (if any) in all generated hyperlinks for this action. |
boolean |
isAjaxEnabled()
This method checks if the element should send AJAX requests to the server |
boolean |
isBodyInclude()
Returns if the header text was set within the body (true) or as an attribute (false) |
boolean |
localize()
|
void |
setAlignment(AlignmentType alignment)
Sets the alignment for the column |
void |
setBodyInclude(boolean include)
Sets if the header text is set within the body (true) |
void |
setFilter(boolean filter)
Activates the HTML encoding (filter). |
void |
setImageMap(ImageMap map)
Assigns an ImageMap to the column header |
void |
setImageRef(java.lang.String ref)
Assigns an Image from an ImageMap |
void |
setLocalize(boolean localize)
|
void |
setMaxLength(int max)
Sets the maximal number of input characters which can be inserted into the text field. |
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 |
setTitle(java.lang.String title)
Sets the title of the column |
void |
setTooltip(java.lang.String tooltip)
Sets the static tooltip text. |
void |
setTransaction(boolean transaction)
Directs the framework to include a transaction token (if any) in all generated hyperlinks. |
boolean |
showHeader()
|
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.ClientHandler |
getHandler, getHandlers, setHandler |
Field Detail |
private static final long serialVersionUID
private java.lang.String title
private boolean bodyInclude
private AlignmentType alignment
private int maxLength
private java.lang.String styleId
private java.lang.String styleClass
private java.lang.String style
private boolean filter
private boolean localize
private java.lang.String tooltip
private java.lang.String imageref
private ImageMap imagemap
private boolean transaction
null
the namespace
will be searched for the Globals.TRANSACTION_KEY key
private boolean ajax
true
to enable AJAX.
Constructor Detail |
public ColumnHeaderDesignModelImp()
Method Detail |
public boolean showHeader()
showHeader
in interface ColumnHeaderDesignModel
true
if the column should show a column headerColumnHeaderDesignModel.showHeader()
public java.lang.String getTitle()
ColumnHeaderDesignModel
getTitle
in interface ColumnHeaderDesignModel
ColumnHeaderDesignModel.getTitle()
public void setTitle(java.lang.String title)
ColumnHeaderDesignModel
setTitle
in interface ColumnHeaderDesignModel
title
- The title of the columnColumnHeaderDesignModel.setTitle(java.lang.String)
public boolean localize()
public void setLocalize(boolean localize)
localize
- Enables or disables the localization
of the column headerpublic boolean filter()
ColumnHeaderDesignModel
filter
in interface ColumnHeaderDesignModel
true
if string will be HTML encoded;
false
otherwiseColumnHeaderDesignModel.filter()
public void setFilter(boolean filter)
ColumnHeaderDesignModel
setFilter
in interface ColumnHeaderDesignModel
filter
- true
if strings should be HTML encoded; false
otherwiseColumnHeaderDesignModel.setFilter(boolean)
public void setStyleClass(java.lang.String styleClass)
ColumnHeaderDesignModel
setStyleClass
in interface ColumnHeaderDesignModel
styleClass
- The CSS stylesheet classColumnHeaderDesignModel.setStyleClass(java.lang.String)
public java.lang.String getStyleClass()
ColumnHeaderDesignModel
getStyleClass
in interface ColumnHeaderDesignModel
ColumnHeaderDesignModel.getStyleClass()
public void setStyle(java.lang.String style)
ColumnHeaderDesignModel
setStyle
in interface ColumnHeaderDesignModel
style
- The CSS styles for this column.ColumnHeaderDesignModel.setStyle(String)
public java.lang.String getStyle()
ColumnHeaderDesignModel
getStyle
in interface ColumnHeaderDesignModel
ColumnHeaderDesignModel.getStyle()
public void setStyleId(java.lang.String id)
ColumnHeaderDesignModel
setStyleId
in interface ColumnHeaderDesignModel
id
- The identifier to be assigned to this column.ColumnHeaderDesignModel.setStyleId(String id)
public java.lang.String getStyleId()
ColumnHeaderDesignModel
getStyleId
in interface ColumnHeaderDesignModel
ColumnHeaderDesignModel.getStyleId()
public java.lang.String getTooltip()
ColumnHeaderDesignModel
getTooltip
in interface ColumnHeaderDesignModel
ColumnHeaderDesignModel.getTooltip()
public void setTooltip(java.lang.String tooltip)
ColumnHeaderDesignModel
setTooltip
in interface ColumnHeaderDesignModel
tooltip
- Tooltip textColumnHeaderDesignModel.setTooltip(java.lang.String)
public AlignmentType getAlignment()
ColumnHeaderDesignModel
getAlignment
in interface ColumnHeaderDesignModel
ColumnHeaderDesignModel.getAlignment()
public ImageMap getImageMap()
ColumnHeaderDesignModel
getImageMap
in interface ColumnHeaderDesignModel
ColumnHeaderDesignModel.getImageMap()
public java.lang.String getImageRef()
ColumnHeaderDesignModel
getImageRef
in interface ColumnHeaderDesignModel
ColumnHeaderDesignModel.getImageRef()
public int getMaxLength()
ColumnHeaderDesignModel
getMaxLength
in interface ColumnHeaderDesignModel
ColumnHeaderDesignModel.getMaxLength()
public void setAlignment(AlignmentType alignment)
ColumnHeaderDesignModel
setAlignment
in interface ColumnHeaderDesignModel
alignment
- The alignmentColumnHeaderDesignModel.setAlignment(com.cc.framework.ui.AlignmentType)
public void setImageMap(ImageMap map)
ColumnHeaderDesignModel
setImageMap
in interface ColumnHeaderDesignModel
map
- ImageMapColumnHeaderDesignModel.setImageMap(com.cc.framework.ui.ImageMap)
public void setImageRef(java.lang.String ref)
ColumnHeaderDesignModel
setImageRef
in interface ColumnHeaderDesignModel
ref
- Rule of the ImageMap to matchColumnHeaderDesignModel.setImageRef(java.lang.String)
public void setMaxLength(int max)
ColumnHeaderDesignModel
setMaxLength
in interface ColumnHeaderDesignModel
max
- Maximum number of input characters to acceptColumnHeaderDesignModel.setMaxLength(int)
public boolean isBodyInclude()
ColumnHeaderDesignModel
isBodyInclude
in interface ColumnHeaderDesignModel
ColumnHeaderDesignModel.isBodyInclude()
public void setBodyInclude(boolean include)
ColumnHeaderDesignModel
setBodyInclude
in interface ColumnHeaderDesignModel
include
- Flag which indicates if the body was set instead of the
attributeColumnHeaderDesignModel.setBodyInclude(boolean)
public boolean getTransaction()
ActionBehavior
getTransaction
in interface ActionBehavior
true
if the transaction token should be generatedActionBehavior.getTransaction()
public void setTransaction(boolean transaction)
ColumnHeaderDesignModel
setTransaction
in interface ColumnHeaderDesignModel
transaction
- include transaction tokenColumnHeaderDesignModel.setTransaction(boolean)
public boolean isAjaxEnabled()
ActionBehavior
isAjaxEnabled
in interface ActionBehavior
true
when the control should send AJAX
requests.ActionBehavior.isAjaxEnabled()
public void enableAjax(boolean enable)
AjaxSupport
enableAjax
in interface AjaxSupport
enable
- set to true
to enable AJAX.AjaxSupport.enableAjax(boolean)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |