it.amattioli.applicate.commands
Class CommandDecorator

Show UML class diagram
java.lang.Object
  extended by org.apache.commons.beanutils.WrapDynaBean
      extended by it.amattioli.applicate.commands.CommandDecorator
All Implemented Interfaces:
Command, DynaCommand, it.amattioli.dominate.util.PropertyChangeEmitter, Serializable, Map, org.apache.commons.beanutils.DynaBean

public abstract class CommandDecorator
extends org.apache.commons.beanutils.WrapDynaBean
implements DynaCommand

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class org.apache.commons.beanutils.WrapDynaBean
dynaClass, instance
 
Constructor Summary
CommandDecorator(Command decorated)
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void cancelCommand()
           
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 void doCommand()
          Execute this command.
 Set entrySet()
           
 Object get(Object key)
           
 Command getDecorated()
           
 boolean isEmpty()
           
 Set keySet()
           
 Object put(Object key, Object value)
           
 void putAll(Map t)
           
 Object remove(Object key)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 int size()
           
 Collection values()
           
 
Methods inherited from class org.apache.commons.beanutils.WrapDynaBean
contains, get, get, get, getDynaClass, getDynaProperty, getInstance, remove, set, set, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.amattioli.applicate.commands.Command
addCommandListener, addCommandListener
 
Methods inherited from interface org.apache.commons.beanutils.DynaBean
contains, get, get, get, getDynaClass, remove, set, set, set
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

CommandDecorator

public CommandDecorator(Command decorated)
Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface it.amattioli.dominate.util.PropertyChangeEmitter

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface it.amattioli.dominate.util.PropertyChangeEmitter

getDecorated

public Command getDecorated()

doCommand

public void doCommand()
               throws ApplicationException
Description copied from interface: Command
Execute this command.

Specified by:
doCommand in interface Command
Throws:
ApplicationException

cancelCommand

public void cancelCommand()
Specified by:
cancelCommand in interface Command

clear

public void clear()
Specified by:
clear in interface Map

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map

get

public Object get(Object key)
Specified by:
get in interface Map

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map

keySet

public Set keySet()
Specified by:
keySet in interface Map

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map

putAll

public void putAll(Map t)
Specified by:
putAll in interface Map

remove

public Object remove(Object key)
Specified by:
remove in interface Map

size

public int size()
Specified by:
size in interface Map

values

public Collection values()
Specified by:
values in interface Map


Copyright © 2011. All Rights Reserved.