org.oddjob.designer.components
Class FolderDC

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.InsertableDC
                      extended byorg.oddjob.designer.components.FolderDC
All Implemented Interfaces:
DesignComponent, InsertableDesignComponent, Structural, StructuralDesignComponent

public class FolderDC
extends InsertableDC


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
FolderDC()
           
 
Method Summary
 void addComponent(java.lang.Object child)
           
 SimpleHierarchy availableActions()
           
 ElementWrapper[] elements()
           
 FormDefinition form()
           
 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.InsertableDC
insertChild
 
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.StructuralDesignComponent
deleteChild, replaceChild
 
Methods inherited from interface org.oddjob.designer.model.DesignComponent
name, name, tag, tag
 

Constructor Detail

FolderDC

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

addComponent

public void addComponent(java.lang.Object child)

elements

public ElementWrapper[] elements()