|
Gridarta Editor
|
A JPanel that allows the user to select an animation name. More...
Inheritance diagram for net.sf.gridarta.gui.utils.AnimationComponent:
Collaboration diagram for net.sf.gridarta.gui.utils.AnimationComponent:Public Member Functions | |
| AnimationComponent (@NotNull final String animationName, @NotNull final AnimationObjects animationObjects, @NotNull final FaceObjectProviders faceObjectProviders, @NotNull final ImageIcon noFaceSquareIcon, @NotNull final ImageIcon unknownSquareIcon) | |
| Creates a new instance. More... | |
| String | getAnimName () |
| Returns the current animation name. More... | |
| Component | getInputComponent () |
| Returns the input field component. More... | |
| void | setAnimName (@NotNull final String animName) |
| Sets the current animation name. More... | |
| void | setEnabled (final boolean enabled) |
Private Attributes | |
| final AnimTreeChooseAction | animTreeChooseAction |
| The associated AnimTreeChooseAction. More... | |
| final JTextField | textField = new JTextField() |
| The JTextField that displays the animation name. More... | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
| The serial version UID. More... | |
A JPanel that allows the user to select an animation name.
Definition at line 41 of file AnimationComponent.java.
| net.sf.gridarta.gui.utils.AnimationComponent.AnimationComponent | ( | @NotNull final String | animationName, |
| @NotNull final AnimationObjects | animationObjects, | ||
| @NotNull final FaceObjectProviders | faceObjectProviders, | ||
| @NotNull final ImageIcon | noFaceSquareIcon, | ||
| @NotNull final ImageIcon | unknownSquareIcon | ||
| ) |
Creates a new instance.
| animationName | the initial animation name |
| animationObjects | the animation objects to use |
| faceObjectProviders | the face object providers for looking up faces |
| noFaceSquareIcon | the image icon for no animations |
| unknownSquareIcon | the image icon for undefined animations |
Definition at line 69 of file AnimationComponent.java.
References net.sf.gridarta.gui.utils.AnimTreeChooseAction.updateIconLabel().
Here is the call graph for this function:| String net.sf.gridarta.gui.utils.AnimationComponent.getAnimName | ( | ) |
Returns the current animation name.
Definition at line 116 of file AnimationComponent.java.
Referenced by net.sf.gridarta.gui.dialog.gameobjectattributes.DialogAttributeAnimationName< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.appendSummary(), net.sf.gridarta.gui.panel.gameobjectattributes.FaceTab< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.apply(), net.sf.gridarta.gui.panel.gameobjectattributes.FaceTab< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.canApply(), and net.sf.gridarta.gui.dialog.gameobjectattributes.DialogAttributeAnimationName< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getObjectText().
Here is the caller graph for this function:| Component net.sf.gridarta.gui.utils.AnimationComponent.getInputComponent | ( | ) |
Returns the input field component.
Definition at line 141 of file AnimationComponent.java.
References net.sf.gridarta.gui.utils.AnimationComponent.textField.
Here is the caller graph for this function:| void net.sf.gridarta.gui.utils.AnimationComponent.setAnimName | ( | @NotNull final String | animName | ) |
Sets the current animation name.
| animName | the animation name |
Definition at line 124 of file AnimationComponent.java.
References net.sf.gridarta.gui.utils.AnimTreeChooseAction.updateIconLabel().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.gui.utils.AnimationComponent.setEnabled | ( | final boolean | enabled | ) |
Definition at line 130 of file AnimationComponent.java.
References net.sf.gridarta.gui.utils.AnimTreeChooseAction.setEnabled().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
The associated AnimTreeChooseAction.
Definition at line 58 of file AnimationComponent.java.
|
staticprivate |
The serial version UID.
Definition at line 46 of file AnimationComponent.java.
|
private |
The JTextField that displays the animation name.
Definition at line 52 of file AnimationComponent.java.
Referenced by net.sf.gridarta.gui.utils.AnimationComponent.getInputComponent().