org.jvnet.lafwidget.ant
Class ContainerGhostingType

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by org.jvnet.lafwidget.ant.ContainerGhostingType
All Implemented Interfaces:
java.lang.Cloneable

public class ContainerGhostingType
extends org.apache.tools.ant.types.DataType

Ant type for storing containerGhosting elements of AugmentContainerGhostingTask task.

Represents the following build snippet:


 <containerGhosting className="org.jvnet.substance.SubstanceButtonUI"
 toInjectAfterOriginal="true" />
 

Author:
Kirill Grouchnikov

Field Summary
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
ContainerGhostingType()
          Creates new instance.
 
Method Summary
 java.lang.String getClassName()
          Returns the UI delegate class name.
 boolean isToInjectAfterOriginal()
          Returns indication whether the ghosting should be injected before or after the original code.
 void setClassName(java.lang.String name)
          Sets the UI delegate class name.
 void setToInjectAfterOriginal(boolean toInjectAfterOriginal)
          Returns indication whether the ghosting should be injected before or after the original code.
 
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, tooManyAttributes, toString
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainerGhostingType

public ContainerGhostingType()
Creates new instance.

Method Detail

setClassName

public void setClassName(java.lang.String name)
Sets the UI delegate class name.

Parameters:
name - UI delegate class name.

getClassName

public java.lang.String getClassName()
Returns the UI delegate class name.

Returns:
UI delegate class name.

isToInjectAfterOriginal

public boolean isToInjectAfterOriginal()
Returns indication whether the ghosting should be injected before or after the original code.

Returns:
true if the ghosting should be injected after the original code, false if it should be injected before the original code.

setToInjectAfterOriginal

public void setToInjectAfterOriginal(boolean toInjectAfterOriginal)
Returns indication whether the ghosting should be injected before or after the original code.

Parameters:
toInjectAfterOriginal - true if the ghosting should be injected after the original code, false if it should be injected before the original code.