java.lang.Object
org.wicketstuff.jqplot.lib.elements.CanvasOverlay
- All Implemented Interfaces:
Serializable,Element
- Direct Known Subclasses:
Line
CanvasOverlay object.
CanvasOverlay properties can be set or overriden by the options passed in from the user.
- Author:
- inaiat
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new canvas overlay.CanvasOverlay(String name) Instantiates a new canvas overlay. -
Method Summary
Modifier and TypeMethodDescriptionGet aDashedHorizontalLineinstanceGet aDashedVerticalLineinstancegetColor()Gets the color.Gets the fadeTooltip.Gets the line cap.Gets the line width.getName()Gets the name.Gets the objects.Gets the shadow.getShow()Gets the show.Gets the showTooltip.Gets the showTooltipPrecision.Gets the tooltipFadeSpeed.Gets the tooltipFormatString.Gets the tooltipLocation.Gets the tooltipOffset.Gets the xOffset.Get aHorizontalLineinstanceInstantiates the objects.Sets the color.voidsetFadeTooltip(Boolean fadeTooltip) Sets the fadeTooltip.setLineCap(String lineCap) Sets the line cap.setLineWidth(Integer lineWidth) Sets the line width.voidSets the name.setObjects(Collection<LineObject> objects) Sets the objects.Sets the shadow.voidSets the show.voidsetShowTooltip(Boolean showTooltip) Sets the showTooltip.voidsetShowTooltipPrecision(Float showTooltipPrecision) Sets the showTooltipPrecision.voidsetTooltipFadeSpeed(String tooltipFadeSpeed) Sets the tooltipFadeSpeed.voidsetTooltipFormatString(String tooltipFormatString) Sets the tooltipFormatString.voidsetTooltipLocation(String tooltipLocation) Sets the tooltipLocation.voidsetTooltipOffset(Integer tooltipOffset) Sets the tooltipOffset.setXOffset(String xOffset) Sets the xOffset.Get aVerticalLineinstance
-
Constructor Details
-
CanvasOverlay
public CanvasOverlay()Instantiates a new canvas overlay. -
CanvasOverlay
Instantiates a new canvas overlay.- Parameters:
name- the name
-
-
Method Details
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getShow
Gets the show.- Returns:
- the show
-
setShow
Sets the show.- Parameters:
show- the new show
-
getLineWidth
Gets the line width.- Returns:
- lineWidth
-
setLineWidth
Sets the line width.- Parameters:
lineWidth- the new line width- Returns:
- CanvasOverlay
-
getLineCap
Gets the line cap.- Returns:
- lineCap
-
setLineCap
Sets the line cap.- Parameters:
lineCap- the new line cap- Returns:
- CanvasOverlay
-
getColor
Gets the color.- Returns:
- the color
-
setColor
Sets the color.- Parameters:
color- the new color- Returns:
- CanvasOverlay
-
getShadow
Gets the shadow.- Returns:
- shadow
-
setShadow
Sets the shadow.- Parameters:
shadow- the new shadow- Returns:
- CanvasOverlay
-
getShowTooltip
Gets the showTooltip.- Returns:
- the showTooltip
-
setShowTooltip
Sets the showTooltip.- Parameters:
showTooltip- the new showTooltip
-
getShowTooltipPrecision
Gets the showTooltipPrecision.- Returns:
- the showTooltipPrecision
-
setShowTooltipPrecision
Sets the showTooltipPrecision.- Parameters:
showTooltipPrecision- the new showTooltipPrecision
-
getTooltipLocation
Gets the tooltipLocation.- Returns:
- the tooltipLocation
-
setTooltipLocation
Sets the tooltipLocation.- Parameters:
tooltipLocation- the new tooltipLocation
-
getFadeTooltip
Gets the fadeTooltip.- Returns:
- the fadeTooltip
-
setFadeTooltip
Sets the fadeTooltip.- Parameters:
fadeTooltip- the new fadeTooltip
-
getTooltipFadeSpeed
Gets the tooltipFadeSpeed.- Returns:
- the tooltipFadeSpeed
-
setTooltipFadeSpeed
Sets the tooltipFadeSpeed.- Parameters:
tooltipFadeSpeed- the new tooltipFadeSpeed
-
getTooltipOffset
Gets the tooltipOffset.- Returns:
- the tooltipOffset
-
setTooltipOffset
Sets the tooltipOffset.- Parameters:
tooltipOffset- the new tooltipOffset
-
getTooltipFormatString
Gets the tooltipFormatString.- Returns:
- the tooltipFormatString
-
setTooltipFormatString
Sets the tooltipFormatString.- Parameters:
tooltipFormatString- the new tooltipFormatString
-
getXOffset
Gets the xOffset.- Returns:
- the xOffset
-
setXOffset
Sets the xOffset.- Parameters:
xOffset- the new xOffset- Returns:
- CanvasOverlay
-
objectsInstance
Instantiates the objects.- Returns:
- the objects
-
getObjects
Gets the objects.- Returns:
- the objects
-
setObjects
Sets the objects.- Parameters:
objects- the objects to set- Returns:
- CanvasOverlay
-
dashedHorizontalLineInstance
Get aDashedHorizontalLineinstance- Returns:
- DashedHorizontalLine
-
dashedVerticalLineInstance
Get aDashedVerticalLineinstance- Returns:
- DashedVerticalLine
-
horizontalLineInstance
Get aHorizontalLineinstance- Returns:
- HorizontalLine
-
verticalLineInstance
Get aVerticalLineinstance- Returns:
- VerticalLine
-