org.oddjob.designer.components
Class RepeatDC

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.RepeatDC
All Implemented Interfaces:
DesignComponent, Structural, StructuralDesignComponent

public class RepeatDC
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
RepeatDC()
           
 
Method Summary
 void addComponentChild(DesignComponent child)
           
 void addComponentException(DesignComponent exception)
           
 SimpleHierarchy availableActions()
           
 void deleteChild(DesignComponent child)
          Delete a child.
 java.lang.Object elementChild()
           
 java.lang.Object elementException()
           
 FormDefinition form()
           
 ScheduleDE getRetry()
           
 ScheduleDE getSchedule()
           
 void setRetry(ScheduleDE schedule)
           
 void setSchedule(ScheduleDE schedule)
           
 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, 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

RepeatDC

public RepeatDC()
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.

deleteChild

public void deleteChild(DesignComponent child)
Description copied from interface: StructuralDesignComponent
Delete a child.

Specified by:
deleteChild in interface StructuralDesignComponent
Overrides:
deleteChild in class StructuralDC

addComponentChild

public void addComponentChild(DesignComponent child)

elementChild

public java.lang.Object elementChild()

addComponentException

public void addComponentException(DesignComponent exception)

elementException

public java.lang.Object elementException()

setSchedule

public void setSchedule(ScheduleDE schedule)

getSchedule

public ScheduleDE getSchedule()

setRetry

public void setRetry(ScheduleDE schedule)

getRetry

public ScheduleDE getRetry()