public interface I_CmsHasGhostValue
A ghost value will be displayed, but not reported when asking the widget for its current value.
限定符和类型 | 方法和说明 |
---|---|
void |
setGhostMode(boolean enable)
Enables or disables ghost mode, if possible.
|
void |
setGhostValue(java.lang.String value,
boolean isGhostMode)
Sets the "ghost value" of the widget and optionally sets it to "ghost mode".
|
void setGhostMode(boolean enable)
enable
- if ghost mode should be enabled, else disabledvoid setGhostValue(java.lang.String value, boolean isGhostMode)
"Ghost mode" can be used to show the user the value (called "ghost value") which will be used if he either doesn't choose an option in the widget, or explicitly chooses an "empty" or "default" option.
value
- the ghost valueisGhostMode
- if true, sets the widget to ghost mode