| 
 |   | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Unsafe:
| Method Summary | |
|  void | addChangeListener(ChangeListener l)Enabled: Adds a listener to track whenever the caret position has been changed. | 
|  void | deinstall(JTextComponent c)Suppressed: Called when the UI is being removed from the interface of a JTextComponent. | 
|  int | getBlinkRate()Enabled: Gets the blink rate of the caret. | 
|  int | getDot()Enabled: Fetches the current position of the caret. | 
|  Point | getMagicCaretPosition()Enabled: Gets the current caret visual location. | 
|  int | getMark()Enabled: Fetches the current position of the mark. | 
|  void | install(JTextComponent c)Suppressed: Called when the UI is being installed into the interface of a JTextComponent. | 
|  boolean | isSelectionVisible()Enabled: Determines if the selection is currently visible. | 
|  boolean | isVisible()Enabled: Determines if the caret is currently visible. | 
|  void | moveDot(int dot)Enabled: Moves the caret position (dot) to some other position, leaving behind the mark. | 
|  void | paint(Graphics g)Suppressed: Renders the caret. | 
|  void | removeChangeListener(ChangeListener l)Enabled: Removes a listener that was tracking caret position changes. | 
|  void | setBlinkRate(int rate)Suppressed: Sets the blink rate of the caret. | 
|  void | setDot(int dot)Enabled: Sets the caret position to some position. | 
|  void | setMagicCaretPosition(Point p)Suppressed: Set the current caret visual location. | 
|  void | setSelectionVisible(boolean v)Enabled: Sets the visibility of the selection | 
|  void | setVisible(boolean v)Suppressed: Sets the visibility of the caret. | 
| Method Detail | 
public void install(JTextComponent c)
c - the JTextComponentpublic void deinstall(JTextComponent c)
c - the JTextComponentpublic void paint(Graphics g)
g - the graphics contextpublic void addChangeListener(ChangeListener l)
l - the change listenerpublic void removeChangeListener(ChangeListener l)
l - the change listenerpublic boolean isVisible()
public void setVisible(boolean v)
v - true if the caret should be shown,
  and false if the caret should be hiddenpublic boolean isSelectionVisible()
public void setSelectionVisible(boolean v)
v - true if the caret should be shown,
  and false if the caret should be hiddenpublic void setMagicCaretPosition(Point p)
p - the Point to use for the saved position.  This
   can be null to indicate there is no visual location.public Point getMagicCaretPosition()
setMagicCaretPosition(java.awt.Point)public void setBlinkRate(int rate)
rate - the delay in milliseconds >= 0.  If this is
  zero the caret will not blink.public int getBlinkRate()
public int getDot()
public int getMark()
public void setDot(int dot)
dot - the new position to set the caret to >= 0public void moveDot(int dot)
dot - the new position to move the caret to >= 0| 
 |   | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
