|
org.openide.awt 7.31.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=SOURCE)
@Target(value={TYPE,FIELD,METHOD})
public @interface ActionRegistration
Registers an action under associated identifier specified by separate
ActionID annotation on the same element. Here is few usage examples:
| Required Element Summary | |
|---|---|
String |
displayName
Display name. |
| Optional Element Summary | |
|---|---|
boolean |
asynchronous
Shall the action be performed outside of AWT thread. |
String |
iconBase
Path to image representing the action's icon. |
boolean |
iconInMenu
Shall the action's icon be visible in menu? |
String |
key
Shall this action be associated with a particular key in an ActionMap? E.g. |
boolean |
surviveFocusChange
Shall the action work on last selection when it was enabled? |
| Element Detail |
|---|
public abstract String displayName
Bundle.properties file in the same package.
public abstract String iconBase
public abstract boolean iconInMenu
public abstract String key
ActionMap? E.g. behave like Actions.callback(java.lang.String, javax.swing.Action, boolean, java.lang.String, java.lang.String, boolean) one?
ActionMappublic abstract boolean asynchronous
public abstract boolean surviveFocusChange
|
org.openide.awt 7.31.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||