|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.control.Control com.cc.framework.ui.control.ButtonControl
Button control
Field Summary | |
private ButtonDesignModel |
designModel
the design model for the button |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from class com.cc.framework.ui.control.Control |
log |
Fields inherited from interface com.cc.framework.ui.model.StateModel |
PROP_CONTROL |
Constructor Summary | |
ButtonControl()
Constructor |
Method Summary | |
boolean |
filter()
Returns if the filter is activated (default=true). |
java.lang.String |
getBase()
Gets the base directory for the resource |
int |
getButtonStyle()
Returns the Id for the button style used to get the background images for a text button |
ButtonType |
getButtonType()
Returns the type of the button |
DataModel |
getDataModel()
Returns the data model of the Control |
ControlDesignModel |
getDesignModel()
Returns the design model of the control |
java.lang.String |
getSrc()
Returns the src attribute. |
StateModel |
getStateModel()
Returns the state model of the control |
java.lang.String |
getTarget()
Returns the target attribute. |
java.lang.String |
getText()
Returns the text |
void |
reset()
Resets the actual state of a control to the initial state |
void |
setDesignModel(ButtonDesignModel designModel)
Sets the design model |
Methods inherited from class com.cc.framework.ui.control.Control |
addButton, allowAjaxRendering, execute, execute, execute, execute, execute, execute, execute, getAction, getAjaxId, getButtons, getControlName, getDesignRules, getFrameworkString, getHandler, getHandlers, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getPrincipal, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getUniqueStyleId, getWidth, isAjaxEnabled, isDisabled, isFormElement, markDirty, onHelp, setAjaxAttribute, setHandler, setPrincipal, setValue, show, showButton, synchronizeState, synchronizeState |
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.StateModel |
synchronizeState |
Field Detail |
private static final long serialVersionUID
private ButtonDesignModel designModel
Constructor Detail |
public ButtonControl()
Method Detail |
public DataModel getDataModel()
Control
getDataModel
in class Control
Control.getDataModel()
public void reset()
StateModel
reset
in interface StateModel
StateModel.reset()
public ControlDesignModel getDesignModel()
Control
getDesignModel
in class Control
Control.getDesignModel()
public void setDesignModel(ButtonDesignModel designModel)
designModel
- The design modelpublic StateModel getStateModel()
Control
getStateModel
in class Control
Control.getStateModel()
public java.lang.String getText()
public ButtonType getButtonType()
public java.lang.String getSrc()
public java.lang.String getBase()
null
public java.lang.String getTarget()
public int getButtonStyle()
public boolean filter()
true
if string will be HTML encoded;
false
otherwise
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |