Methods' Details
|
- collapseToStart
-  
[ oneway ] void
collapseToStart();
- Description
- sets the end of the position to the start.
|
- collapseToEnd
-  
[ oneway ] void
collapseToEnd();
- Description
- sets the start of the position to the end.
|
- isCollapsed
-  
boolean
isCollapsed();
- Description
- determines if the start and end positions are the same.
|
- goLeft
-  
- boolean
goLeft(
[ in ] short |
nCount, |
[ in ] boolean |
bExpand ); |
- Description
- moves the cursor the specified number of characters to the left.
|
- goRight
-  
- boolean
goRight(
[ in ] short |
nCount, |
[ in ] boolean |
bExpand ); |
- Description
- moves the cursor the specified number of characters to the right.
|
- gotoStart
-  
- void
gotoStart(
[ in ] boolean |
bExpand ); |
- Description
- moves the cursor to the start of the text.
|
- gotoEnd
-  
- void
gotoEnd(
[ in ] boolean |
bExpand ); |
- Description
- moves the cursor to the end of the text.
|
- gotoRange
-  
- void
gotoRange(
-
- Description
- moves or expands the cursor to a specified TextRange .
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.