edu.iastate.metnet.metaomgraph.chart
Class RangeMarker
java.lang.Object
edu.iastate.metnet.metaomgraph.chart.RangeMarker
- All Implemented Interfaces:
- java.io.Serializable
public class RangeMarker
- extends java.lang.Object
- implements java.io.Serializable
Class that holds information about a sort beyond the order. Can be used
to track ranges of data.
- Author:
- Nick Ransom
- See Also:
- Serialized Form
|
Constructor Summary |
RangeMarker(int start,
int end,
java.lang.String label,
int style)
|
RangeMarker(int start,
int end,
java.lang.String label,
int style,
java.awt.Color myColor)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HORIZONTAL
public static int HORIZONTAL
VERTICAL
public static int VERTICAL
RangeMarker
public RangeMarker(int start,
int end,
java.lang.String label,
int style)
RangeMarker
public RangeMarker(int start,
int end,
java.lang.String label,
int style,
java.awt.Color myColor)
- Constructor.
- Parameters:
start - The start of a rangeend - The end of a rangelabel - A label to associate with this range
getLabel
public java.lang.String getLabel()
- Returns:
- A label to associate with this range
getEnd
public int getEnd()
- Returns:
- The end of this range
getStart
public int getStart()
- Returns:
- The start of this range
getStyle
public int getStyle()
getColor
public java.awt.Color getColor()
setColor
public void setColor(java.awt.Color myColor)
setEnd
public void setEnd(int end)
setLabel
public void setLabel(java.lang.String label)
setStart
public void setStart(int start)
setStyle
public void setStyle(int style)