com.taco.swinger.text2gui
Class ContainerConverter.SetContentsAction

java.lang.Object
  extended by com.taco.swinger.text2gui.ContainerConverter.SetContentsAction
All Implemented Interfaces:
CompositeConverter.ISetPropertyAction
Enclosing class:
ContainerConverter

protected class ContainerConverter.SetContentsAction
extends java.lang.Object
implements CompositeConverter.ISetPropertyAction

An action that sets the contents of the container. This needs to be an inner class so it can access the component converter, which has the strategy needed to add a component to the container.


Constructor Summary
ContainerConverter.SetContentsAction()
           
 
Method Summary
 void setProperty(java.lang.Object composite, java.lang.Object propertyKey, java.lang.Object propertyValue, java.util.Map propertyMap)
          Set the property of the composite.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerConverter.SetContentsAction

public ContainerConverter.SetContentsAction()
Method Detail

setProperty

public void setProperty(java.lang.Object composite,
                        java.lang.Object propertyKey,
                        java.lang.Object propertyValue,
                        java.util.Map propertyMap)
Description copied from interface: CompositeConverter.ISetPropertyAction
Set the property of the composite.

Specified by:
setProperty in interface CompositeConverter.ISetPropertyAction