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 SummaryNested Classes Modifier and Type Class Description static classPDFAnnotation.LinkAn inner class (and annotation subclass) to support hyperlinks.
 - 
Field SummaryFields Modifier and Type Field Description protected java.util.Map_mapstatic charHighlightInvertstatic charHighlightNonestatic charHighlightOutlinestatic charHighlightPush
 - 
Constructor SummaryConstructors Constructor Description PDFAnnotation(RMRect aRect)Creates a new annotation for the given rect.
 - 
Method SummaryAll 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.RMObjectaddPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange, toString
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
 
- 
 
- 
- 
- 
Field Detail- 
_mapprotected java.util.Map _map 
 - 
HighlightNonepublic static final char HighlightNone - See Also:
- Constant Field Values
 
 - 
HighlightInvertpublic static final char HighlightInvert - See Also:
- Constant Field Values
 
 - 
HighlightOutlinepublic static final char HighlightOutline - See Also:
- Constant Field Values
 
 - 
HighlightPushpublic static final char HighlightPush - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
PDFAnnotationpublic PDFAnnotation(RMRect aRect) Creates a new annotation for the given rect.
 
- 
 - 
Method Detail- 
setTypepublic void setType(java.lang.String s) Sets the type of the annotation.
 - 
setHighlightModepublic void setHighlightMode(char h) Sets the highlight mode of the annotaiton.
 - 
setHasBorderpublic void setHasBorder(boolean b) Sets whether the annotation has a border.
 - 
resolvePageReferencespublic void resolvePageReferences(PDFPagesTree pages, PDFXTable xref, PDFPage thisPage) Tells the annotation to resolve page references.
 - 
getAnnotationMappublic java.util.Map getAnnotationMap() Returns the annotation map.
 
- 
 
-