|
|||||||||||
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.ControlDesignModelImp com.cc.framework.ui.model.imp.ButtonDesignModelImp com.cc.framework.ui.control.FormButtonElement
Used for a button within a form
Field Summary | |
private AlignmentType |
alignment
The horizontal alignment of the form element |
private int |
colspan
The ColumnSpan of this element |
private boolean |
def
Indicates if this is the default button on the form. |
private boolean |
join
This flag indicates that this element should be joined with the preceding element without a separator |
private FormElementContainer |
parent
The parent container |
private static long |
serialVersionUID
Serial Version UID |
private AlignmentType |
valignment
The vertical alignment of the form element |
Fields inherited from class com.cc.framework.ui.model.imp.ButtonDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
FormButtonElement()
Constructor |
Method Summary | |
AlignmentType |
getAlignment()
Returns the horizontal alignment |
int |
getColSpan()
Returns the column span for this element |
boolean |
getNoWrap()
Indicates that the form element cell should not be wrapped |
FormElementContainer |
getParent()
|
AlignmentType |
getVAlignment()
Returns the vertical alignment |
boolean |
isDefault()
Returns the asDefault. |
boolean |
joinElements()
This method returns true when two adjacent form elements
should be joined together without a separator |
void |
setAlignment(AlignmentType alignment)
Specifies the horizontal alignment of the form element within the form left right center |
void |
setColSpan(int colspan)
Sets the column span of this form element |
void |
setDefault(boolean def)
Sets the asDefault. |
void |
setJoin(boolean join)
This method specifies that two adjacent form elements should be joined together without a separator |
void |
setParent(FormElementContainer parent)
|
void |
setVAlignment(AlignmentType valignment)
Specifies the vertical alignment of the form element within the form top bottom center |
Methods inherited from class com.cc.framework.ui.model.imp.ButtonDesignModelImp |
filter, getBase, getButtonStyle, getButtonType, getSrc, getTarget, getText, setBase, setButtonStyle, setButtonType, setFilter, setSrc, setTarget, setText |
Methods inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
addDesignRule, enableAjax, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isAjaxEnabled, 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, show |
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.control.FormElement |
getHeight, getHelp, getStyle, getStyleClass, getStyleId, getWidth, setHeight, setHelp, setStyle, setStyleClass, setStyleId, setWidth |
Methods inherited from interface com.cc.framework.ui.model.AccessControlled |
getPermission, show |
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.ActionBehavior |
isAjaxEnabled |
Methods inherited from interface com.cc.framework.ui.model.AjaxSupport |
enableAjax, isAjaxEnabled |
Field Detail |
private static final long serialVersionUID
private FormElementContainer parent
private boolean def
private int colspan
private boolean join
private AlignmentType alignment
private AlignmentType valignment
Constructor Detail |
public FormButtonElement()
Method Detail |
public FormElementContainer getParent()
getParent
in interface FormElement
null
when this is
the top most containerFormElement.getParent()
public void setParent(FormElementContainer parent)
setParent
in interface FormElement
parent
- the parent form element container for this elementFormElement.setParent(com.cc.framework.ui.control.FormElementContainer)
public boolean isDefault()
public void setDefault(boolean def)
def
- The asDefault to setpublic int getColSpan()
FormElement
getColSpan
in interface FormElement
FormElement.getColSpan()
public void setColSpan(int colspan)
FormElement
setColSpan
in interface FormElement
colspan
- column spanFormElement.setColSpan(int)
public boolean joinElements()
FormElement
true
when two adjacent form elements
should be joined together without a separator
joinElements
in interface FormElement
true
when the form elements should be joinedFormElement.joinElements()
public void setJoin(boolean join)
FormElement
setJoin
in interface FormElement
join
- true
when the form elements should be joinedFormElement.setJoin(boolean)
public AlignmentType getAlignment()
FormElement
getAlignment
in interface FormElement
FormElement.getAlignment()
public AlignmentType getVAlignment()
FormElement
getVAlignment
in interface FormElement
FormElement.getVAlignment()
public void setAlignment(AlignmentType alignment)
FormElement
setAlignment
in interface FormElement
alignment
- The alignment of the elementFormElement.setAlignment(com.cc.framework.ui.AlignmentType)
public void setVAlignment(AlignmentType valignment)
FormElement
setVAlignment
in interface FormElement
valignment
- The alignment of the elementFormElement.setVAlignment(com.cc.framework.ui.AlignmentType)
public boolean getNoWrap()
FormElement
getNoWrap
in interface FormElement
FormElement.getNoWrap()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |