|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface representing a Rubber Stamp annotation in a PDF document.
| Field Summary | |
static String |
APPROVED
|
static String |
ASIS
|
static String |
CONFIDENTIAL
|
static String |
DEPARTMENTAL
|
static String |
DRAFT
|
static String |
EXPERIMENTAL
|
static String |
EXPIRED
|
static String |
FINAL
|
static String |
FORCOMMENT
|
static String |
FORPUBLICRELEASE
|
static String |
NOTAPPROVED
|
static String |
NOTFORPUBLICRELEASE
|
static String |
SOLD
|
static String |
TOPSECRET
|
| Fields inherited from interface com.qoppa.pdf.annotations.Annotation |
BORDERSTYLE_BEVELED, BORDERSTYLE_DASHED, BORDERSTYLE_INSETS, BORDERSTYLE_SOLID, BORDERSTYLE_UNDERLINE, FLAGS_HIDDEN, FLAGS_INVISIBLE, FLAGS_LOCKED, FLAGS_NOROTATE, FLAGS_NOVIEW, FLAGS_NOZOOM, FLAGS_PRINTABLE, FLAGS_READONLY |
| Method Summary | |
Image |
createImage(double scale,
int maxWidth,
int maxHeight)
Return an image for the current stamp. |
String |
getContents()
Returns the annotation's text content. |
String |
getIconName()
If this stamp was created using a default predefined stamp, returns the stamp's predefined name. |
Image |
getImage()
If this stamp was created from an image, then it returns the image that it was created from. |
int |
getRotation()
Gets the rotation. |
void |
setContents(String contents)
Sets the annotation's text content. |
void |
setIconName(String iconName)
Sets the name of the predefined stamp from the PDF format specs. |
void |
setImage(Image image)
|
void |
setRotation(int rotation)
Sets the rotation for standard or image stamps that do not have an appearance stream yet. |
void |
setRunInfo(Hashtable runInfo)
Sets information used for stamps that have dynamic fields, such as the current date and time. |
| Methods inherited from interface com.qoppa.pdf.annotations.Annotation |
getActions, getBorderStyle, getBorderWidth, getColor, getComponent, getCreationDate, getCreator, getFlags, getName, getOpacity, getRectangle, getSubtype, getTriggerActions, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrintable, isReadOnly, paint, paint, print, revalidate, setActions, setBorderStyle, setBorderWidth, setColor, setComponent, setComponentVisible, setCreationDate, setCreator, setFlags, setHidden, setInvisible, setLayer, setLocked, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPrintable, setReadOnly, setRectangle, setSubtype, setTriggerActions, shiftRectangle |
| Field Detail |
public static final String ASIS
public static final String APPROVED
public static final String CONFIDENTIAL
public static final String DEPARTMENTAL
public static final String DRAFT
public static final String EXPERIMENTAL
public static final String EXPIRED
public static final String FINAL
public static final String FORCOMMENT
public static final String FORPUBLICRELEASE
public static final String NOTAPPROVED
public static final String NOTFORPUBLICRELEASE
public static final String SOLD
public static final String TOPSECRET
| Method Detail |
public void setRunInfo(Hashtable runInfo)
runInfo -
public Image createImage(double scale,
int maxWidth,
int maxHeight)
maxWidth - Maximum width desired for the image. If the natural image is larger than this, the image will be rescaled.maxHeight - Maximum height desired for the image. If the natural image is larger than this, the image will be rescaled.
public String getIconName()
public String getContents()
getContents in interface Annotationpublic void setContents(String contents)
contents - The new content.public void setIconName(String iconName)
iconName - The predefined name.public Image getImage()
public void setImage(Image image)
public int getRotation()
public void setRotation(int rotation)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||