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 AceMarkerColor
getAceMarkerColor()
Returns the color set for the AceMarker.java.lang.String
getAlias()
Returns the current set alias for the AceMarker.int
getFrom()
Returns the index in the rowStartgetRowStart()
where the AceMarker starts.java.lang.String
getID()
Returns the random generated UUID of the AceMarker itself.int
getRowEnd()
Returns the row where the AceMarker ends.int
getRowStart()
Returns the row where the AceMarker starts.int
getTo()
Returns the index in the rowEndgetRowEnd()
where the selection ends.void
setAlias(java.lang.String alias)
Sets the alias for the AceMarker.java.lang.String
toString()
-
Constructor Details
-
AceMarker
- Parameters:
from
- intto
- intaceMarker
-AceMarkerColor
-
AceMarker
- Parameters:
from
- intto
- intaceMarker
-AceMarkerColor
alias
-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
-AceMarkerColor
alias
-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:
toString
in classjava.lang.Object
-