public interface ISettingUIDescription extends ISettingDescription
Modifier and Type | Field and Description |
---|---|
static int |
SIZE_LARGE |
static int |
SIZE_NORMAL |
static int |
SIZE_SMALL |
Modifier and Type | Method and Description |
---|---|
ISettingUIDescription |
setContentType(java.lang.String value)
Sets the content type used when downloading the UI component's data.
|
ISettingUIDescription |
setIsDownloadable(boolean value)
Determines whether the object set through the UI component is available for download.
|
ISettingUIDescription |
setIsMasked(boolean value)
Sets the 'masked' flag for this UI component.
|
ISettingUIDescription |
setLines(int value)
Sets the number of lines for this UI component.
|
ISettingUIDescription |
setUnit(java.lang.String value)
Sets the unit for the data being entered through the UI component
|
ISettingUIDescription |
setWidth(int value)
Sets the width of the UI element.
|
setDefaultValue, setDescription, setIsEditable, setPossibleValues, setRequired
static final int SIZE_SMALL
static final int SIZE_NORMAL
static final int SIZE_LARGE
ISettingUIDescription setIsMasked(boolean value) throws java.lang.Exception
value
- true to force the UI component to mask its input, false otherwise (Default: false)ISettingUIDescription
java.lang.Exception
ISettingUIDescription setLines(int value) throws java.lang.Exception
value
- number of lines of this UI component (Default: 1)ISettingUIDescription
java.lang.Exception
ISettingUIDescription setWidth(int value) throws java.lang.Exception
value
- Either one of SIZE_SMALL
, SIZE_NORMAL
or SIZE_LARGE
, or the actual
value (in px) that should be applied to the UI componentISettingUIDescription
java.lang.Exception
ISettingUIDescription setIsDownloadable(boolean value) throws java.lang.Exception
ISettingTypes.TYPE_FILE
.value
- true to support downloading of UI component's payload, false otherwiseISettingUIDescription
java.lang.Exception
ISettingUIDescription setContentType(java.lang.String value) throws java.lang.Exception
ISettingTypes.TYPE_FILE
that support downloading of the component's file contents.value
- true to support downloading of UI component's file data, false otherwiseISettingUIDescription
java.lang.Exception
ISettingUIDescription setUnit(java.lang.String value) throws java.lang.Exception
value
- Name of unit to be displayed at an appropriate location for the UI componentISettingUIDescription
java.lang.Exception