|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) @Documented @Inherited public @interface OpEd
“Op Ed” does not stand for “Opinions of the Editor,” but instead, “Operator Editable…” It's just going to be typed so often that the malapropistic abbreviation seemed entirely appropriate. This annotation is to be used to indicate a property pair (get/set) that can be edited by an operator using a basic editable-property-discovery mechanism.
Optional Element Summary | |
---|---|
String |
advice
Optional “advice” string to help the operator understand the meaning of this property |
String |
groupWith
Property groups can be assigned headings, and all properties with the same groupWith heading will appear together under that heading. |
boolean |
isAdvanced
if this is an “advanced” field, then it will be hidden by default, even if the user has sufficient privileges to update it, usually behind some simple “advanced” expander box or tab. |
String |
label
The label to display in the user-interface for this element; by default, it will show the name of the property without the “get/set” prefix; this enables more user-friendly names. |
String |
needCap
Minimum security capability needed. |
long |
refreshView
Time to live on the display of an attribute. |
public abstract String advice
Optional “advice” string to help the operator understand the meaning of this property
This can also be applied to classes.
public abstract String groupWith
Property groups can be assigned headings, and all properties with the same groupWith heading will appear together under that heading.
Does not apply to classes.
public abstract boolean isAdvanced
if this is an “advanced” field, then it will be hidden by default, even if the user has sufficient privileges to update it, usually behind some simple “advanced” expander box or tab.
Does not apply to classes.
public abstract String label
The label to display in the user-interface for this element; by default, it will show the name of the property without the “get/set” prefix; this enables more user-friendly names.
Can be used for classes, but probably a bad idea
public abstract String needCap
Minimum security capability needed. Can be specified as a label or an integer (including in hex), must represent a valid capability level, any that are not understood will revert to CAP_UNIVERSAL. Missing this annotation defaults to CAP_SYSOP_COMMANDS.
On a class, changes the default for that class to the specified level.
public abstract long refreshView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |