Class AceMarker

java.lang.Object
de.f0rce.ace.util.AceMarker
All Implemented Interfaces:
Serializable

public class AceMarker extends Object implements Serializable
Author:
David "F0rce" Dodlek
See Also:
  • Constructor Details

    • AceMarker

      public AceMarker(int from, int to, AceMarkerColor aceMarker)
      Parameters:
      from - int
      to - int
      aceMarker - AceMarkerColor
    • AceMarker

      public AceMarker(int from, int to, AceMarkerColor aceMarker, String alias)
      Parameters:
      from - int
      to - int
      aceMarker - AceMarkerColor
      alias - String
    • AceMarker

      public AceMarker(int rowStart, int from, int rowEnd, int to, AceMarkerColor aceMarker)
      Parameters:
      rowStart - int
      from - int
      rowEnd - int
      to - int
      aceMarker - AceMarkerColor
    • AceMarker

      public AceMarker(int rowStart, int from, int rowEnd, int to, AceMarkerColor aceMarker, String alias)
      Parameters:
      rowStart - int
      from - int
      rowEnd - int
      to - int
      aceMarker - AceMarkerColor
      alias - String
  • Method Details

    • getID

      public String getID()
      Returns the random generated UUID of the AceMarker itself.
      Returns:
      String
    • getRowStart

      public int getRowStart()
      Returns the row where the AceMarker starts.
      Returns:
      int
    • getFrom

      public int getFrom()
      Returns the index in the rowStart getRowStart() where the AceMarker starts.
      Returns:
      int
    • getRowEnd

      public int getRowEnd()
      Returns the row where the AceMarker ends.
      Returns:
      int
    • getTo

      public int getTo()
      Returns the index in the rowEnd getRowEnd() where the selection ends.
      Returns:
      int
    • getAceMarkerColor

      public AceMarkerColor getAceMarkerColor()
      Returns the color set for the AceMarker.
      Returns:
      AceMarkerColor
    • getAlias

      public String getAlias()
      Returns the current set alias for the AceMarker.
      Returns:
      String
    • setAlias

      public void setAlias(String alias)
      Sets the alias for the AceMarker.
      Parameters:
      alias - String
    • toString

      public String toString()
      Overrides:
      toString in class Object