|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.dualselector.BaseDualSelector
public abstract class BaseDualSelector
Transformation bean base object for creating Dual Selectors
Field Summary | |
---|---|
protected java.lang.String |
imageLocation
|
Fields inherited from interface com.sas.servlet.tbeans.dualselector.DualSelectorKeysInterface |
---|
DUALSELECTOR, DUALSELECTOR_DOWN_BUTTON, DUALSELECTOR_LEFT_ALL_BUTTON, DUALSELECTOR_LEFT_BUTTON, DUALSELECTOR_RIGHT_ALL_BUTTON, DUALSELECTOR_RIGHT_BUTTON, DUALSELECTOR_SOURCE, DUALSELECTOR_SOURCE_LABEL, DUALSELECTOR_SUBMIT_BUTTON, DUALSELECTOR_TARGET, DUALSELECTOR_TARGET_LABEL, DUALSELECTOR_UP_BUTTON |
Constructor Summary | |
---|---|
BaseDualSelector()
|
Method Summary | |
---|---|
java.lang.String |
getImageLocation()
Returns the image location used for the button images. |
boolean |
getMultipleSelections()
Gets the multiple selection property |
int |
getSize()
Returns the size attribute |
BaseLabel |
getSourceLabel()
Gets the displayed label associated with the source listbox |
BaseLabel |
getTargetLabel()
Gets the displayed label associated with the target listbox |
int |
getTargetMaximumCount()
Returns the maximum number of target items. |
boolean |
isStaticSourceAllowed()
Returns true if the source is static, false otherwise. |
boolean |
isSubmitButtonVisible()
Returns whether or not the submit button is visible. |
boolean |
isTargetButtonsVisible()
Returns whether or not the move up and move down buttons for target component are visible. |
boolean |
isTargetDuplicateAllowed()
Returns true if the target allows duplicate items, false otherwise. |
boolean |
isTransferAllButtonVisible()
Returns whether or not the move all button is visible. |
void |
setImageLocation(java.lang.String location)
Sets the location of the images needed for the default images used on the moveRight, moveAllRight, moveLeft, moveAllLeft, moveUp and moveDown buttons. |
void |
setMultipleSelections(boolean value)
Sets the multiple selection property allowing multiple selections of the values. |
void |
setSize(int value)
Sets the size on the source and target components where applied (eg. |
void |
setStaticSourceAllowed(boolean staticSrc)
Determines if the source is static, if true the item in the source list will remain on the list. |
void |
setSubmitButtonVisible(boolean value)
Determines whether or not the submit button will be visible. |
void |
setTargetButtonsVisible(boolean value)
Sets whether or not the move up and move down buttons for the target component will be visible. |
void |
setTargetDuplicateAllowed(boolean duplicate)
Determines if the target allows duplicate item(s). |
void |
setTargetMaximumCount(int max)
Sets the maximum number of target items. |
void |
setTransferAllButtonVisible(boolean value)
Sets whether or not the move all buttons will be visible. |
Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface |
---|
getRequest |
Field Detail |
---|
protected java.lang.String imageLocation
Constructor Detail |
---|
public BaseDualSelector()
Method Detail |
---|
public void setTargetButtonsVisible(boolean value)
value
- true if buttons are visible, false otherwiseisTargetButtonsVisible()
public boolean isTargetButtonsVisible()
setTargetButtonsVisible(boolean)
public void setTransferAllButtonVisible(boolean value)
value
- true if button is visible, false otherwiseisTransferAllButtonVisible()
public boolean isTransferAllButtonVisible()
setTransferAllButtonVisible(boolean)
public void setSubmitButtonVisible(boolean value)
value
- true if submit button is visible, false otherwiseisSubmitButtonVisible()
public boolean isSubmitButtonVisible()
setSubmitButtonVisible(boolean)
public BaseLabel getSourceLabel()
public BaseLabel getTargetLabel()
public void setStaticSourceAllowed(boolean staticSrc)
staticSrc
- true if source is static, false otherwisepublic boolean isStaticSourceAllowed()
public void setTargetDuplicateAllowed(boolean duplicate)
duplicate
- true if target allows duplicates, false otherwisepublic boolean isTargetDuplicateAllowed()
setTargetMaximumCount(int)
public void setTargetMaximumCount(int max)
max
- the maximum number of target items.getTargetMaximumCount()
public int getTargetMaximumCount()
setTargetMaximumCount(int)
public void setMultipleSelections(boolean value)
value
- true if multiple selections are allowedgetMultipleSelections()
public boolean getMultipleSelections()
setMultipleSelections(boolean)
public void setImageLocation(java.lang.String location)
location
- the location/path of the imagesgetImageLocation()
public java.lang.String getImageLocation()
setImageLocation(String)
public void setSize(int value)
size
- The maximum number of values visible to the usergetSize()
public int getSize()
setSize(int)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |