org.rapla.gui
Class RaplaAction

java.lang.Object
  extended by org.rapla.facade.RaplaComponent
      extended by org.rapla.gui.RaplaGUIComponent
          extended by org.rapla.gui.RaplaAction
All Implemented Interfaces:
ActionListener, EventListener, Action

public abstract class RaplaAction
extends RaplaGUIComponent
implements Action


Field Summary
 
Fields inherited from class org.rapla.facade.RaplaComponent
childBundle
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
RaplaAction(RaplaContext sm)
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
           
protected  void firePropertyChange(String propertyName, Object oldValue, Object newValue)
           
 PropertyChangeListener[] getPropertyChangeListeners()
           
 Object getValue(String key)
           
 boolean isEnabled()
           
 void putValue(String key, Object value)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class org.rapla.gui.RaplaGUIComponent
createRaplaCalendar, createRaplaTime, getCalendarOptions, getDateRenderer, getEditController, getFrameList, getInfoFactory, getMainComponent, getReservationController, getSessionMap, getTimeRenderer, isInvokedOnAWTEventQueue, showException, showWarning
 
Methods inherited from class org.rapla.facade.RaplaComponent
canModify, canUserAllocateSomething, checkServiceState, findDescriptor, getAppointmentFormater, getChildBundleName, getClientFacade, getContainer, getContext, getI18n, getIcon, getLocale, getLogger, getModification, getName, getPeriodModel, getQuery, getRaplaLocale, getService, getString, getStringAsHTML, getUpdateModule, getUser, getUserModule, isAdmin, isModifyPreferencesAllowed, isRegisterer, newEditablePreferences, setChildBundleName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

RaplaAction

public RaplaAction(RaplaContext sm)
            throws RaplaException
Throws:
RaplaException
Method Detail

getValue

public Object getValue(String key)
Specified by:
getValue in interface Action

putValue

public void putValue(String key,
                     Object value)
Specified by:
putValue in interface Action

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface Action

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface Action

firePropertyChange

protected void firePropertyChange(String propertyName,
                                  Object oldValue,
                                  Object newValue)

getPropertyChangeListeners

public PropertyChangeListener[] getPropertyChangeListeners()

setEnabled

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

isEnabled

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


Copyright © 2000-2006 Rapla Team. All Rights Reseserved.