| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The design model for the Button control The design model holds information for rendering and the layout of the control.
| Method Summary | |
 boolean | 
filter()
Returns if the filter is activated (default=true).  | 
 int | 
getButtonStyle()
Returns the style for a text button If text buttons with different background images are needed they can be distinguished by the buttonStyle id.  | 
 ButtonType | 
getButtonType()
Returns the type of the button  | 
 java.lang.String | 
getSrc()
Returns the src.  | 
 java.lang.String | 
getTarget()
Returns the target attribute.  | 
 java.lang.String | 
getText()
Returns the text.  | 
 void | 
setButtonStyle(int buttonStyle)
Sets the button style indicating the background image of the text button  | 
 void | 
setButtonType(ButtonType buttonType)
Sets the type of the button  | 
 void | 
setFilter(boolean filter)
Activates the HTML encoding (filter).  | 
 void | 
setSrc(java.lang.String src)
Sets the src.  | 
 void | 
setTarget(java.lang.String target)
Defines a target attribute.  | 
 void | 
setText(java.lang.String text)
Sets the text.  | 
| 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.WebResourceAccess | 
getBase, setBase | 
| Method Detail | 
public ButtonType getButtonType()
public void setButtonType(ButtonType buttonType)
buttonType - The button typepublic java.lang.String getSrc()
public void setSrc(java.lang.String src)
src - The src to setpublic java.lang.String getText()
public void setText(java.lang.String text)
text - The text to setpublic int getButtonStyle()
public void setButtonStyle(int buttonStyle)
buttonStyle - The button style idpublic 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 setTarget(java.lang.String target)
target - The target attributepublic java.lang.String getTarget()
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||