All Packages Class Hierarchy This Package Previous Next Index
Class jclass.bwt.JCTextCursorEvent
java.lang.Object
|
+----java.util.EventObject
|
+----java.awt.AWTEvent
|
+----jclass.bwt.JCAWTEvent
|
+----jclass.bwt.JCTextCursorEvent
- public class JCTextCursorEvent
- extends JCAWTEvent
JCTextCursorEvent is posted by a JCTextComponent when its cursor moves.
- See Also:
- JCTextCursorAdapter, JCTextCursorListener, addTextCursorListener
-
doit
- Determines whether the cursor movement should be allowed.
-
JCTextCursorEvent(JCTextComponent, int, int)
-
-
getAllowMovement()
- Determines whether the cursor movement should be allowed.
-
getCurrentPosition()
- Gets the current cursor position.
-
getNewPosition()
- Gets the new cursor position.
-
paramString()
-
-
setAllowMovement(boolean)
- Determines whether the cursor movement should be allowed (default: true).
-
setNewPosition(int)
- Sets the new cursor position.
doit
public boolean doit
- Determines whether the cursor movement should be allowed.
JCTextCursorEvent
public JCTextCursorEvent(JCTextComponent comp,
int current,
int new_pos)
getCurrentPosition
public int getCurrentPosition()
- Gets the current cursor position.
getNewPosition
public int getNewPosition()
- Gets the new cursor position.
setNewPosition
public void setNewPosition(int v)
- Sets the new cursor position.
getAllowMovement
public boolean getAllowMovement()
- Determines whether the cursor movement should be allowed.
setAllowMovement
public void setAllowMovement(boolean v)
- Determines whether the cursor movement should be allowed (default: true).
paramString
public String paramString()
- Overrides:
- paramString in class AWTEvent
All Packages Class Hierarchy This Package Previous Next Index