org.oddjob.designer.components
Class BaseDC
java.lang.Object
java.util.Observable
org.oddjob.designer.model.DesignAdult
org.oddjob.designer.components.BaseDC
- All Implemented Interfaces:
- DesignComponent
- Direct Known Subclasses:
- ClientDC, CopyDC, DeleteDC, EchoDC, EmptyDC, ExecDC, ExistsDC, HsqldbDC, JustJobDC, MkdirDC, OddjobDC, RenameDC, ResetJobDC, ScheduleDC, SchedulerDC, ScriptDC, ServerDC, SqlDC, StartJobDC, StructuralDC, TimerDC, TriggerDC, UnscheduleDC, VariablesDC, WaitDC
- public abstract class BaseDC
- extends DesignAdult
- implements DesignComponent
The base class which provides default implementation for
a standard DesignComponent.
This class extends DesignAdult so that a component may have
DesignElement children if required.
| Methods inherited from class org.oddjob.designer.model.DesignAdult |
addChild, childCount, childElements, 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 |
idField
protected SimpleDE idField
nameField
protected SimpleDE nameField
BaseDC
public BaseDC()
availableActions
public SimpleHierarchy availableActions()
- Specified by:
availableActions in interface DesignComponent
getId
public SimpleDE getId()
- Returns:
- Returns the id.
setId
public void setId(SimpleDE id)
- Parameters:
id - The id to set.
getName
public SimpleDE getName()
setName
public void setName(SimpleDE name)
name
public java.lang.String name()
- Description copied from interface:
DesignComponent
- Used to name the component in the Designer tree view. This is not
a getter because the name would appear in the XML where it may not
be a required attribute.
- Specified by:
name in interface DesignComponent
- Returns:
- The tag name.
name
public void name(java.lang.String name)
- Description copied from interface:
DesignComponent
- Used by the DesignFactory to provide the component with a default name.
- Specified by:
name in interface DesignComponent
- Parameters:
name - The name
tag
public java.lang.String tag()
- Description copied from interface:
DesignComponent
- Required for producing the XML.
- Specified by:
tag in interface DesignComponent
- Returns:
- The tag name.
tag
public void tag(java.lang.String tag)
- Description copied from interface:
DesignComponent
- Used by the DesignFactory to provide the component with it's tag.
- Specified by:
tag in interface DesignComponent
- Parameters:
tag - The tag.
basePanel
public FieldGroup basePanel()