Package org.pushingpixels.lafwidget.ant
Class AugmentIconGhostingTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.pushingpixels.lafwidget.ant.AugmentIconGhostingTask
-
- All Implemented Interfaces:
Cloneable
public class AugmentIconGhostingTask extends org.apache.tools.ant.Task
Ant task for augmenting LAF classes with icon ghosting functionality. Is based on JiBX ant task (BSD-licensed).
-
-
Constructor Summary
Constructors Constructor Description AugmentIconGhostingTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClassPathSet(org.apache.tools.ant.types.FileSet fSet)
void
addIconGhosting(IconGhostingType iconGhosting)
Adds information on a single class-method pair for injecting the icon ghosting code.org.apache.tools.ant.types.Path
createClasspath()
Creates the classpath for this task and returns it.void
execute()
org.apache.tools.ant.types.Path
getClasspath()
Returns the current classpath.void
init()
void
setClasspath(org.apache.tools.ant.types.Path classpath)
Sets the classpath for this task.void
setVerbose(boolean bool)
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
init
public void init() throws org.apache.tools.ant.BuildException
- Overrides:
init
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
execute
public void execute() throws org.apache.tools.ant.BuildException
- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
addClassPathSet
public void addClassPathSet(org.apache.tools.ant.types.FileSet fSet)
- Parameters:
fSet
-
-
addIconGhosting
public void addIconGhosting(IconGhostingType iconGhosting)
Adds information on a single class-method pair for injecting the icon ghosting code.- Parameters:
iconGhosting
- Class-method pair for injecting the icon ghosting code.
-
getClasspath
public org.apache.tools.ant.types.Path getClasspath()
Returns the current classpath.- Returns:
- Current classpath.
-
setClasspath
public void setClasspath(org.apache.tools.ant.types.Path classpath)
Sets the classpath for this task. Multiple calls append the new classpath to the current one, rather than overwriting it.- Parameters:
classpath
- The new classpath as a Path object.
-
createClasspath
public org.apache.tools.ant.types.Path createClasspath()
Creates the classpath for this task and returns it. If the classpath has already been created, the method just returns that one.- Returns:
- The created classpath.
-
setVerbose
public void setVerbose(boolean bool)
- Parameters:
bool
-
-
-