|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Adjustable
This annotation is intended for write methods of Bean subclasses. If a write method is annotated, its corresponding property is declared to be "adjustable", i. e., it will be loaded and stored when a Bean object is loaded/stored, and it can be configured by user interaction, when the Bean object is the model of a ConfigurationUI.
| Required Element Summary | |
|---|---|
String |
category
The name of the category to which a property belongs. |
String |
info
A string that informs about the adjustable property, used by ConfigurationUI in order to describe the property to a user. |
| Optional Element Summary | |
|---|---|
String[] |
choices
An array of possible values for a String property. |
String |
depends
A comma-separated list of name-value-pairs, separated by '=' or '! |
int |
dflt
The default value of a number property. |
boolean |
editable
Flag denoting if the property is editable |
boolean |
forceComboBox
|
int |
gap
|
String |
key
A string used for sorting the properties. |
int |
max
The maximum value of a number property. |
int |
min
The minimum value of a number property. |
boolean |
openFile
Only relevant for File properties, denotes whether the file is to be opened or to be written to. |
int |
step
The value that is added to/taken from a number property when it is increased/decreased. |
boolean |
stringSelectionProvided
Flag denoting if the potential values of the (String) property must be from a list provided by a StringSelectionProvider. |
String |
tooltip
|
| Element Detail |
|---|
public abstract String info
public abstract String category
public abstract int min
public abstract int step
public abstract int max
public abstract int dflt
public abstract boolean editable
public abstract String[] choices
public abstract boolean stringSelectionProvided
public abstract String depends
public abstract boolean openFile
public abstract String key
public abstract boolean forceComboBox
public abstract String tooltip
public abstract int gap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||