Package org.omegat.gui.editor.mark
Class Mark
java.lang.Object
org.omegat.gui.editor.mark.Mark
Class for store information about one mark.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription@Nullable AttributeSetText attributes for specific Mark.final intfinal Mark.ENTRY_PART@Nullable Highlighter.HighlightPainterPainter for specific Mark.final int@Nullable StringTooltip text for specific Mark. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
entryPart
-
startOffset
public final int startOffset -
endOffset
public final int endOffset -
painter
Painter for specific Mark. For better performance, Painter should be instantiated once, then used always. It could be created in IMarker constructor. -
toolTipText
Tooltip text for specific Mark. Will be displayed when mouse will moving over Mark. -
attributes
Text attributes for specific Mark. Will be added to text by Document.setCharacterAttributes() without replacement.
-
-
Constructor Details
-
Mark
-