com.levigo.jadice.annotation
Class ObjectAnnotation
java.lang.Object
com.levigo.jadice.annotation.Annotation
com.levigo.jadice.annotation.ShapeBasedAnnotation
com.levigo.jadice.annotation.RectangleAnnotation
com.levigo.jadice.annotation.ObjectAnnotation
- All Implemented Interfaces:
- PermissionsProvider<Annotation>, PropertiesProvider, MementoOriginator, Cloneable
- Direct Known Subclasses:
- ImageAnnotation
public class ObjectAnnotation
- extends RectangleAnnotation
Methods inherited from class com.levigo.jadice.annotation.ShapeBasedAnnotation |
createColorWithAlpha, getFillColor, getLineWidth, getStrokeColor, getStrokeResolution, isAllowResize, isFilled, isIconified, isLinePainted, setAllowResize, setFillColor, setFilled, setIconified, setLinePainted, setLineWidth, setStrokeColor, setStrokeResolution |
Methods inherited from class com.levigo.jadice.annotation.Annotation |
clearModified, createMemento, fireAnnotationChange, getChangeHandler, getCreatedAt, getCreatedBy, getID, getInitializer, getLastModifiedAt, getLastModifiedBy, getModCount, getPermissions, getProperties, getType, initialize, isDoFireAnnotationEvents, isInitialized, isModified, restoreFrom, setChangeHandler, setCreatedBy, setCreationTimestamp, setDoFireAnnotationEvents, setID, setInitializer, setLastModifiedBy, setModified, setModifyTimestamp, setType |
contentStream
protected SeekableInputStream contentStream
ObjectAnnotation
public ObjectAnnotation()
getContentStream
public SeekableInputStream getContentStream()
- Return current content stream.
- Returns:
- Content represented by an
SeekableInputStream
setContentStream
public void setContentStream(SeekableInputStream contentStream)
throws JadiceException
- Set content represented by an
SeekableInputStream
.
- Parameters:
contentStream
- Content stream of this object annotation
- Throws:
JadiceException
copyAttributesTo
protected void copyAttributesTo(Annotation annotation)
- Description copied from class:
Annotation
- Copy annotation type related attributes to new annotation.
- Overrides:
copyAttributesTo
in class RectangleAnnotation
- Parameters:
annotation
- Annotation to set attributes
clone
public ObjectAnnotation clone()
- Overrides:
clone
in class RectangleAnnotation
- See Also:
Object.clone()
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.