|
jPod PDF library | |||||||||
| 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 boolean |
createState(PDAppearance appearance,
String state)
|
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)
|
static void |
resetAppearance(COSDictionary appearanceDict)
|
static void |
resetAppearance(PDAppearance appearance)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDAppearanceTools()
| Method Detail |
|---|
public static boolean createState(PDAppearance appearance,
String state)
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)
public static void resetAppearance(COSDictionary appearanceDict)
public static void resetAppearance(PDAppearance appearance)
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||