org.oddjob.designer.components
Class IfDC
java.lang.Object
java.util.Observable
org.oddjob.designer.model.DesignAdult
org.oddjob.designer.components.BaseDC
org.oddjob.designer.components.StructuralDC
org.oddjob.designer.components.IfDC
- All Implemented Interfaces:
- DesignComponent, Structural, StructuralDesignComponent
- public class IfDC
- extends StructuralDC
|
Constructor Summary |
IfDC()
|
| 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 |
IfDC
public IfDC()
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()
addComponentThen
public void addComponentThen(DesignComponent then)
elementThen
public java.lang.Object elementThen()
addComponentElse
public void addComponentElse(DesignComponent otherwise)
elementElse
public java.lang.Object elementElse()
addComponentException
public void addComponentException(DesignComponent exception)
elementException
public java.lang.Object elementException()