|
|||||||||||
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.FormLabelDesignModelImp
Implementation of a header design model
Field Summary | |
private java.lang.String |
accessKey
The ACCESSKEY attribute can be used to specify a shortcut key for the <LABEL> (activated by pressing 'Alt' and the ACCESSKEY together). |
private AlignmentType |
alignment
The alignment of the label |
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 java.lang.String |
imageref
Image reference |
private java.lang.String |
localeName
Locale Setting |
private int |
maxLength
Maximum number of visible characters |
private java.lang.Boolean |
nowrap
No wrap |
private java.lang.String |
prefix
optional label prefix in plain HTML |
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 style sheet 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 |
suffix
optional label suffix in plain HTML |
private java.lang.String |
text
The label text |
private java.lang.String |
tooltip
Static tooltip attribute |
private java.lang.String |
width
The width of the label |
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
FormLabelDesignModelImp()
Constructor |
|
FormLabelDesignModelImp(java.lang.String text,
java.lang.String imageref)
Constructor |
Method Summary | |
boolean |
filter()
Returns if the filter is activated (default=true). |
java.lang.String |
getAccessKey()
The ACCESSKEY attribute can be used to specify a shortcut key for the <LABEL> (activated by pressing 'alt' and the ACCESSKEY together). |
AlignmentType |
getAlignment()
Returns the alignment for the label |
java.lang.String |
getImageRef()
Returns the assignment Rule |
java.lang.String |
getLocaleName()
Gets the Local Setting for this element |
int |
getMaxLength()
Returns the maximal number of input characters which can be inserted into the text field. |
java.lang.Boolean |
getNowrap()
Returns the value of the nowrap attribute. |
java.lang.String |
getPrefix()
Retrieves the optional label prefix in plain HTML |
java.lang.String |
getStyle()
Returns the CSS styles for this label. |
java.lang.String |
getStyleClass()
Returns the CSS stylesheet class |
java.lang.String |
getStyleId()
Returns the Identifier assigned to this label. |
java.lang.String |
getSuffix()
Retrieves the optional label suffix in plain HTML |
java.lang.String |
getText()
Returns the labels text |
java.lang.String |
getTooltip()
Returns the static tooltip text |
java.lang.String |
getWidth()
Returns the width of the label |
boolean |
isBodyInclude()
Returns if the header text was set within the body (true) or as an attribute (false) |
void |
setAccessKey(java.lang.String accessKey)
The ACCESSKEY attribute can be used to specify a shortcut key for the <LABEL> (activated by pressing 'alt' and the ACCESSKEY together). |
void |
setAlignment(AlignmentType alignment)
Sets the alignment for the label |
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 |
setImageRef(java.lang.String ref)
Assigns an Image from an ImageMap |
void |
setLocaleName(java.lang.String locale)
Sets the Locale configuration for this element |
void |
setMaxLength(int max)
Sets the maximal number of input characters which can be inserted into the text field. |
void |
setNowrap(java.lang.Boolean nowrap)
Sets the value of the nowrap attribute |
void |
setPrefix(java.lang.String prefix)
Specifies the label prefix in plain HTML |
void |
setStyle(java.lang.String style)
Sets the CSS styles to be applied to this label. |
void |
setStyleClass(java.lang.String styleClass)
Sets the CSS stylesheet class |
void |
setStyleId(java.lang.String id)
Identifier to be assigned to this label. |
void |
setSuffix(java.lang.String suffix)
Specifies the label suffix in plain HTML |
void |
setText(java.lang.String text)
Sets the labels text |
void |
setTooltip(java.lang.String tooltip)
Sets the static tooltip text. |
void |
setWidth(java.lang.String width)
Sets the width of the label |
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 text
private java.lang.String suffix
private java.lang.String prefix
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 java.lang.String localeName
private java.lang.String accessKey
private java.lang.String tooltip
private java.lang.String imageref
private java.lang.String width
private java.lang.Boolean nowrap
Constructor Detail |
public FormLabelDesignModelImp()
public FormLabelDesignModelImp(java.lang.String text, java.lang.String imageref)
text
- The Labels textimageref
- Label imageMethod Detail |
public java.lang.String getText()
FormLabelDesignModel
getText
in interface FormLabelDesignModel
FormLabelDesignModel.getText()
public void setText(java.lang.String text)
FormLabelDesignModel
setText
in interface FormLabelDesignModel
text
- The label textFormLabelDesignModel.setText(java.lang.String)
public boolean filter()
FormLabelDesignModel
filter
in interface FormLabelDesignModel
true
if string will be HTML encoded;
false
otherwiseFormLabelDesignModel.filter()
public void setFilter(boolean filter)
FormLabelDesignModel
setFilter
in interface FormLabelDesignModel
filter
- true
if strings should be HTML encoded; false
otherwiseFormLabelDesignModel.setFilter(boolean)
public void setStyleClass(java.lang.String styleClass)
FormLabelDesignModel
setStyleClass
in interface FormLabelDesignModel
styleClass
- The CSS stylesheet classFormLabelDesignModel.setStyleClass(java.lang.String)
public java.lang.String getStyleClass()
FormLabelDesignModel
getStyleClass
in interface FormLabelDesignModel
FormLabelDesignModel.getStyleClass()
public void setStyle(java.lang.String style)
FormLabelDesignModel
setStyle
in interface FormLabelDesignModel
style
- The CSS styles for this label.FormLabelDesignModel.setStyle(String)
public java.lang.String getStyle()
FormLabelDesignModel
getStyle
in interface FormLabelDesignModel
FormLabelDesignModel.getStyle()
public void setStyleId(java.lang.String id)
FormLabelDesignModel
setStyleId
in interface FormLabelDesignModel
id
- The identifier to be assigned to this label.FormLabelDesignModel.setStyleId(String id)
public java.lang.String getStyleId()
FormLabelDesignModel
getStyleId
in interface FormLabelDesignModel
FormLabelDesignModel.getStyleId()
public java.lang.String getAccessKey()
FormLabelDesignModel
getAccessKey
in interface FormLabelDesignModel
FormLabelDesignModel.getAccessKey()
public void setAccessKey(java.lang.String accessKey)
FormLabelDesignModel
setAccessKey
in interface FormLabelDesignModel
accessKey
- The Access KeyFormLabelDesignModel.setAccessKey(java.lang.String)
public java.lang.String getTooltip()
FormLabelDesignModel
getTooltip
in interface FormLabelDesignModel
FormLabelDesignModel.getTooltip()
public void setTooltip(java.lang.String tooltip)
FormLabelDesignModel
setTooltip
in interface FormLabelDesignModel
tooltip
- Tooltip textFormLabelDesignModel.setTooltip(java.lang.String)
public AlignmentType getAlignment()
FormLabelDesignModel
getAlignment
in interface FormLabelDesignModel
FormLabelDesignModel.getAlignment()
public java.lang.String getImageRef()
FormLabelDesignModel
getImageRef
in interface FormLabelDesignModel
FormLabelDesignModel.getImageRef()
public int getMaxLength()
FormLabelDesignModel
getMaxLength
in interface FormLabelDesignModel
FormLabelDesignModel.getMaxLength()
public void setAlignment(AlignmentType alignment)
FormLabelDesignModel
setAlignment
in interface FormLabelDesignModel
alignment
- The alignmentFormLabelDesignModel.setAlignment(com.cc.framework.ui.AlignmentType)
public void setImageRef(java.lang.String ref)
FormLabelDesignModel
setImageRef
in interface FormLabelDesignModel
ref
- Rule of the ImageMap to matchFormLabelDesignModel.setImageRef(java.lang.String)
public void setMaxLength(int max)
FormLabelDesignModel
setMaxLength
in interface FormLabelDesignModel
max
- Maximum number of input characters to acceptFormLabelDesignModel.setMaxLength(int)
public boolean isBodyInclude()
FormLabelDesignModel
isBodyInclude
in interface FormLabelDesignModel
FormLabelDesignModel.isBodyInclude()
public void setBodyInclude(boolean include)
FormLabelDesignModel
setBodyInclude
in interface FormLabelDesignModel
include
- Flag which indicates if the body was set instead of the
attributeFormLabelDesignModel.setBodyInclude(boolean)
public java.lang.String getWidth()
FormLabelDesignModel
getWidth
in interface FormLabelDesignModel
FormLabelDesignModel.getWidth()
public void setWidth(java.lang.String width)
FormLabelDesignModel
setWidth
in interface FormLabelDesignModel
width
- The width of the labelFormLabelDesignModel.setWidth(java.lang.String)
public java.lang.Boolean getNowrap()
FormLabelDesignModel
getNowrap
in interface FormLabelDesignModel
null
if not setFormLabelDesignModel.getNowrap()
public void setNowrap(java.lang.Boolean nowrap)
FormLabelDesignModel
setNowrap
in interface FormLabelDesignModel
nowrap
- Boolean or null
FormLabelDesignModel.setNowrap(java.lang.Boolean)
public java.lang.String getLocaleName()
FormLabelDesignModel
getLocaleName
in interface FormLabelDesignModel
FormLabelDesignModel.getLocaleName()
public void setLocaleName(java.lang.String locale)
FormLabelDesignModel
setLocaleName
in interface FormLabelDesignModel
locale
- Locale Identifier or true|false
FormLabelDesignModel.setLocaleName(java.lang.String)
public java.lang.String getPrefix()
FormLabelDesignModel
getPrefix
in interface FormLabelDesignModel
null
FormLabelDesignModel.getPrefix()
public java.lang.String getSuffix()
FormLabelDesignModel
getSuffix
in interface FormLabelDesignModel
null
FormLabelDesignModel.getSuffix()
public void setPrefix(java.lang.String prefix)
FormLabelDesignModel
setPrefix
in interface FormLabelDesignModel
prefix
- The label prefixFormLabelDesignModel.setPrefix(java.lang.String)
public void setSuffix(java.lang.String suffix)
FormLabelDesignModel
setSuffix
in interface FormLabelDesignModel
suffix
- The label suffixFormLabelDesignModel.setSuffix(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |