public class TreeChooseAction
extends javax.swing.AbstractAction
Modifier | Constructor and Description |
---|---|
protected |
TreeChooseAction(@NotNull java.lang.String text,
@NotNull javax.swing.text.JTextComponent textComponent,
@NotNull NamedObjects<? extends NamedObject> namedObjects,
@NotNull FaceObjectProviders faceObjectProviders)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(@NotNull java.awt.event.ActionEvent e) |
protected @NotNull TreeChooseAction |
clone() |
protected @NotNull java.lang.String |
getFaceName()
Returns the current face name.
|
protected TreeChooseAction(@NotNull @NotNull java.lang.String text, @NotNull @NotNull javax.swing.text.JTextComponent textComponent, @NotNull @NotNull NamedObjects<? extends NamedObject> namedObjects, @NotNull @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 @NotNull java.awt.event.ActionEvent e)
@NotNull protected @NotNull java.lang.String getFaceName()
@NotNull protected @NotNull TreeChooseAction clone()
clone
in class javax.swing.AbstractAction