All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.motif.MotifTextUI.MotifController
java.lang.Object
|
+----java.awt.swing.text.DefaultTextController
|
+----java.awt.swing.motif.MotifTextUI.MotifController
- public static class MotifTextUI.MotifController
- extends DefaultTextController
MotifTextUI.MotifController(JTextComponent)
- Creates a new controller to serve an editor.
caretOff()
- Turns the caret off as a result of losing
focus.
caretOn()
- Turns the caret on as a result of getting
focus.
MotifTextUI.MotifController
public MotifTextUI.MotifController(JTextComponent editor)
- Creates a new controller to serve an editor.
- Parameters:
- editor - the text editor
caretOn
protected void caretOn()
- Turns the caret on as a result of getting
focus. The motif caret is always visible
but quits flashing when focus is lost.
- Overrides:
- caretOn in class DefaultTextController
caretOff
protected void caretOff()
- Turns the caret off as a result of losing
focus. The motif caret is always visible,
but quits flashing and changes color. The
current blink rate is stashed so it can be
restored later, and the rate is set to 0.
The caret itself takes care of it's change
in appearance.
- Overrides:
- caretOff in class DefaultTextController
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature