org.oddjob.designer.components
Class ForEachDC

java.lang.Object
  extended byjava.util.Observable
      extended byorg.oddjob.designer.model.DesignAdult
          extended byorg.oddjob.designer.components.BaseDC
              extended byorg.oddjob.designer.components.StructuralDC
                  extended byorg.oddjob.designer.components.ForEachDC
All Implemented Interfaces:
DesignComponent, Structural, StructuralDesignComponent

public class ForEachDC
extends StructuralDC


Field Summary
 
Fields inherited from class org.oddjob.designer.components.StructuralDC
childHelper
 
Fields inherited from class org.oddjob.designer.components.BaseDC
idField, nameField
 
Fields inherited from class org.oddjob.designer.model.DesignAdult
parent
 
Constructor Summary
ForEachDC()
           
 
Method Summary
 void addComponentChild(DesignComponent child)
           
 SimpleHierarchy availableActions()
           
 java.lang.Object elementChild()
           
 FormDefinition form()
           
 ListDE getValues()
           
 void setValues(ListDE values)
           
 ComponentAction[] transferActions(java.lang.String xml)
          Get the possible actions for a drag and drop or cut and paste.
 
Methods inherited from class org.oddjob.designer.components.StructuralDC
addStructuralListener, childElements, deleteChild, removeStructuralListener, replaceChild
 
Methods inherited from class org.oddjob.designer.components.BaseDC
basePanel, getId, getName, name, name, setId, setName, tag, tag
 
Methods inherited from class org.oddjob.designer.model.DesignAdult
addChild, childCount, children, children, clearChildren, createType, insertChild, parent, removeChild, supportedTypes, supportedTypes
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.oddjob.designer.model.DesignComponent
name, name, tag, tag
 

Constructor Detail

ForEachDC

public ForEachDC()
Method Detail

form

public FormDefinition form()

availableActions

public SimpleHierarchy availableActions()
Specified by:
availableActions in interface DesignComponent
Overrides:
availableActions in class BaseDC

transferActions

public ComponentAction[] transferActions(java.lang.String xml)
Description copied from interface: StructuralDesignComponent
Get the possible actions for a drag and drop or cut and paste.

Parameters:
xml - The xml being transferred.
Returns:
An array of actions. Should not be empty or null.

setValues

public void setValues(ListDE values)

getValues

public ListDE getValues()

addComponentChild

public void addComponentChild(DesignComponent child)

elementChild

public java.lang.Object elementChild()