KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > text > DefaultCaret

javax.swing.text
Class DefaultCaret

java.lang.Object
  extended by java.awt.geom.RectangularShape
      extended by java.awt.geom.Rectangle2D
          extended by java.awt.Rectangle
              extended by javax.swing.text.DefaultCaret
All Implemented Interfaces:
FocusListener, MouseListener, MouseMotionListener, Shape, Serializable, Cloneable, EventListener, Caret
Direct Known Subclasses:
BasicTextUI.BasicCaret
See Also:
Source Code, XMLEncoder

public void addChangeListener(ChangeListener l)
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void adjustVisibility(Rectangle nloc)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int ALWAYS_UPDATE
See Also:
getUpdatePolicy(), setUpdatePolicy(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient ChangeEvent changeEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void damage(Rectangle r)
See Also:
paint(java.awt.Graphics)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DefaultCaret()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void deinstall(JTextComponent c)
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean equals(Object obj)
See Also:
Hashtable, Object.hashCode(), Rectangle
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireStateChanged()
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void focusGained(FocusEvent e)
See Also:
FocusListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void focusLost(FocusEvent e)
See Also:
FocusListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getBlinkRate()
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ChangeListener[] getChangeListeners()
See Also:
removeChangeListener(javax.swing.event.ChangeListener), addChangeListener(javax.swing.event.ChangeListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final JTextComponent getComponent()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getDot()
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T extends EventListener> T[] getListeners(Class<T> listenerType)
See Also:
getChangeListeners(), ClassCastException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Point getMagicCaretPosition()
See Also:
Caret.setMagicCaretPosition(java.awt.Point)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getMark()
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Highlighter.HighlightPainter getSelectionPainter()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getUpdatePolicy()
See Also:
ALWAYS_UPDATE, NEVER_UPDATE, UPDATE_WHEN_ON_EDT, setUpdatePolicy(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void install(JTextComponent c)
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isActive()
See Also:
isVisible()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isSelectionVisible()
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isVisible()
See Also:
isActive(), Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected EventListenerList listenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseClicked(MouseEvent e)
See Also:
MouseListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseDragged(MouseEvent e)
See Also:
MouseMotionListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseEntered(MouseEvent e)
See Also:
MouseListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseExited(MouseEvent e)
See Also:
MouseListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseMoved(MouseEvent e)
See Also:
MouseMotionListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mousePressed(MouseEvent e)
See Also:
MouseListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseReleased(MouseEvent e)
See Also:
MouseListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void moveCaret(MouseEvent e)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void moveDot(int dot)
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int NEVER_UPDATE
See Also:
getUpdatePolicy(), setUpdatePolicy(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void paint(Graphics g)
See Also:
damage(java.awt.Rectangle), Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void positionCaret(MouseEvent e)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeChangeListener(ChangeListener l)
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final void repaint()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setBlinkRate(int rate)
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDot(int dot)
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setMagicCaretPosition(Point p)
See Also:
getMagicCaretPosition(), Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectionVisible(boolean vis)
See Also:
Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setUpdatePolicy(int policy)
See Also:
ALWAYS_UPDATE, NEVER_UPDATE, UPDATE_WHEN_ON_EDT, adjustVisibility(java.awt.Rectangle), getUpdatePolicy(), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setVisible(boolean e)
See Also:
isActive(), Caret
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Rectangle
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int UPDATE_WHEN_ON_EDT
See Also:
getUpdatePolicy(), setUpdatePolicy(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags