|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdox.gui.action.CaretUpdater
A simple class to update the fontBox and fontSizeBox of the CDoxFrame if the user moves the caret in a new textElement(that is in a TextPane).
Constructor Summary | |
CaretUpdater(CDoxFrame cF,
TextPane tP)
Constucts a new CaretUpdater with the specified TextPane. |
Method Summary | |
void |
caretUpdate(javax.swing.event.CaretEvent ce)
This method is inherited from the CaretListener interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CaretUpdater(CDoxFrame cF, TextPane tP)
cF
- the CDoxFrametP
- the typing TextPaneCDDrawingPane
Method Detail |
public void caretUpdate(javax.swing.event.CaretEvent ce)
caretUpdate
in interface javax.swing.event.CaretListener
ce
- the caretEvent.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |