com.qoppa.pdf.annotations
Class WidgetButton

java.lang.Object
  extended bycom.qoppa.pdf.annotations.Annotation
      extended bycom.qoppa.pdf.annotations.Widget
          extended bycom.qoppa.pdf.annotations.WidgetButton
Direct Known Subclasses:
WidgetCheckBox, WidgetPushButton, WidgetRadioButton

public abstract class WidgetButton
extends Widget


Field Summary
 
Fields inherited from class com.qoppa.pdf.annotations.Widget
HIGH_INVERT, HIGH_NONE, HIGH_OUTLINE, HIGH_PUSH, HIGH_TOGGLE, NUMBER_FORMAT
 
Fields inherited from class 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
 
Constructor Summary
WidgetButton(QFormField field, PDFDictionary widgetDict, boolean keepDict)
           
 
Method Summary
 String getOnValue()
           
 void paintImpl(Graphics g, boolean hasFocus)
           
 void setOnValue(String onValue)
           
 
Methods inherited from class com.qoppa.pdf.annotations.Widget
canEdit, fieldValueChanged, getAppearanceState, getBackground, getBorderColor, getCaption, getDA, getEditingComponent, getField, getFont, getGenNumber, getHighlightMode, getHorzTextAlign, getMarkedContentInfo, getNormalStream, getObjNumber, getPage, getPDFObjectManager, getSubtype, getWidgetDict, isEditable, normalizeRectangle, revalidate, setAppearanceState, setBackground, setBorderColor, setCaption, setDA, setField, setFont, setGenNumber, setHidden, setHighlightMode, setObjNumber, setPage, setPDFObjectManager, setPrintable, setWidgetHighlight
 
Methods inherited from class com.qoppa.pdf.annotations.Annotation
createComponent, getActions, getAppearStream, getBorderStyle, getBorderWidth, getColor, getComponent, getContents, getCreationDate, getCreator, getFlags, getLayer, getName, getOpacity, getPopup, getRectangle, getTriggerActions, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrintable, isReadOnly, paint, print, setActions, setAppearStream, setBorderStyle, setBorderWidth, setColor, setComponent, setComponentVisible, setCreationDate, setCreator, setFlags, setInvisible, setLayer, setLocked, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPopup, setReadOnly, setRectangle, setTriggerActions, shiftRectangle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetButton

public WidgetButton(QFormField field,
                    PDFDictionary widgetDict,
                    boolean keepDict)
Method Detail

getOnValue

public String getOnValue()

setOnValue

public void setOnValue(String onValue)

paintImpl

public void paintImpl(Graphics g,
                      boolean hasFocus)
Overrides:
paintImpl in class Widget