intarsys PDF library API

de.intarsys.pdf.pd
Class DefaultAppearance

java.lang.Object
  extended by de.intarsys.pdf.pd.DefaultAppearance

public class DefaultAppearance
extends Object

A internal representation of the parsed CSContent for the default appearance content stream fragment in a PDAcroFormField.


Nested Class Summary
 class DefaultAppearance.DefaultAppearanceDevice
           
 
Constructor Summary
DefaultAppearance(PDAcroFormNode node)
           
 
Method Summary
 PDFont getFont()
           
 float[] getFontColorValues()
          parse the requested font color from the default appearance string
 COSName getFontName()
           
 float getFontSize()
           
 PDAcroFormNode getNode()
           
 void setFont(PDFont font)
           
 void setFontColorValues(float[] color)
           
 void setFontName(COSName pFontName)
           
 void setFontSize(float pFontSize)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAppearance

public DefaultAppearance(PDAcroFormNode node)
Method Detail

getFont

public PDFont getFont()

getFontColorValues

public float[] getFontColorValues()
parse the requested font color from the default appearance string

Returns:
the font color used in the default appearance
Throws:
IllegalStateException

getFontName

public COSName getFontName()

getFontSize

public float getFontSize()

getNode

public PDAcroFormNode getNode()

setFont

public void setFont(PDFont font)

setFontColorValues

public void setFontColorValues(float[] color)

setFontName

public void setFontName(COSName pFontName)

setFontSize

public void setFontSize(float pFontSize)

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.