com.levigo.jadice.annotation
Class ObjectAnnotation

java.lang.Object
  extended by com.levigo.jadice.annotation.Annotation
      extended by com.levigo.jadice.annotation.ShapeBasedAnnotation
          extended by com.levigo.jadice.annotation.RectangleAnnotation
              extended by com.levigo.jadice.annotation.ObjectAnnotation
All Implemented Interfaces:
PermissionsProvider<Annotation>, PropertiesProvider, MementoOriginator, Cloneable
Direct Known Subclasses:
ImageAnnotation

public class ObjectAnnotation
extends RectangleAnnotation


Field Summary
protected  SeekableInputStream contentStream
           
 
Fields inherited from class com.levigo.jadice.annotation.RectangleAnnotation
shape
 
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
ObjectAnnotation()
           
 
Method Summary
 ObjectAnnotation clone()
           
protected  void copyAttributesTo(Annotation annotation)
          Copy annotation type related attributes to new annotation.
 SeekableInputStream getContentStream()
          Return current content stream.
 void setContentStream(SeekableInputStream contentStream)
          Set content represented by an SeekableInputStream.
 
Methods inherited from class com.levigo.jadice.annotation.RectangleAnnotation
getBounds, getRectangle, getShape, setLocation, setRectangle, setSize, translate
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentStream

protected SeekableInputStream contentStream
Constructor Detail

ObjectAnnotation

public ObjectAnnotation()
Method Detail

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.