|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.lafwidget.ant.ContainerGhostingAugmenter
public class ContainerGhostingAugmenter
Augments the UI classes with ghosting painting. Is based on sample adapter from ASM distribution.
Nested Class Summary | |
---|---|
protected class |
ContainerGhostingAugmenter.AugmentClassAdapter
Adapter for augmenting a single class. |
Constructor Summary | |
---|---|
ContainerGhostingAugmenter()
|
Method Summary | |
---|---|
protected void |
augmentClass(java.lang.String dir,
java.lang.String name,
boolean toInjectAfterOriginal)
Augments a single class with image ghosting UI behaviour. |
static void |
main(java.lang.String[] args)
Test method. |
void |
process(java.lang.String toStrip,
java.io.File file,
java.util.List<ContainerGhostingType> ids)
Processes a single file or a directory, augmenting all relevant classes. |
void |
setVerbose(boolean isVerbose)
Sets the verbosity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContainerGhostingAugmenter()
Method Detail |
---|
protected void augmentClass(java.lang.String dir, java.lang.String name, boolean toInjectAfterOriginal)
dir
- Root directory for the library that contains the class.name
- Fully-qualified class name.toInjectAfterOriginal
- true
if the code needs to be injected after the
call to the original implementation.
AugmentException
- If the augmentation process failed.public void process(java.lang.String toStrip, java.io.File file, java.util.List<ContainerGhostingType> ids) throws AugmentException
toStrip
- The leading prefix to strip from the file names. Is used to
create fully-qualified class name.file
- File resource (can point to a single file or to a directory).ids
- List of class-method pairs to augment.
AugmentException
- If the augmentation process failed.public void setVerbose(boolean isVerbose)
isVerbose
- New value for augmentation process verbosity.public static void main(java.lang.String[] args) throws AugmentException
args
-
AugmentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |