|
Gridarta Editor
|
Action for choosing a face or animation. More...
Inheritance diagram for net.sf.gridarta.gui.utils.TreeChooseAction:
Collaboration diagram for net.sf.gridarta.gui.utils.TreeChooseAction:Public Member Functions | |
| void | actionPerformed (@NotNull final ActionEvent e) |
| String | getFaceName () |
| Returns the current face name. More... | |
| TreeChooseAction (@NotNull final String text, @NotNull final JTextComponent textComponent, @NotNull final NamedObjects<? extends NamedObject > namedObjects, @NotNull final FaceObjectProviders faceObjectProviders) | |
| Create a TreeChooseAction. More... | |
Protected Member Functions | |
| Object | clone () |
Private Attributes | |
| final FaceObjectProviders | faceObjectProviders |
| The FaceObjectProviders for looking up faces. More... | |
| final NamedObjects<? extends NamedObject > | namedObjects |
| The NamedObjects providing the face/animation names tree. More... | |
| final JTextComponent | textComponent |
| The JTextComponent that holds the current face/animation name. More... | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
| The serial version UID. More... | |
Action for choosing a face or animation.
Definition at line 35 of file TreeChooseAction.java.
| net.sf.gridarta.gui.utils.TreeChooseAction.TreeChooseAction | ( | @NotNull final String | text, |
| @NotNull final JTextComponent | textComponent, | ||
| @NotNull final NamedObjects<? extends NamedObject > | namedObjects, | ||
| @NotNull final FaceObjectProviders | faceObjectProviders | ||
| ) |
Create a TreeChooseAction.
| text | the text for the button |
| textComponent | the text component that holds the current face/animation name |
| namedObjects | the named objects providing the face/animation names tree |
| faceObjectProviders | the face object providers for looking up faces |
Definition at line 70 of file TreeChooseAction.java.
References net.sf.gridarta.gui.utils.TreeChooseAction.faceObjectProviders, net.sf.gridarta.gui.utils.TreeChooseAction.namedObjects, and net.sf.gridarta.gui.utils.TreeChooseAction.textComponent.
| void net.sf.gridarta.gui.utils.TreeChooseAction.actionPerformed | ( | @NotNull final ActionEvent | e | ) |
Definition at line 78 of file TreeChooseAction.java.
References net.sf.gridarta.model.data.NamedObjects< E extends NamedObject >.get(), net.sf.gridarta.model.data.NamedObject.getPath(), and net.sf.gridarta.gui.data.NamedObjectsUtils.showNodeChooserDialog().
Here is the call graph for this function:
|
protected |
Definition at line 101 of file TreeChooseAction.java.
| String net.sf.gridarta.gui.utils.TreeChooseAction.getFaceName | ( | ) |
Returns the current face name.
Definition at line 95 of file TreeChooseAction.java.
Referenced by net.sf.gridarta.gui.utils.FaceTreeChooseAction.updateIconLabel(), and net.sf.gridarta.gui.utils.AnimTreeChooseAction.updateIconLabel().
Here is the caller graph for this function:
|
private |
The FaceObjectProviders for looking up faces.
Definition at line 58 of file TreeChooseAction.java.
Referenced by net.sf.gridarta.gui.utils.TreeChooseAction.TreeChooseAction().
|
private |
The NamedObjects providing the face/animation names tree.
Definition at line 52 of file TreeChooseAction.java.
Referenced by net.sf.gridarta.gui.utils.TreeChooseAction.TreeChooseAction().
|
staticprivate |
The serial version UID.
Definition at line 40 of file TreeChooseAction.java.
|
private |
The JTextComponent that holds the current face/animation name.
Definition at line 46 of file TreeChooseAction.java.
Referenced by net.sf.gridarta.gui.utils.TreeChooseAction.TreeChooseAction().