public interface SyntaxtHighlightTextComponent extends Component
Modifier and Type | Interface and Description |
---|---|
static interface |
SyntaxtHighlightTextComponent.UpdateCaretPositionActionEvent |
Modifier and Type | Method and Description |
---|---|
void |
addKeyListener(KeyListener keyListener) |
void |
addLineTrackingIcon(String tag,
int line,
Icon icon,
String tip) |
void |
addLineTrackingIcon(String tag,
int line,
Icon icon,
String tip,
Color color) |
void |
addUpdateCaretPositionActionListener(ActionListener updateCaretPosition) |
void |
discardAllEdits() |
String |
getContentType() |
JScrollPane |
getJScrollPane() |
JTextComponent |
getJTextComponent() |
String |
getText() |
void |
gotoline(int line) |
void |
removeTrackingIcons() |
void |
removeTrackingIcons(String tag) |
void |
setContentType(String contentType) |
void |
setText(String text) |
asJComponent
JTextComponent getJTextComponent()
JScrollPane getJScrollPane()
void setText(String text)
String getText()
void setContentType(String contentType)
String getContentType()
void addUpdateCaretPositionActionListener(ActionListener updateCaretPosition)
void addKeyListener(KeyListener keyListener)
void discardAllEdits()
void removeTrackingIcons()
void removeTrackingIcons(String tag)
void addLineTrackingIcon(String tag, int line, Icon icon, String tip, Color color)
void gotoline(int line)