public class BasicEditorOverviewLabelMark extends BasicEditorOverviewMark
Constructor and Description |
---|
BasicEditorOverviewLabelMark(BasicEditorPane editor,
java.lang.Integer startOffset,
java.lang.Integer endOffset,
float priority,
java.awt.Color color)
Create an overview mark.
|
BasicEditorOverviewLabelMark(BasicEditorPane editor,
java.lang.Integer startOffset,
java.lang.Integer endOffset,
float priority,
java.awt.Color color,
boolean isStationary)
Create an overview mark.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon() |
java.lang.String |
getText() |
protected javax.swing.JComponent |
getTipComponent() |
void |
setIcon(javax.swing.Icon icon) |
void |
setText(java.lang.String text) |
compareTo, dispose, getColor, getEnd, getEndOffset, getPriority, getStart, getStartOffset, getTipComponent
public BasicEditorOverviewLabelMark(BasicEditorPane editor, java.lang.Integer startOffset, java.lang.Integer endOffset, float priority, java.awt.Color color, boolean isStationary)
The mark will automatically update its offsets as the text in the editor changes
editor
- startOffset
- character offset on which the mark beginsendOffset
- character offset on which the mark endspriority
- the priority of the markcolor
- the color to render the mark in the overviewisStationary
- if true the mark will not automatically adjust its offsets as the text buffer changespublic BasicEditorOverviewLabelMark(BasicEditorPane editor, java.lang.Integer startOffset, java.lang.Integer endOffset, float priority, java.awt.Color color)
The mark will automatically update its offsets as the text in the editor changes
editor
- startOffset
- character offset on which the mark beginsendOffset
- character offset on which the mark endspriority
- the priority of the markcolor
- the color to render the mark in the overview