public class HistoryAnnotation extends TextAnnotation
Modifier and Type | Class and Description |
---|---|
static class |
HistoryAnnotation.HistoryPatternPosition |
Modifier and Type | Field and Description |
---|---|
protected String |
secureText
Due to technical reasons the field modifier of the secure text content is protected.
|
bold, defaultText, editable, fontFace, fontSize, horizontalAlignment, italic, rotation, scaleText, strikethrough, text, textColor, underscored
shape
allowResize, fillColor, filled, iconified, linePainted, lineWidth, strokeColor, strokeResolution
createdAt, createdBy, doFireAnnotationEvents, id, initializer, isModified, lastModifiedAt, lastModifiedBy
Constructor and Description |
---|
HistoryAnnotation() |
Modifier and Type | Method and Description |
---|---|
HistoryAnnotation |
clone() |
protected void |
copyAttributesTo(Annotation annotation)
Copy annotation type related attributes to new annotation.
|
String |
getEntireText()
Returns entire text (new text + history pattern + secure text)
|
String |
getHistoryPattern()
Returns current history pattern
|
HistoryAnnotation.HistoryPatternPosition |
getPatternPosition()
Return current pattern position.
|
void |
setEntireText(String entireText)
Sets the entire text, this method should be used by the reader- / writer-implementations.
|
void |
setHistoryPattern(String historyPattern)
Set history pattern displayed as non editable text.
|
void |
setPatternPosition(HistoryAnnotation.HistoryPatternPosition patternPosition)
Set history pattern position, possible values see
HistoryAnnotation.HistoryPatternPosition . |
getBounds, getDefaultText, getFontFace, getFontSize, getHorizontalAlignment, getMaxCharacters, getPathIterator, getRotation, getText, getTextColor, isBold, isEditable, isItalic, isScaleText, isStrikethrough, isUnderscored, setBold, setDefaultText, setEditable, setFontFace, setFontSize, setHorizontalAlignment, setItalic, setMaxCharacters, setRotation, setScaleText, setSize, setStrikethrough, setText, setTextColor, setUnderscored, translate
getRectangle, getShape, setLocation, setRectangle
createColorWithAlpha, getFillColor, getLineWidth, getStrokeColor, getStrokeResolution, isAllowResize, isFilled, isIconified, isLinePainted, setAllowResize, setFillColor, setFilled, setIconified, setLinePainted, setLineWidth, setStrokeColor, setStrokeResolution
clearModified, 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
protected String secureText
secureText
field in any
direct way using the protected field access.public String getEntireText()
public void setEntireText(String entireText)
public HistoryAnnotation clone()
clone
in class TextAnnotation
Object.clone()
protected void copyAttributesTo(Annotation annotation)
Annotation
copyAttributesTo
in class TextAnnotation
annotation
- Annotation to set attributespublic void setHistoryPattern(String historyPattern)
historyPattern
- History pattern to setpublic String getHistoryPattern()
public HistoryAnnotation.HistoryPatternPosition getPatternPosition()
public void setPatternPosition(HistoryAnnotation.HistoryPatternPosition patternPosition)
HistoryAnnotation.HistoryPatternPosition
.Copyright © 2024 levigo holding gmbh. All rights reserved.