public class TreeChooseAction
extends javax.swing.AbstractAction
Constructor and Description |
---|
TreeChooseAction(java.lang.String text,
javax.swing.text.JTextComponent textComponent,
NamedObjects<? extends NamedObject> namedObjects,
FaceObjectProviders faceObjectProviders)
Create a TreeChooseAction.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected java.lang.Object |
clone() |
java.lang.String |
getFaceName()
Returns the current face name.
|
public TreeChooseAction(@NotNull java.lang.String text, @NotNull javax.swing.text.JTextComponent textComponent, @NotNull NamedObjects<? extends NamedObject> namedObjects, @NotNull FaceObjectProviders faceObjectProviders)
text
- the text for the buttontextComponent
- the text component that holds the current
face/animation namenamedObjects
- the named objects providing the face/animation names
treefaceObjectProviders
- the face object providers for looking up
facespublic void actionPerformed(@NotNull java.awt.event.ActionEvent e)
@NotNull public java.lang.String getFaceName()
@NotNull protected java.lang.Object clone()
clone
in class javax.swing.AbstractAction