|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents an import
declaration. See section 7.5
in the Java Language Specification for more information.
Method Summary | |
java.lang.String |
getClassName()
Returns the short class name of the imported package or class. |
java.lang.String |
getName()
Returns the full name of the imported package or class. |
java.lang.String |
getPackage()
Returns the package of the imported package or class. |
boolean |
refersTo(java.lang.String thatIdent)
Returns true if the specified class name is included in the set
of classes imported by this declaration. |
void |
setClassName(java.lang.String className)
Modifies the short class name of the imported package or class. |
void |
setName(java.lang.String fullName)
Sets the full name of the imported package or class. |
void |
setPackage(java.lang.String packageName)
Changes the package of the imported package or class. |
Methods inherited from interface com.borland.jbuilder.jot.JotMarker |
addUserData, getEndPosition, getStartPosition, getUserData |
Method Detail |
public java.lang.String getName()
Some example return values might be:
- com.borland.jbuilder.jot.*
- com.borland.jbuilder.jot.JotImport
public void setName(java.lang.String fullName)
Some example arguments might be:
- com.borland.jbuilder.jot.*
- com.borland.jbuilder.jot.JotImport
public java.lang.String getPackage()
public void setPackage(java.lang.String packageName)
public java.lang.String getClassName()
"*"
.public void setClassName(java.lang.String className)
public boolean refersTo(java.lang.String thatIdent)
true
if the specified class name is included in the set
of classes imported by this declaration.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |