|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextAttachment
A text attachment.
Each text attachment has the following attributes in addition to
those defined for
annotations
in general.
work part
to which the annotation is attached.
target
of the annotation - the text range to which it is
attached.
Method Summary | |
---|---|
TextRange |
getTarget()
Gets the target. |
WorkPart |
getWorkPart()
Gets the work part. |
void |
setTarget(TextRange target)
Sets the target. |
void |
setWorkPart(WorkPart workPart)
Sets the work part. |
Methods inherited from interface edu.northwestern.at.wordhoard.model.annotations.Attachment |
---|
equals, getCategory, getId, getText, hashCode, setCategory, setText |
Method Detail |
---|
WorkPart getWorkPart()
void setWorkPart(WorkPart workPart)
workPart
- The work part. TextRange getTarget()
void setTarget(TextRange target)
target
- The target - the range of text to which this
annotation is attached.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |