|
Gridarta Editor
|
A JPanel that allows the user to select a face name. More...
Inheritance diagram for net.sf.gridarta.gui.utils.FaceComponent:
Collaboration diagram for net.sf.gridarta.gui.utils.FaceComponent:Public Member Functions | |
| FaceComponent (@NotNull final String faceName, @NotNull final FaceObjects faceObjects, @NotNull final FaceObjectProviders faceObjectProviders, @NotNull final ImageIcon noFaceSquareIcon, @NotNull final ImageIcon unknownSquareIcon, @NotNull final String tooltip) | |
| Creates a new instance. More... | |
| String | getFaceName () |
| Returns the current face name. More... | |
| Component | getInputComponent () |
| Returns the input field component. More... | |
| void | setEnabled (final boolean enabled) |
| void | setFaceName (@NotNull final String faceName) |
| Sets the current face name. More... | |
Private Attributes | |
| final FaceTreeChooseAction | faceTreeChooseAction |
| The associated FaceTreeChooseAction. More... | |
| final JTextField | textField = new JTextField() |
| The JTextField that displays the face name. More... | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
| The serial version UID. More... | |
A JPanel that allows the user to select a face name.
Definition at line 41 of file FaceComponent.java.
| net.sf.gridarta.gui.utils.FaceComponent.FaceComponent | ( | @NotNull final String | faceName, |
| @NotNull final FaceObjects | faceObjects, | ||
| @NotNull final FaceObjectProviders | faceObjectProviders, | ||
| @NotNull final ImageIcon | noFaceSquareIcon, | ||
| @NotNull final ImageIcon | unknownSquareIcon, | ||
| @NotNull final String | tooltip | ||
| ) |
Creates a new instance.
| faceName | the initial face name |
| faceObjects | the face 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 |
| tooltip | tooltip to display on the fields. |
Definition at line 70 of file FaceComponent.java.
References net.sf.gridarta.gui.utils.FaceTreeChooseAction.updateIconLabel().
Here is the call graph for this function:| String net.sf.gridarta.gui.utils.FaceComponent.getFaceName | ( | ) |
Returns the current face name.
Definition at line 123 of file FaceComponent.java.
Referenced by net.sf.gridarta.gui.dialog.gameobjectattributes.DialogAttributeFaceName< 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.DialogAttributeFaceName< 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.FaceComponent.getInputComponent | ( | ) |
Returns the input field component.
Definition at line 148 of file FaceComponent.java.
References net.sf.gridarta.gui.utils.FaceComponent.textField.
Here is the caller graph for this function:| void net.sf.gridarta.gui.utils.FaceComponent.setEnabled | ( | final boolean | enabled | ) |
Definition at line 137 of file FaceComponent.java.
References net.sf.gridarta.gui.utils.FaceTreeChooseAction.setEnabled().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.gui.utils.FaceComponent.setFaceName | ( | @NotNull final String | faceName | ) |
Sets the current face name.
| faceName | the face name |
Definition at line 131 of file FaceComponent.java.
References net.sf.gridarta.gui.utils.FaceTreeChooseAction.updateIconLabel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
The associated FaceTreeChooseAction.
Definition at line 58 of file FaceComponent.java.
|
staticprivate |
The serial version UID.
Definition at line 46 of file FaceComponent.java.
|
private |
The JTextField that displays the face name.
Definition at line 52 of file FaceComponent.java.
Referenced by net.sf.gridarta.gui.utils.FaceComponent.getInputComponent().