Class XFDFMarkupAnnotation
- java.lang.Object
-
- com.levigo.jadice.annotation.Annotation
-
- com.levigo.jadice.annotation.ShapeBasedAnnotation
-
- com.levigo.jadice.format.xfdf.annotation.XFDFAnnotation
-
- com.levigo.jadice.format.xfdf.annotation.XFDFMarkupAnnotation
-
- All Implemented Interfaces:
PermissionsProvider<Annotation>
,PropertiesProvider
,Cloneable
,MementoOriginator
- Direct Known Subclasses:
XFDFCaretAnnotation
,XFDFCircleAnnotation
,XFDFFreeTextAnnotation
,XFDFInkAnnotation
,XFDFLineAnnotation
,XFDFPolygonAnnotation
,XFDFPolylineAnnotation
,XFDFSquareAnnotation
,XFDFStampAnnotation
,XFDFTextAnnotation
,XFDFTextMarkupAnnotation
public abstract class XFDFMarkupAnnotation extends XFDFAnnotation
An abstract class for all XFDF Markup Annotations
-
-
Field Summary
Fields Modifier and Type Field Description protected String
contentsRichtext
protected String
intent
protected double
opacity
protected XFDFPopupAnnotation
popup
protected List<XFDFTextAnnotation>
replies
protected String
subject
-
Fields inherited from class com.levigo.jadice.format.xfdf.annotation.XFDFAnnotation
contents, flags, rect, title
-
Fields inherited from class com.levigo.jadice.annotation.ShapeBasedAnnotation
allowResize, fillColor, filled, iconified, linePainted, lineWidth, strokeColor, strokeResolution
-
Fields inherited from class com.levigo.jadice.annotation.Annotation
createdAt, createdBy, doFireAnnotationEvents, id, initializer, isModified, lastModifiedAt, lastModifiedBy
-
-
Constructor Summary
Constructors Constructor Description XFDFMarkupAnnotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
copyAttributesTo(Annotation annotation)
Copy annotation type related attributes to new annotation.String
getContentsRichtext()
String
getIntent()
double
getOpacity()
XFDFPopupAnnotation
getPopup()
List<XFDFTextAnnotation>
getReplies()
String
getSubject()
void
setContentsRichtext(String contentsRichtext)
void
setFillColor(Color fillColor)
Sets the fill color (used for filled areas)void
setIntent(String intent)
void
setOpacity(double opacity)
void
setPopup(XFDFPopupAnnotation popup)
void
setStrokeColor(Color strokeColor)
Sets the stroke color (used for lines, borders)void
setSubject(String subject)
-
Methods inherited from class com.levigo.jadice.format.xfdf.annotation.XFDFAnnotation
getContents, getFlags, getRect, getTitle, setContents, setFlags, setLocation, setRect, setSize, setTitle, translate
-
Methods inherited from class com.levigo.jadice.annotation.ShapeBasedAnnotation
createColorWithAlpha, getBounds, getFillColor, getLineWidth, getShape, getStrokeColor, getStrokeResolution, isAllowResize, isFilled, isIconified, isLinePainted, setAllowResize, setFilled, setIconified, setLinePainted, setLineWidth, setStrokeResolution
-
Methods inherited from class com.levigo.jadice.annotation.Annotation
clearModified, clone, createMemento, fireAnnotationChange, getChangeHandler, getCreatedAt, getCreatedBy, getID, getInitializer, getLastModifiedAt, getLastModifiedBy, getModCount, getPermissions, getProperties, getType, initialize, isDoFireAnnotationEvents, isInitialized, isLoadedAnnotation, isModified, restoreFrom, setChangeHandler, setCreatedBy, setCreationTimestamp, setDoFireAnnotationEvents, setID, setInitializer, setLastModifiedBy, setModified, setModifyTimestamp, setType
-
-
-
-
Field Detail
-
opacity
protected double opacity
-
subject
protected String subject
-
intent
protected String intent
-
contentsRichtext
protected String contentsRichtext
-
popup
protected XFDFPopupAnnotation popup
-
replies
protected List<XFDFTextAnnotation> replies
-
-
Method Detail
-
getReplies
public List<XFDFTextAnnotation> getReplies()
-
getOpacity
public double getOpacity()
-
setOpacity
public void setOpacity(double opacity)
-
setFillColor
public void setFillColor(Color fillColor)
Sets the fill color (used for filled areas)- Overrides:
setFillColor
in classShapeBasedAnnotation
- Parameters:
fillColor
- New fill color
-
setStrokeColor
public void setStrokeColor(Color strokeColor)
Sets the stroke color (used for lines, borders)- Overrides:
setStrokeColor
in classShapeBasedAnnotation
- Parameters:
strokeColor
- New stroke color
-
copyAttributesTo
protected void copyAttributesTo(Annotation annotation)
Description copied from class:Annotation
Copy annotation type related attributes to new annotation.- Overrides:
copyAttributesTo
in classXFDFAnnotation
- Parameters:
annotation
- Annotation to set attributes
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
getIntent
public String getIntent()
-
setIntent
public void setIntent(String intent)
-
getContentsRichtext
public String getContentsRichtext()
-
setContentsRichtext
public void setContentsRichtext(String contentsRichtext)
-
getPopup
public XFDFPopupAnnotation getPopup()
-
setPopup
public void setPopup(XFDFPopupAnnotation popup)
-
-