|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Design model for the Swap Select Control
Method Summary | |
boolean |
filter()
Returns if the filter is activated (default=true). |
java.lang.String |
getLabelLeft()
Retrieves the label for the left selection window |
java.lang.String[] |
getLabelRight()
Retrieves the label for the right selection window |
OrientationType |
getOrientation()
Retrieves the orientation of the selection windows |
int[] |
getSize()
Returns the number of visible items for each individual select box. |
SortOrder |
getSortOrder()
Retrieves the sort order of the control |
boolean |
isMultiple()
|
boolean |
retainOrder()
|
void |
setFilter(boolean filter)
Activates the HTML encoding (filter). |
void |
setLabelLeft(java.lang.String label)
Sets the label for the left selection window |
void |
setLabelRight(java.lang.String label)
Sets the label for the right selection window |
void |
setLabelRight(java.lang.String[] label)
Sets the label for the right selection window |
void |
setMultiple(boolean multiple)
Tells the control behave as a multiple swap select control with multiple shift targets. the number of targets is specified by the number of array elements of the data model. |
void |
setOrientation(OrientationType orientation)
Specifies the orientation of the selection windows: horizontal = from top to bottom vertical = from left to right |
void |
setRetainOrder(boolean retainOrder)
Tells the control to retain the sort order in the "from" option list |
void |
setSize(int size)
Sets the size of the input field. |
void |
setSize(int[] size)
Sets the size of the input field. |
void |
setSortOrder(SortOrder sortOrder)
Specifies the sort order: none = no sort order asc = ascending sort order desc = descending sort order |
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.model.ButtonContainer |
getButtonPermission, setButtonPermission, showButton |
Method Detail |
public void setLabelLeft(java.lang.String label)
label
- the labelpublic java.lang.String getLabelLeft()
public void setLabelRight(java.lang.String label)
label
- the labelpublic void setLabelRight(java.lang.String[] label)
label
- the labelpublic java.lang.String[] getLabelRight()
public void setOrientation(OrientationType orientation)
orientation
- The orientation of the controlpublic OrientationType getOrientation()
public void setSortOrder(SortOrder sortOrder)
sortOrder
- The sort order of the controlpublic SortOrder getSortOrder()
public int[] getSize()
public void setSize(int size)
size
- The size of the input field.public void setSize(int[] size)
size
- The size of the input field.public 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 boolean retainOrder()
true
when the control should retain the
sort order in the "from" option listpublic void setRetainOrder(boolean retainOrder)
retainOrder
- true
if the element should retain the sort
orderpublic boolean isMultiple()
true
when the control should be rendered
as a multiple swap select control with multiple shift targetspublic void setMultiple(boolean multiple)
multiple
- true
if the element should act as a multiple
swap select
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |