public static class XmlSourceEditorView.JEditorStatusBarTargetProxy extends Object implements JEditorStatusBar.JEditorStatusBarTarget
Constructor and Description |
---|
JEditorStatusBarTargetProxy(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea area) |
Modifier and Type | Method and Description |
---|---|
void |
addCaretListener(CaretListener listener) |
int |
getCaretPosition() |
int |
getLineOfOffset(int offset) |
int |
getLineStartOffset(int line) |
void |
removeCaretListener(CaretListener listener) |
public JEditorStatusBarTargetProxy(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea area)
public void addCaretListener(CaretListener listener)
addCaretListener
in interface JEditorStatusBar.JEditorStatusBarTarget
public int getCaretPosition()
getCaretPosition
in interface JEditorStatusBar.JEditorStatusBarTarget
public void removeCaretListener(CaretListener listener)
removeCaretListener
in interface JEditorStatusBar.JEditorStatusBarTarget
public int getLineStartOffset(int line) throws Exception
getLineStartOffset
in interface JEditorStatusBar.JEditorStatusBarTarget
Exception
public int getLineOfOffset(int offset) throws Exception
getLineOfOffset
in interface JEditorStatusBar.JEditorStatusBarTarget
Exception
Copyright © 2019. All Rights Reserved.