org.jvnet.lafwidget.ant
Class ContainerGhostingType

java.lang.Object
  extended by DataType
      extended by org.jvnet.lafwidget.ant.ContainerGhostingType

public class ContainerGhostingType
extends DataType

Ant type for storing containerGhosting elements of AugmentContainerGhostingTask task.

Represents the following build snippet:


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


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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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.