public interface Widget extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
HIGH_INVERT |
static int |
HIGH_NONE |
static int |
HIGH_OUTLINE |
static int |
HIGH_PUSH |
static int |
HIGH_TOGGLE |
BORDERSTYLE_BEVELED, BORDERSTYLE_CLOUD, BORDERSTYLE_DASHED, BORDERSTYLE_INSETS, BORDERSTYLE_SOLID, BORDERSTYLE_UNDERLINE, FLAGS_HIDDEN, FLAGS_INVISIBLE, FLAGS_LOCKED, FLAGS_NOROTATE, FLAGS_NOVIEW, FLAGS_NOZOOM, FLAGS_PRINTABLE, FLAGS_READONLY
Modifier and Type | Method and Description |
---|---|
boolean |
canEdit() |
void |
fieldValueChanged() |
String |
getAppearanceState() |
Color |
getBackground() |
Color |
getBorderColor() |
String |
getCaption() |
JComponent |
getEditingComponent() |
com.qoppa.pdf.form.priv.QFormField |
getField() |
int |
getHighlightMode() |
int |
getHorzTextAlign() |
boolean |
isEditable() |
void |
setAppearanceState(String aState) |
void |
setBackground(Color background) |
void |
setBorderColor(Color borderColor) |
void |
setCaption(String caption) |
void |
setField(com.qoppa.pdf.form.priv.QFormField field) |
void |
setHidden(boolean hidden)
Sets this Annotation's HIDDEN flag.
|
void |
setHighlightMode(int highlightMode) |
void |
setPrintable(boolean printable)
Sets the value of the PRINTABLE flag.
|
void |
setWidgetHighlight(boolean highlight)
Flags this widget so that when displayed, it will display a highlight over the
widget.
|
getActions, getBorderStyle, getBorderWidth, getCheckmarkStatus, getColor, getComponent, getContents, getCreator, getFlags, getModifiedDate, getName, getOpacity, getRectangle, getReviewHistory, getSubject, getSubtype, getTriggerActions, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrintable, isReadOnly, paint, print, revalidate, setActions, setBorderStyle, setBorderWidth, setColor, setComponent, setComponentVisible, setCreator, setFlags, setInvisible, setLayer, setLocked, setModifiedDate, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setReadOnly, setRectangle, setSubject, setSubtype, setTriggerActions, shiftRectangle
static final int HIGH_NONE
static final int HIGH_INVERT
static final int HIGH_OUTLINE
static final int HIGH_PUSH
static final int HIGH_TOGGLE
boolean canEdit()
String getAppearanceState()
Color getBackground()
String getCaption()
Color getBorderColor()
int getHighlightMode()
com.qoppa.pdf.form.priv.QFormField getField()
void setHighlightMode(int highlightMode)
void setAppearanceState(String aState)
void setBackground(Color background)
void setBorderColor(Color borderColor)
void setCaption(String caption)
void fieldValueChanged() throws PDFException
PDFException
boolean isEditable()
void setField(com.qoppa.pdf.form.priv.QFormField field)
void setHidden(boolean hidden)
Annotation
setHidden
in interface Annotation
hidden
- The new value of the HIDDEN flag.void setPrintable(boolean printable)
Annotation
setPrintable
in interface Annotation
printable
- The new value for the PRINTABLE flag.JComponent getEditingComponent()
int getHorzTextAlign()
void setWidgetHighlight(boolean highlight)
highlight
- Boolean flag indicating whether the field should be highlighted.