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

Variable Index

 o doit
Determines whether the cursor movement should be allowed.

Constructor Index

 o JCTextCursorEvent(JCTextComponent, int, int)

Method Index

 o getAllowMovement()
Determines whether the cursor movement should be allowed.
 o getCurrentPosition()
Gets the current cursor position.
 o getNewPosition()
Gets the new cursor position.
 o paramString()
 o setAllowMovement(boolean)
Determines whether the cursor movement should be allowed (default: true).
 o setNewPosition(int)
Sets the new cursor position.

Variables

 o doit
 public boolean doit
Determines whether the cursor movement should be allowed.

Constructors

 o JCTextCursorEvent
 public JCTextCursorEvent(JCTextComponent comp,
                          int current,
                          int new_pos)

Methods

 o getCurrentPosition
 public int getCurrentPosition()
Gets the current cursor position.

 o getNewPosition
 public int getNewPosition()
Gets the new cursor position.

 o setNewPosition
 public void setNewPosition(int v)
Sets the new cursor position.

 o getAllowMovement
 public boolean getAllowMovement()
Determines whether the cursor movement should be allowed.

 o setAllowMovement
 public void setAllowMovement(boolean v)
Determines whether the cursor movement should be allowed (default: true).

 o paramString
 public String paramString()
Overrides:
paramString in class AWTEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index