ActionUseCases

This is a list of use cases involving the Action portion of the Swing Application Framework (JSR 296)in NetBeans 6.0

use cases attach a button to an existing @action method select the button, edit the action property, choose an action

attach a button to a new action select the button, edit the action property, press the new action button, type in a name for the action and a method. if those fields are missing then the user cannot press the okay button. an error will be printed. if those fields are present the a new @Action annotated method will be created at the bottom of the specified class.

attach a menu to an existing @action method same as button.

modify the text property of a button attached to an existing action select the button, edit the action property, change the name field, press the okay button

modify the synchronized property of a button attached to an existing action (??)

attach a button to an old style action property (via getFooAction() method) select the button, edit the action property, select the property editor from the combobox at the top, choose a property, close the dialog

modify the czech name of a button attached to an action, but not the default name switch to the czech locale. change the name property of the button's action as normal.

modify the accelerator for a button open the action editor for the button. type a new value into the accelerator field.

modify the accelerator for a button only for the mac ???

modify the accelerator for a button only for czech switch locales. edit the button accelerator as normal

modify the mnemonic for a menu item open the action editor for the menu, enter a new value into the mnemonic field (change to use & or _)

modify the accelerator for a menu item same as button.

set the toolbar icon for an action

make an action w/ a toolbar icon not show up in the menu display list of all actions throughout application display list of all actions in just one form display list of all actions w/ no translations for a particular locale show all icons currently used show all icons currently used by mac

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo