|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.pd.PDAppearanceTools
public class PDAppearanceTools
A tool class for common tasks with PDAppearance
instances.
Constructor Summary | |
---|---|
PDAppearanceTools()
|
Method Summary | |
---|---|
static PDForm |
getDownAppearance(PDAppearance appearance,
COSName state)
Given a PDAppearance, return the /D (down) appearance for the state "state". |
static PDForm |
getNormalAppearance(PDAppearance appearance,
COSName state)
Given a PDAppearance, return the /N (normal) appearance for the state "state". |
static PDForm |
getRolloverAppearance(PDAppearance appearance,
COSName state)
Given a PDAppearance, return the /R (rollover) appearance for the state "state". |
static void |
renameState(PDAppearance appearance,
String oldState,
String newState)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDAppearanceTools()
Method Detail |
---|
public static PDForm getDownAppearance(PDAppearance appearance, COSName state)
appearance
- The PDAppearance structure containing the appearance
descriptions
public static PDForm getNormalAppearance(PDAppearance appearance, COSName state)
appearance
- The PDAppearance structure containing the appearance
descriptions
public static PDForm getRolloverAppearance(PDAppearance appearance, COSName state)
appearance
- The PDAppearance structure containing the appearance
descriptions
public static void renameState(PDAppearance appearance, String oldState, String newState)
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |