JHotDraw 6.0b1

org.jhotdraw.standard
Class AbstractCommand.EventDispatcher

java.lang.Object
  extended by org.jhotdraw.standard.AbstractCommand.EventDispatcher
Enclosing class:
AbstractCommand

public static class AbstractCommand.EventDispatcher
extends java.lang.Object


Constructor Summary
AbstractCommand.EventDispatcher(Command newObservedCommand)
           
 
Method Summary
 void addCommandListener(CommandListener newCommandListener)
           
 void fireCommandExecutableEvent()
           
 void fireCommandExecutedEvent()
           
 void fireCommandNotExecutableEvent()
           
 void removeCommandListener(CommandListener oldCommandListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCommand.EventDispatcher

public AbstractCommand.EventDispatcher(Command newObservedCommand)
Method Detail

fireCommandExecutedEvent

public void fireCommandExecutedEvent()

fireCommandExecutableEvent

public void fireCommandExecutableEvent()

fireCommandNotExecutableEvent

public void fireCommandNotExecutableEvent()

addCommandListener

public void addCommandListener(CommandListener newCommandListener)

removeCommandListener

public void removeCommandListener(CommandListener oldCommandListener)

JHotDraw 6.0b1