rle.simple.ui
Class ItemUiActionBase

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by rle.core.ui.UiActionBase
          extended by rle.simple.ui.ItemUiActionBase
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, UiAction, PlugIn, ItemUiAction
Direct Known Subclasses:
Drop, Eat, TakeOff, Throw, Wear

public abstract class ItemUiActionBase
extends UiActionBase
implements ItemUiAction, java.lang.Cloneable

Convenience implementation for Item Actions

See Also:
Serialized Form

Field Summary
protected  ItemCommands command
           
protected  int row
           
protected  ItemTable table
           
 
Fields inherited from class rle.core.ui.UiActionBase
config, context, parameters
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ItemUiActionBase()
           
 
Method Summary
 void configure(ItemCommands command, int row)
           
 
Methods inherited from class rle.core.ui.UiActionBase
actionPerformed, config, getContext, getEvent, getParameters, paramMap, setConfig, setParameters
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface rle.core.ui.UiAction
doAction, getEvent
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 
Methods inherited from interface rle.core.vm.PlugIn
config, getContext, paramMap, setConfig, setParameters
 

Field Detail

command

protected ItemCommands command

table

protected ItemTable table

row

protected int row
Constructor Detail

ItemUiActionBase

public ItemUiActionBase()
Method Detail

configure

public void configure(ItemCommands command,
                      int row)
Specified by:
configure in interface ItemUiAction