|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectturingmachine.CTMData
turingmachine.CTMDataComment
Commment data for corresponding CRM
Field Summary | |
---|---|
private java.awt.Rectangle |
bounds
Comment bounds. |
private java.lang.String |
comment
Comment data. |
(package private) static long |
serialVersionUID
|
Constructor Summary | |
---|---|
CTMDataComment(CTMDocument document,
java.lang.String comment,
java.awt.Rectangle bounds)
Constructor. |
Method Summary | |
---|---|
java.awt.Rectangle |
getBounds()
Get comment rectangle bounds. |
java.lang.String |
getComment()
Get the comment text. |
java.awt.Point |
getLocation()
Get top left hand corner of comment rectangle. |
java.awt.Dimension |
getSize()
Get comment rectangle dimensions. |
void |
setBounds(java.awt.Rectangle bounds)
Set comment rectangle bounds. |
void |
setComment(java.lang.String comment)
Set the comment text. |
Methods inherited from class turingmachine.CTMData |
---|
delete, getDataParent, getDocument, getModificationCount, isDeleted, touch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final long serialVersionUID
private java.lang.String comment
private java.awt.Rectangle bounds
Constructor Detail |
---|
public CTMDataComment(CTMDocument document, java.lang.String comment, java.awt.Rectangle bounds)
document
- CTMDocument Document this data belongs to.comment
- String Comment text.bounds
- Rectangle Rectangular area comment covers.Method Detail |
---|
public java.awt.Point getLocation()
public java.awt.Dimension getSize()
public void setBounds(java.awt.Rectangle bounds)
bounds
- New comment bounds.public java.awt.Rectangle getBounds()
public void setComment(java.lang.String comment)
comment
- String The new comment text.public java.lang.String getComment()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |