Class PDFAnnotation
- java.lang.Object
-
- com.inductiveautomation.rm.base.RMListenerList
-
- com.inductiveautomation.rm.base.RMObject
-
- com.inductiveautomation.rm.pdf.writer.PDFAnnotation
-
- All Implemented Interfaces:
RMPropertyChanger,java.lang.Cloneable
- Direct Known Subclasses:
PDFAnnotation.Link
public class PDFAnnotation extends RMObject
This class represents a PDF annotation (like a hyperlink).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPDFAnnotation.LinkAn inner class (and annotation subclass) to support hyperlinks.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map_mapstatic charHighlightInvertstatic charHighlightNonestatic charHighlightOutlinestatic charHighlightPush
-
Constructor Summary
Constructors Constructor Description PDFAnnotation(RMRect aRect)Creates a new annotation for the given rect.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.MapgetAnnotationMap()Returns the annotation map.voidresolvePageReferences(PDFPagesTree pages, PDFXTable xref, PDFPage thisPage)Tells the annotation to resolve page references.voidsetHasBorder(boolean b)Sets whether the annotation has a border.voidsetHighlightMode(char h)Sets the highlight mode of the annotaiton.voidsetType(java.lang.String s)Sets the type of the annotation.-
Methods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange, toString
-
Methods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
-
-
-
Field Detail
-
_map
protected java.util.Map _map
-
HighlightNone
public static final char HighlightNone
- See Also:
- Constant Field Values
-
HighlightInvert
public static final char HighlightInvert
- See Also:
- Constant Field Values
-
HighlightOutline
public static final char HighlightOutline
- See Also:
- Constant Field Values
-
HighlightPush
public static final char HighlightPush
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PDFAnnotation
public PDFAnnotation(RMRect aRect)
Creates a new annotation for the given rect.
-
-
Method Detail
-
setType
public void setType(java.lang.String s)
Sets the type of the annotation.
-
setHighlightMode
public void setHighlightMode(char h)
Sets the highlight mode of the annotaiton.
-
setHasBorder
public void setHasBorder(boolean b)
Sets whether the annotation has a border.
-
resolvePageReferences
public void resolvePageReferences(PDFPagesTree pages, PDFXTable xref, PDFPage thisPage)
Tells the annotation to resolve page references.
-
getAnnotationMap
public java.util.Map getAnnotationMap()
Returns the annotation map.
-
-