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

Constructor Index

 o MotifTextUI.MotifController(JTextComponent)
Creates a new controller to serve an editor.

Method Index

 o caretOff()
Turns the caret off as a result of losing focus.
 o caretOn()
Turns the caret on as a result of getting focus.

Constructors

 o MotifTextUI.MotifController
public MotifTextUI.MotifController(JTextComponent editor)
Creates a new controller to serve an editor.

Parameters:
editor - the text editor

Methods

 o 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
 o 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