org.openpermis.editor.policy.gui
Class ActionForwarder

java.lang.Object
  extended by org.openpermis.editor.policy.gui.ActionForwarder
All Implemented Interfaces:
ActionListener, EventListener

public class ActionForwarder
extends Object
implements ActionListener

Action listener that triggers an action on execution.

Since:
0.1.0

Field Summary
static String COMMAND
          Default command used to trigger the action.
 
Constructor Summary
ActionForwarder(Action action)
          Creates a new action listener.
ActionForwarder(Action action, String command)
          Creates a new action listener.
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMAND

public static final String COMMAND
Default command used to trigger the action.

Constant Field Value:
"action"
Since:
0.1.0
Constructor Detail

ActionForwarder

public ActionForwarder(Action action)
Creates a new action listener.

Notes:
Uses COMMAND as command.
Parameters:
action - the action to execute.
Since:
0.1.0

ActionForwarder

public ActionForwarder(Action action,
                       String command)
Creates a new action listener.

Parameters:
action - the action to execute.
command - the command to issue.
Since:
0.1.0
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener
Since:
0.1.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:11
Copyright (c) 2002-2007 Ergon Informatik AG