|
Oracle Outside In Java API Reference 8.5.3 E57629-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.outsidein.annotations.Annotation
public abstract class Annotation
Abstract base class for HighlightTextAnnotation
and HighlightAreaAnnotation
.
Nested Class Summary | |
---|---|
static class |
Annotation.UnitTypeValue Units that specify how the dimensions and location values of the annotation should be interpreted. |
Field Summary | |
---|---|
protected long |
m_Height |
protected long |
m_Left |
protected float |
m_Opacity |
protected long |
m_Section |
protected long |
m_Top |
protected Annotation.UnitTypeValue |
m_Units |
protected long |
m_UserId |
protected long |
m_Width |
Method Summary | |
---|---|
long |
getHeight() Obtains the height of the annotation object. |
long |
getLeft() Obtains the left coordinate or column where the annotation should be placed. |
float |
getOpacity() Obtains the opacity of the annotation in the range of 0.0 to 1.0. |
long |
getSectionIndex() Obtains the 0-based index of the sheet/image/slide where the annotation will be applied. |
long |
getTop() Obtains the top coordinate or row where the annotation should be placed. |
Annotation.UnitTypeValue |
getUnits() Obtains the units of measurement used for the dimensions and location of the annotation object. |
long |
getUserId() Obtains the numeric user Id associated with this annotation object. |
long |
getWidth() Obtains the width of the annotation object. |
void |
setHeight(long height) Specifies the height of the annotation object. |
void |
setLeft(long left) Specifies the left coordinate or column where the annotation should be placed. |
void |
setOpacity(float opacity) Specifies the opacity of the annotation in the range of 0.0 to 1.0. |
void |
setSectionIndex(long section) Specifies the 0-based index of the sheet/image/slide where the annotation will be applied. |
void |
setTop(long top) Specifies the top coordinate or row where the annotation should be placed. |
void |
setUnits(Annotation.UnitTypeValue units) Specifies the units of measurement used for the dimensions and location of the annotation object. |
void |
setUserId(long userId) Specifies the numeric user Id to associate with this annotation object. |
void |
setWidth(long width) Specifies the width of the annotation object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected long m_Section
protected long m_Top
protected long m_Left
protected long m_Width
protected long m_Height
protected Annotation.UnitTypeValue m_Units
protected long m_UserId
protected float m_Opacity
Method Detail |
---|
public long getSectionIndex()
public void setSectionIndex(long section)
section
- the index of the sectionpublic long getTop()
setUnits(UnitTypeValue)
.public void setTop(long top)
setUnits(UnitTypeValue)
.top
- the value of the top coordinatepublic long getLeft()
setUnits(UnitTypeValue)
.public void setLeft(long left)
setUnits(UnitTypeValue)
.left
- the value of the left coordinatepublic long getWidth()
setUnits(UnitTypeValue)
.public void setWidth(long width)
setUnits(UnitTypeValue)
.width
- the width valuepublic long getHeight()
setUnits(UnitTypeValue)
.public void setHeight(long height)
setUnits(UnitTypeValue)
.height
- the height valuepublic Annotation.UnitTypeValue getUnits()
public void setUnits(Annotation.UnitTypeValue units)
units
- the units of measurementpublic long getUserId()
public void setUserId(long userId)
userId
- the numeric user Idpublic float getOpacity()
public void setOpacity(float opacity) throws OutsideInException
opacity
- the opacity of the annotationOutsideInException
|
Oracle Outside In Java API Reference 8.5.3 E57629-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |