public class ControlServerAction extends java.lang.Object implements EditorAction
Constructor and Description |
---|
ControlServerAction(AppPreferencesModel appPreferencesModel,
java.awt.Frame parent)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
controlServer()
The action method for "controlServer".
|
void |
setAction(javax.swing.Action action,
java.lang.String name)
Sets the
Action instance for this editor action. |
public ControlServerAction(@NotNull AppPreferencesModel appPreferencesModel, @NotNull java.awt.Frame parent)
@ActionMethod public void controlServer()
public void setAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)
Action
instance for this editor action.setAction
in interface EditorAction
action
- the action instancename
- the name of the action