Class Mark

java.lang.Object
org.omegat.gui.editor.mark.Mark

public class Mark extends Object
Class for store information about one mark.
  • Field Details

    • entryPart

      public final Mark.ENTRY_PART entryPart
    • startOffset

      public final int startOffset
    • endOffset

      public final int endOffset
    • painter

      @Nullable public @Nullable Highlighter.HighlightPainter painter
      Painter for specific Mark. For better performance, Painter should be instantiated once, then used always. It could be created in IMarker constructor.
    • toolTipText

      @Nullable public @Nullable String toolTipText
      Tooltip text for specific Mark. Will be displayed when mouse will moving over Mark.
    • attributes

      @Nullable public @Nullable AttributeSet attributes
      Text attributes for specific Mark. Will be added to text by Document.setCharacterAttributes() without replacement.
  • Constructor Details