T
- public class DefaultOverviewMark<T extends java.lang.Number> extends java.lang.Object implements OverviewMark<T>
Constructor and Description |
---|
DefaultOverviewMark(T location,
float priority,
java.awt.Color color)
Create a simple mark which starts and ends at the same location.
|
DefaultOverviewMark(T startLocation,
T endLocation,
float priority,
java.awt.Color color)
Create an OverviewMark with the given location and color.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OverviewMark o) |
java.awt.Color |
getColor() |
T |
getEnd() |
float |
getPriority() |
T |
getStart() |
public DefaultOverviewMark(T location, float priority, java.awt.Color color)
location
- priority
- color
- public T getStart()
getStart
in interface OverviewMark<T extends java.lang.Number>
public T getEnd()
getEnd
in interface OverviewMark<T extends java.lang.Number>
public java.awt.Color getColor()
getColor
in interface OverviewMark<T extends java.lang.Number>
public float getPriority()
getPriority
in interface OverviewMark<T extends java.lang.Number>
public int compareTo(OverviewMark o)
compareTo
in interface java.lang.Comparable<OverviewMark>