Java™ Platform
Standard Ed. 6

Uses of Interface

Packages that use Caret
javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 

Uses of Caret in javax.swing.plaf.basic

Classes in javax.swing.plaf.basic that implement Caret
static class BasicTextUI.BasicCaret

Methods in javax.swing.plaf.basic that return Caret
protected  Caret BasicTextUI.createCaret()
          Creates the object to use for a caret.

Uses of Caret in javax.swing.text

Classes in javax.swing.text that implement Caret
 class DefaultCaret
          A default implementation of Caret.

Methods in javax.swing.text that return Caret
 Caret DefaultEditorKit.createCaret()
          Fetches a caret that can navigate through views produced by the associated ViewFactory.
abstract  Caret EditorKit.createCaret()
          Fetches a caret that can navigate through views produced by the associated ViewFactory.
 Caret JTextComponent.getCaret()
          Fetches the caret that allows text-oriented navigation over the view.
abstract  Caret NavigationFilter.FilterBypass.getCaret()
          Returns the Caret that is changing.

Methods in javax.swing.text with parameters of type Caret
 void JTextComponent.setCaret(Caret c)
          Sets the caret to be used.

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.