com.tirsen.angkor.event
Class AbstractAction

java.lang.Object
  |
  +--com.tirsen.angkor.event.AbstractAction
All Implemented Interfaces:
Action, ActionListener, java.util.EventListener, java.io.Serializable
Direct Known Subclasses:
MenuItem.GotoAction

public abstract class AbstractAction
extends java.lang.Object
implements Action, java.io.Serializable

Provides default implementations for the Action interface.

Version:
$Revision: 1.3 $
Author:
$Author: tirsen $
See Also:
Action, Serialized Form

Field Summary
 
Fields inherited from interface com.tirsen.angkor.event.Action
DEFAULT, DESCRIPTION, IMAGE_URL, NAME
 
Constructor Summary
AbstractAction()
           
AbstractAction(java.lang.String name)
           
 
Method Summary
 java.lang.Object getValue(java.lang.String property)
           
 boolean isEnabled()
           
 void putValue(java.lang.String property, java.lang.Object o)
           
 void setEnabled(boolean enabled)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.tirsen.angkor.event.ActionListener
actionPerformed
 

Constructor Detail

AbstractAction

public AbstractAction(java.lang.String name)

AbstractAction

public AbstractAction()
Method Detail

getValue

public java.lang.Object getValue(java.lang.String property)
Specified by:
getValue in interface Action

putValue

public void putValue(java.lang.String property,
                     java.lang.Object o)
Specified by:
putValue in interface Action

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface Action

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface Action

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2002 . All Rights Reserved.