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