Class Line
- java.lang.Object
-
- org.wicketstuff.jqplot.lib.elements.CanvasOverlay
-
- org.wicketstuff.jqplot.lib.elements.Line
-
- All Implemented Interfaces:
Serializable,Element
- Direct Known Subclasses:
HorizontalLine,VerticalLine
public class Line extends CanvasOverlay
Line object. Line properties can be set or overriden by the options passed in from the user.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Integer>getStart()Gets the start.Collection<Integer>getStop()Gets the stop.LinesetStart(Collection<Integer> start)Sets the start.LinesetStop(Collection<Integer> stop)Sets the stop.Collection<Integer>startInstance()Collection<Integer>stopInstance()Get stop instance-
Methods inherited from class org.wicketstuff.jqplot.lib.elements.CanvasOverlay
dashedHorizontalLineInstance, dashedVerticalLineInstance, getColor, getFadeTooltip, getLineCap, getLineWidth, getName, getObjects, getShadow, getShow, getShowTooltip, getShowTooltipPrecision, getTooltipFadeSpeed, getTooltipFormatString, getTooltipLocation, getTooltipOffset, getXOffset, horizontalLineInstance, objectsInstance, setColor, setFadeTooltip, setLineCap, setLineWidth, setName, setObjects, setShadow, setShow, setShowTooltip, setShowTooltipPrecision, setTooltipFadeSpeed, setTooltipFormatString, setTooltipLocation, setTooltipOffset, setXOffset, verticalLineInstance
-
-
-
-
Constructor Detail
-
Line
public Line()
Instantiates a new line.
-
Line
public Line(String name)
Instantiates a new line.- Parameters:
name- the name
-
-
Method Detail
-
startInstance
public Collection<Integer> startInstance()
-
getStart
public Collection<Integer> getStart()
Gets the start.- Returns:
- the start
-
setStart
public Line setStart(Collection<Integer> start)
Sets the start.- Parameters:
start- the new start- Returns:
- Line
-
stopInstance
public Collection<Integer> stopInstance()
Get stop instance- Returns:
- Collection of integer type
-
getStop
public Collection<Integer> getStop()
Gets the stop.- Returns:
- the stop
-
setStop
public Line setStop(Collection<Integer> stop)
Sets the stop.- Parameters:
stop- the new stop- Returns:
- Line
-
-