org.openpermis.editor.policy.gui
Class MethodForwarder

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

public class MethodForwarder
extends Object
implements ActionListener

Action listener that triggers a method on execution via reflection.

Since:
0.9.0

Constructor Summary
MethodForwarder(Object target, String methodName)
          Creates a new action listener.
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodForwarder

public MethodForwarder(Object target,
                       String methodName)
Creates a new action listener.

Parameters:
target - the target for which to trigger a method.
methodName - the name of the method to trigger.
Since:
0.9.0
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Specified by:
actionPerformed in interface ActionListener
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG