Package de.f0rce.ace.util
Class AceMarker
java.lang.Object
de.f0rce.ace.util.AceMarker
public class AceMarker
extends java.lang.Object
- Author:
- David "F0rce" Dodlek
-
Constructor Summary
Constructors Constructor Description AceMarker(int rowStart, int from, int rowEnd, int to, AceMarkerColor aceMarker)AceMarker(int rowStart, int from, int rowEnd, int to, AceMarkerColor aceMarker, java.lang.String alias)AceMarker(int from, int to, AceMarkerColor aceMarker)AceMarker(int from, int to, AceMarkerColor aceMarker, java.lang.String alias) -
Method Summary
Modifier and Type Method Description AceMarkerColorgetAceMarkerColor()Returns the color set for the AceMarker.java.lang.StringgetAlias()Returns the current set alias for the AceMarker.intgetFrom()Returns the index in the rowStartgetRowStart()where the AceMarker starts.java.lang.StringgetID()Returns the random generated UUID of the AceMarker itself.intgetRowEnd()Returns the row where the AceMarker ends.intgetRowStart()Returns the row where the AceMarker starts.intgetTo()Returns the index in the rowEndgetRowEnd()where the selection ends.voidsetAlias(java.lang.String alias)Sets the alias for the AceMarker.java.lang.StringtoString()
-
Constructor Details
-
AceMarker
- Parameters:
from- intto- intaceMarker-AceMarkerColor
-
AceMarker
- Parameters:
from- intto- intaceMarker-AceMarkerColoralias-String
-
AceMarker
- Parameters:
rowStart- intfrom- introwEnd- intto- intaceMarker-AceMarkerColor
-
AceMarker
public AceMarker(int rowStart, int from, int rowEnd, int to, AceMarkerColor aceMarker, java.lang.String alias)- Parameters:
rowStart- intfrom- introwEnd- intto- intaceMarker-AceMarkerColoralias-String
-
-
Method Details
-
getID
public java.lang.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 rowStartgetRowStart()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 rowEndgetRowEnd()where the selection ends.- Returns:
- int
-
getAceMarkerColor
Returns the color set for the AceMarker.- Returns:
AceMarkerColor
-
getAlias
public java.lang.String getAlias()Returns the current set alias for the AceMarker.- Returns:
String
-
setAlias
public void setAlias(java.lang.String alias)Sets the alias for the AceMarker.- Parameters:
alias-String
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-