public class ButtonWidgetAnnotation extends AbstractWidgetAnnotation<ButtonFieldDictionary>
| Modifier and Type | Field and Description |
|---|---|
protected Name |
originalAppearance |
HIGHLIGHT_NONE, highlightAlpha, highlightColor, highlightModeACTION_KEY, APPEARANCE_STATE_KEY, APPEARANCE_STREAM_DOWN_KEY, APPEARANCE_STREAM_KEY, APPEARANCE_STREAM_NORMAL_KEY, APPEARANCE_STREAM_ROLLOVER_KEY, appearances, BBOX_VALUE, border, BORDER_DASH, BORDER_HORIZONTAL_CORNER_RADIUS, BORDER_KEY, BORDER_STYLE_KEY, BORDER_VERTICAL_CORNER_RADIUS, BORDER_WIDTH, borderStyle, canDrawBorder, changeSupport, color, COLOR_KEY, compressAppearanceStream, content, CONTENTS_KEY, currentAppearance, FLAG_HIDDEN, FLAG_INVISIBLE, FLAG_KEY, FLAG_LOCKED, FLAG_LOCKED_CONTENTS, FLAG_NO_ROTATE, FLAG_NO_VIEW, FLAG_NO_ZOOM, FLAG_PRINT, FLAG_READ_ONLY, FLAG_TOGGLE_NO_VIEW, hasBlendingMode, INVISIBLE_RECTANGLE, M_KEY, modifiedDate, NM_KEY, PARENT_KEY, PARENT_PAGE_KEY, RECTANGLE_KEY, RESOURCES_VALUE, securityManager, subtype, SUBTYPE_CIRCLE, SUBTYPE_FREE_TEXT, SUBTYPE_HIGHLIGHT, SUBTYPE_INK, SUBTYPE_LINE, SUBTYPE_LINK, SUBTYPE_POLYGON, SUBTYPE_POLYLINE, SUBTYPE_POPUP, SUBTYPE_SQUARE, SUBTYPE_TEXT, SUBTYPE_WIDGET, TYPE, TYPE_VALUE, userSpaceRectangle, VISIBLE_RECTANGLEentries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Constructor and Description |
|---|
ButtonWidgetAnnotation(Annotation widgetAnnotation) |
ButtonWidgetAnnotation(Library l,
java.util.HashMap h) |
| Modifier and Type | Method and Description |
|---|---|
ButtonFieldDictionary |
getFieldDictionary() |
boolean |
isOn() |
void |
reset() |
void |
resetAppearanceStream(double dx,
double dy,
java.awt.geom.AffineTransform pageSpace)
Button appearance streams are fixed, all that is done in this method is appearance selected state
is set and the change persisted to the StateManager.
|
Name |
toggle() |
void |
turnOff() |
void |
turnOn() |
checkAppearance, encodeLiteralString, findBoundRectangle, findRectangle, findSelectionRectangle, generateRectangle, getFontSize, getLineHeight, isEnableHighlightedWidget, parseRectanglePoints, renderAppearanceStream, setEnableHighlightedWidget, setHighlightAlpha, setHighlightColoraddAction, addPropertyChangeListener, allowAlterProperties, allowPrintNormalMode, allowScreenDownMode, allowScreenNormalMode, allowScreenOrPrintRenderingOrInteraction, allowScreenRolloverMode, buildAnnotation, deleteAction, deriveDrawingRectangle, getAction, getAppearances, getAppearanceStream, getBbox, getBorder, getBorderStyle, getBorderStyleStroke, getBorderType, getColor, getContents, getCurrentAppearance, getFlagHidden, getFlagInvisible, getFlagLocked, getFlagLockedContents, getFlagNoRotate, getFlagNoView, getFlagNoZoom, getFlagPrint, getFlagReadOnly, getFlagToggleNoView, getLineStyle, getLineThickness, getOrGenerateAppearanceForm, getPage, getParentAnnotation, getShapes, getSubType, getUserSpaceRectangle, hasAppearanceStream, init, isBorder, isSupportedAnnotationType, render, renderBorder, renderBorderTabSelected, resetAppearanceStream, resetNullAppearanceStream, setBBox, setBorderStyle, setColor, setCompressAppearanceStream, setContents, setCurrentAppearance, setFlag, setModifiedDate, setSubtype, setUserSpaceRectangle, syncBBoxToUserSpaceRectangle, toString, updateActiongetEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, isDeleted, isNew, setDeleted, setNew, setPObjectReferenceprotected Name originalAppearance
public ButtonWidgetAnnotation(Library l, java.util.HashMap h)
public ButtonWidgetAnnotation(Annotation widgetAnnotation)
public void resetAppearanceStream(double dx,
double dy,
java.awt.geom.AffineTransform pageSpace)
resetAppearanceStream in class AbstractWidgetAnnotation<ButtonFieldDictionary>dx - current location of the annotationdy - current location of the annotationpageSpace - current page space.public void reset()
reset in class AbstractWidgetAnnotation<ButtonFieldDictionary>public void turnOff()
public boolean isOn()
public Name toggle()
public void turnOn()
public ButtonFieldDictionary getFieldDictionary()
getFieldDictionary in class AbstractWidgetAnnotation<ButtonFieldDictionary>