|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractAction javax.swing.text.TextAction javax.swing.text.html.HTMLEditorKit.NavigateLinkAction
Nested Class Summary | |
(package private) class |
HTMLEditorKit.NavigateLinkAction.FocusHighlightPainter
A highlight painter that draws a one-pixel border around the highlighted area. |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary | |
private boolean |
focusBack
|
private HTMLEditorKit.NavigateLinkAction.FocusHighlightPainter |
focusPainter
|
private static boolean |
foundLink
|
private static int |
prevHypertextOffset
|
private Object |
selectionTag
|
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
HTMLEditorKit.NavigateLinkAction(String actionName)
|
Method Summary | |
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs. |
void |
caretUpdate(CaretEvent e)
Called when the caret position is updated. |
private void |
moveCaretPosition(JTextComponent comp,
int mark,
int dot)
|
Methods inherited from class javax.swing.text.TextAction |
augmentList, getFocusedComponent, getTextComponent |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static int prevHypertextOffset
private static boolean foundLink
private HTMLEditorKit.NavigateLinkAction.FocusHighlightPainter focusPainter
private Object selectionTag
private boolean focusBack
Constructor Detail |
public HTMLEditorKit.NavigateLinkAction(String actionName)
Method Detail |
public void caretUpdate(CaretEvent e)
caretUpdate
in interface CaretListener
e
- the caret eventpublic void actionPerformed(ActionEvent e)
ActionListener
actionPerformed
in interface ActionListener
private void moveCaretPosition(JTextComponent comp, int mark, int dot)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |