|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
BLOCK
A constant designating a block comment. |
static int |
DOC
A constant designating a documentation comment. |
static int |
LINE
A constant designating a line comment. |
static int |
NONE
A constant designating an improperly formatted comment. |
Method Summary | |
JotDocComment |
getAsDocComment()
Retrieves this comment as a doc comment. |
java.lang.String |
getCommentText()
Retrieves the comment text of this JotComment instance. |
java.lang.String |
getText()
Deprecated. |
int |
getType()
Retrieves the type of comment represented by this JotComment instance. |
void |
setCommentText(java.lang.String text)
Sets the comment text of this comment. |
Field Detail |
public static final int NONE
public static final int BLOCK
public static final int LINE
public static final int DOC
Method Detail |
public int getType()
public java.lang.String getText()
public java.lang.String getCommentText()
public void setCommentText(java.lang.String text)
text
- the new text of the comment.public JotDocComment getAsDocComment()
null
is returned.
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.