|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Class ControlDesignModel
Method Summary | |
void |
addDesignRule(DesignRule rule)
Adds a new design rule to the control |
java.lang.String |
getAction()
Returns the action which is assigned to the control |
int |
getBorder()
Returns the border width |
DesignRule[] |
getDesignRules()
Returns the design rules for this control |
java.lang.String |
getHeight()
Returns the height of the control |
java.lang.String |
getHelp()
Returns the Help id that is associated with this control element. |
java.lang.String |
getId()
Returns the id of the control |
java.lang.String |
getLocaleName()
Gets the Local Setting for this Control |
java.lang.String |
getName()
Returns the name of the element (bean) |
java.lang.String |
getProperty()
Returns the Property Attribute |
RunAt |
getRunAt()
Returns if the control works with or without server round trips. |
java.lang.String |
getStyle()
Returns the Style |
java.lang.String |
getStyleClass()
Returns the StyleClass |
java.lang.String |
getStyleId()
returns the StyleId |
java.lang.String |
getSummary()
Retrieves the property that can be used for rendering to non-visual media such as speech or Braille |
int |
getTabIndex()
Returns the Tab index |
java.lang.String |
getTooltip()
Retrieves the optional tooltip text |
boolean |
getTransaction()
Checks if the framework should include a transaction token (if any) in all generated hyperlinks. |
java.lang.String |
getWidth()
Returns the width of the control |
boolean |
hasShadow()
Returns if the control uses a shadow |
boolean |
isDisabled()
Returns the disabled Flag |
boolean |
isDynamicDesignModel()
Checks if the design model was declared within the JSP or (design time) it was predetermined by the programmer (run time). |
boolean |
isFormElement()
Checks if the control should act like a form element. |
void |
setAction(java.lang.String action)
Sets the action, which should be performed, if an event of a control occur. |
void |
setBorder(int border)
Sets the border width |
void |
setDisabled(boolean disabled)
Sets the disabled Flag |
void |
setDynamicDesignModel(boolean dynamic)
Sets if the design model was declared within the JSP or (design time) it was predetermined by the programmer (run time). |
void |
setFormElement(boolean flag)
Defines if the control should act like a form element. |
void |
setHeight(java.lang.String height)
Sets the height of the control |
void |
setHelp(java.lang.String helpId)
Associates this control with a help id |
void |
setId(java.lang.String id)
Sets the unique Id for the Control |
void |
setLocaleName(java.lang.String locale)
Sets the Locale configuration for this control |
void |
setName(java.lang.String name)
Sets the name of the element (bean) |
void |
setPermission(Permission permission)
Sets a list with permission for the object. |
void |
setProperty(java.lang.String property)
Sets the Property |
void |
setRunAt(RunAt location)
Specified if the control should work with or without server round trips |
void |
setShadow(boolean shadow)
Sets the shadow for a control |
void |
setStyle(java.lang.String style)
Sets the Style |
void |
setStyleClass(java.lang.String styleClass)
Sets the StyleClass |
void |
setStyleId(java.lang.String styleId)
Sets the StyleId |
void |
setSummary(java.lang.String summary)
Sets the property that can be used for rendering to non-visual media such as speech or Braille |
void |
setTabIndex(int tabIndex)
Sets the Tab index |
void |
setTooltip(java.lang.String tooltip)
Sets the optional tooltip text |
void |
setTransaction(boolean transaction)
Directs the framework to include a transaction token (if any) in all generated hyperlinks. |
void |
setWidth(java.lang.String width)
Sets the Width of the Control |
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 boolean isDynamicDesignModel()
public void setDynamicDesignModel(boolean dynamic)
dynamic
- true
if the design model was declared within
the JSP page.public void setRunAt(RunAt location)
location
- where the action should be executed.public RunAt getRunAt()
public void setFormElement(boolean flag)
flag
- true
if the control should act like a form
element.public boolean isFormElement()
true
if the control acts like a form element.public java.lang.String getName()
public void setName(java.lang.String name)
name
- Namepublic java.lang.String getProperty()
public void setProperty(java.lang.String property)
property
- Property namepublic void setAction(java.lang.String action)
action
- Actionpublic java.lang.String getAction()
public java.lang.String getHeight()
public java.lang.String getId()
public java.lang.String getWidth()
public void setHeight(java.lang.String height)
height
- Heightpublic void setId(java.lang.String id)
id
- Idpublic void setWidth(java.lang.String width)
width
- Widthpublic int getBorder()
public void setBorder(int border)
border
- Borderpublic boolean hasShadow()
public void setShadow(boolean shadow)
shadow
- true
if the control should render a shadowpublic void setDisabled(boolean disabled)
disabled
- true
if the control should be rendered as
inactivepublic boolean isDisabled()
public void setStyle(java.lang.String style)
style
- Style constantpublic java.lang.String getStyle()
public void setStyleId(java.lang.String styleId)
styleId
- HTML-Id of the elementpublic java.lang.String getStyleId()
public void setStyleClass(java.lang.String styleClass)
styleClass
- StyleClasspublic java.lang.String getStyleClass()
public java.lang.String getHelp()
public void setHelp(java.lang.String helpId)
helpId
- The Help Help id of the element. The semantic of this id is
completely in the responsibility of the applications help
systempublic void setTooltip(java.lang.String tooltip)
tooltip
- Tooltippublic java.lang.String getTooltip()
null
public int getTabIndex()
public void setTabIndex(int tabIndex)
tabIndex
- Indexpublic void setPermission(Permission permission)
permission
- Permissionpublic void setLocaleName(java.lang.String locale)
locale
- Locale Identifier or true|false
public java.lang.String getLocaleName()
public void addDesignRule(DesignRule rule)
rule
- Design rulepublic DesignRule[] getDesignRules()
public void setSummary(java.lang.String summary)
summary
- specifies a description and/or structure of the object.public java.lang.String getSummary()
null
public void setTransaction(boolean transaction)
transaction
- include transaction tokenpublic boolean getTransaction()
getTransaction
in interface ActionBehavior
true
if the transaction token should be generated
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |