public class PDAppearanceTools extends Object
PDAppearance instances.| Constructor and Description |
|---|
PDAppearanceTools() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static boolean createState(PDAppearance appearance, String state)
public static PDForm getDownAppearance(PDAppearance appearance, COSName state)
appearance - The PDAppearance structure containing the appearance
descriptionspublic static PDForm getNormalAppearance(PDAppearance appearance, COSName state)
appearance - The PDAppearance structure containing the appearance
descriptionspublic static PDForm getRolloverAppearance(PDAppearance appearance, COSName state)
appearance - The PDAppearance structure containing the appearance
descriptionspublic static void renameState(PDAppearance appearance, String oldState, String newState)
public static void resetAppearance(COSDictionary appearanceDict)
public static void resetAppearance(PDAppearance appearance)
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.