|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.web.ext.gwt.celleditor.StyledCellEditor
com.sibvisions.rad.ui.web.ext.gwt.celleditor.ChoiceCellEditor
public class ChoiceCellEditor
The ChoiceCellEditor is the cell editor with multiple states. The editor
shows images instead of the raw values.
| Field Summary |
|---|
| Fields inherited from interface com.sibvisions.rad.ui.web.ext.gwt.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
ChoiceCellEditor()
Creates a new instance of ChoiceCellEditor. |
|
| Method Summary | |
|---|---|
List<Object> |
getAllowedValues()
Gets all allowed values. |
String |
getDefaultImageName()
Gets the default image that is shown if selectedIndex is -1. |
String[] |
getImageNames()
Gets the image names that are used for displaying the corresponding values. |
boolean |
isStyleSupported()
Returns whether the styling of the editor is supported. |
void |
setAllowedValues(Object[] pAllowedValues)
Sets all allowed values. |
void |
setDefaultImageName(String pDefaultImageName)
Sets the default image name that is shown if selectedIndex is -1. |
void |
setImageNames(String[] pImageNames)
Sets the image names that are used for displaying the corresponding values. |
| Methods inherited from class com.sibvisions.rad.ui.web.ext.gwt.celleditor.StyledCellEditor |
|---|
getEditorColumn, getHorizontalAlignment, getHorizontalWebAlignment, getVerticalAlignment, getVerticalWebAlignment, setEditorColumn, setHorizontalAlignment, setVerticalAlignment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChoiceCellEditor()
ChoiceCellEditor.
| Method Detail |
|---|
public boolean isStyleSupported()
isStyleSupported in class StyledCellEditorfalsepublic void setAllowedValues(Object[] pAllowedValues)
pAllowedValues - all allowed values.public List<Object> getAllowedValues()
public void setImageNames(String[] pImageNames)
pImageNames - the image names.public String[] getImageNames()
public void setDefaultImageName(String pDefaultImageName)
pDefaultImageName - the default image name.public String getDefaultImageName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||