Gridarta Editor
net.sf.gridarta.action.ShowHelpAction Class Reference

An EditorAction that shows the help dialog. More...

+ Inheritance diagram for net.sf.gridarta.action.ShowHelpAction:
+ Collaboration diagram for net.sf.gridarta.action.ShowHelpAction:

Public Member Functions

void setAction (@NotNull final Action action, @NotNull final String name)
 Sets the Action instance for this editor action. More...
 
void showHelp ()
 Shows the help dialog. More...
 
 ShowHelpAction (@NotNull final Frame parent)
 Creates a new instance. More...
 

Private Attributes

final Frame parent
 The parent Frame for the dialog. More...
 

Detailed Description

An EditorAction that shows the help dialog.

Author
Andreas Kirschbaum

Definition at line 33 of file ShowHelpAction.java.

Constructor & Destructor Documentation

◆ ShowHelpAction()

net.sf.gridarta.action.ShowHelpAction.ShowHelpAction ( @NotNull final Frame  parent)

Creates a new instance.

Parameters
parentthe parent frame for the dialog

Definition at line 45 of file ShowHelpAction.java.

References net.sf.gridarta.action.ShowHelpAction.parent.

Member Function Documentation

◆ setAction()

void net.sf.gridarta.action.ShowHelpAction.setAction ( @NotNull final Action  action,
@NotNull final String  name 
)

Sets the Action instance for this editor action.

Parameters
actionthe action instance
namethe name of the action

Implements net.sf.gridarta.utils.EditorAction.

Definition at line 58 of file ShowHelpAction.java.

◆ showHelp()

void net.sf.gridarta.action.ShowHelpAction.showHelp ( )

Shows the help dialog.

Definition at line 53 of file ShowHelpAction.java.

Member Data Documentation

◆ parent

final Frame net.sf.gridarta.action.ShowHelpAction.parent
private

The parent Frame for the dialog.

Definition at line 39 of file ShowHelpAction.java.

Referenced by net.sf.gridarta.action.ShowHelpAction.ShowHelpAction().


The documentation for this class was generated from the following file: