javax.swing.text
Class JTextComponent.DoSetCaretPosition

java.lang.Object
  extended byjavax.swing.text.JTextComponent.DoSetCaretPosition
All Implemented Interfaces:
Runnable
Enclosing class:
JTextComponent

private class JTextComponent.DoSetCaretPosition
extends Object
implements Runnable


Field Summary
(package private)  JTextComponent host
           
(package private)  Position newPos
           
 
Constructor Summary
(package private) JTextComponent.DoSetCaretPosition(JTextComponent host, Position newPos)
           
 
Method Summary
 void run()
          When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

JTextComponent host

newPos

Position newPos
Constructor Detail

JTextComponent.DoSetCaretPosition

JTextComponent.DoSetCaretPosition(JTextComponent host,
                                  Position newPos)
Method Detail

run

public void run()
Description copied from interface: Runnable
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

The general contract of the method run is that it may take any action whatsoever.

Specified by:
run in interface Runnable
See Also:
Thread.run()