Class Cursor
- java.lang.Object
-
- org.wicketstuff.jqplot.lib.elements.Cursor
-
- All Implemented Interfaces:
Serializable,Element
public class Cursor extends Object implements Element
Plugin class representing the cursor as displayed on the plot.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Cursor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetClickReset()Gets the click reset.BooleangetConstrainOutsideZoom()Gets the constrain outside zoom.StringgetConstrainZoomTo()Gets the constrain zoom to.StringgetCursorLegendFormatString()Gets the cursor legend format string.BooleangetDblClickReset()Gets the dbl click reset.BooleangetFollowMouse()Gets the follow mouse.IntegergetIntersectionThreshold()Gets the intersection threshold.BooleangetLooseZoom()Gets the loose zoom.BooleangetShow()Gets the show.BooleangetShowCursorLegend()Gets the show cursor legend.BooleangetShowHorizontalLine()Gets the show horizontal line.BooleangetShowTooltip()Gets the show tooltip.BooleangetShowTooltipDataPosition()Gets the show tooltip data position.BooleangetShowTooltipGridPosition()Gets the show tooltip grid position.BooleangetShowTooltipOutsideZoom()Gets the show tooltip outside zoom.BooleangetShowTooltipUnitPosition()Gets the show tooltip unit position.BooleangetShowVerticalLine()Gets the show vertical line.StringgetStyle()Gets the style.StringgetTooltipAxisGroups()Gets the tooltip axis groups.StringgetTooltipFormatString()Gets the tooltip format string.LocationgetTooltipLocation()Gets the tooltip location.IntegergetTooltipOffset()Gets the tooltip offset.BooleangetUseAxesFormatters()Gets the use axes formatters.BooleangetZoom()Gets the zoom.voidsetClickReset(Boolean clickReset)Sets the click reset.voidsetConstrainOutsideZoom(Boolean constrainOutsideZoom)Sets the constrain outside zoom.voidsetConstrainZoomTo(String constrainZoomTo)Sets the constrain zoom to.voidsetCursorLegendFormatString(String cursorLegendFormatString)Sets the cursor legend format string.voidsetDblClickReset(Boolean dblClickReset)Sets the dbl click reset.voidsetFollowMouse(Boolean followMouse)Sets the follow mouse.voidsetIntersectionThreshold(Integer intersectionThreshold)Sets the intersection threshold.voidsetLooseZoom(Boolean looseZoom)Sets the loose zoom.voidsetShow(Boolean show)Sets the show.voidsetShowCursorLegend(Boolean showCursorLegend)Sets the show cursor legend.voidsetShowHorizontalLine(Boolean showHorizontalLine)Sets the show horizontal line.voidsetShowTooltip(Boolean showTooltip)Sets the show tooltip.voidsetShowTooltipDataPosition(Boolean showTooltipDataPosition)Sets the show tooltip data position.voidsetShowTooltipGridPosition(Boolean showTooltipGridPosition)Sets the show tooltip grid position.voidsetShowTooltipOutsideZoom(Boolean showTooltipOutsideZoom)Sets the show tooltip outside zoom.voidsetShowTooltipUnitPosition(Boolean showTooltipUnitPosition)Sets the show tooltip unit position.voidsetShowVerticalLine(Boolean showVerticalLine)Sets the show vertical line.voidsetStyle(String style)Sets the style.voidsetTooltipAxisGroups(String tooltipAxisGroups)Sets the tooltip axis groups.voidsetTooltipFormatString(String tooltipFormatString)Sets the tooltip format string.voidsetTooltipLocation(Location tooltipLocation)Sets the tooltip location.voidsetTooltipOffset(Integer tooltipOffset)Sets the tooltip offset.voidsetUseAxesFormatters(Boolean useAxesFormatters)Sets the use axes formatters.voidsetZoom(Boolean zoom)Sets the zoom.
-
-
-
Method Detail
-
getStyle
public String getStyle()
Gets the style.- Returns:
- the style
-
setStyle
public void setStyle(String style)
Sets the style.- Parameters:
style- the new style
-
getShow
public Boolean getShow()
Gets the show.- Returns:
- the show
-
setShow
public void setShow(Boolean show)
Sets the show.- Parameters:
show- the new show
-
getShowTooltip
public Boolean getShowTooltip()
Gets the show tooltip.- Returns:
- the show tooltip
-
setShowTooltip
public void setShowTooltip(Boolean showTooltip)
Sets the show tooltip.- Parameters:
showTooltip- the new show tooltip
-
getFollowMouse
public Boolean getFollowMouse()
Gets the follow mouse.- Returns:
- the follow mouse
-
setFollowMouse
public void setFollowMouse(Boolean followMouse)
Sets the follow mouse.- Parameters:
followMouse- the new follow mouse
-
getTooltipLocation
public Location getTooltipLocation()
Gets the tooltip location.- Returns:
- the tooltip location
-
setTooltipLocation
public void setTooltipLocation(Location tooltipLocation)
Sets the tooltip location.- Parameters:
tooltipLocation- the new tooltip location
-
getTooltipOffset
public Integer getTooltipOffset()
Gets the tooltip offset.- Returns:
- the tooltip offset
-
setTooltipOffset
public void setTooltipOffset(Integer tooltipOffset)
Sets the tooltip offset.- Parameters:
tooltipOffset- the new tooltip offset
-
getShowTooltipGridPosition
public Boolean getShowTooltipGridPosition()
Gets the show tooltip grid position.- Returns:
- the show tooltip grid position
-
setShowTooltipGridPosition
public void setShowTooltipGridPosition(Boolean showTooltipGridPosition)
Sets the show tooltip grid position.- Parameters:
showTooltipGridPosition- the new show tooltip grid position
-
getShowTooltipUnitPosition
public Boolean getShowTooltipUnitPosition()
Gets the show tooltip unit position.- Returns:
- the show tooltip unit position
-
setShowTooltipUnitPosition
public void setShowTooltipUnitPosition(Boolean showTooltipUnitPosition)
Sets the show tooltip unit position.- Parameters:
showTooltipUnitPosition- the new show tooltip unit position
-
getShowTooltipDataPosition
public Boolean getShowTooltipDataPosition()
Gets the show tooltip data position.- Returns:
- the show tooltip data position
-
setShowTooltipDataPosition
public void setShowTooltipDataPosition(Boolean showTooltipDataPosition)
Sets the show tooltip data position.- Parameters:
showTooltipDataPosition- the new show tooltip data position
-
getTooltipFormatString
public String getTooltipFormatString()
Gets the tooltip format string.- Returns:
- the tooltip format string
-
setTooltipFormatString
public void setTooltipFormatString(String tooltipFormatString)
Sets the tooltip format string.- Parameters:
tooltipFormatString- the new tooltip format string
-
getUseAxesFormatters
public Boolean getUseAxesFormatters()
Gets the use axes formatters.- Returns:
- the use axes formatters
-
setUseAxesFormatters
public void setUseAxesFormatters(Boolean useAxesFormatters)
Sets the use axes formatters.- Parameters:
useAxesFormatters- the new use axes formatters
-
getZoom
public Boolean getZoom()
Gets the zoom.- Returns:
- the zoom
-
setZoom
public void setZoom(Boolean zoom)
Sets the zoom.- Parameters:
zoom- the new zoom
-
getLooseZoom
public Boolean getLooseZoom()
Gets the loose zoom.- Returns:
- the loose zoom
-
setLooseZoom
public void setLooseZoom(Boolean looseZoom)
Sets the loose zoom.- Parameters:
looseZoom- the new loose zoom
-
getClickReset
public Boolean getClickReset()
Gets the click reset.- Returns:
- the click reset
-
setClickReset
public void setClickReset(Boolean clickReset)
Sets the click reset.- Parameters:
clickReset- the new click reset
-
getDblClickReset
public Boolean getDblClickReset()
Gets the dbl click reset.- Returns:
- the dbl click reset
-
setDblClickReset
public void setDblClickReset(Boolean dblClickReset)
Sets the dbl click reset.- Parameters:
dblClickReset- the new dbl click reset
-
getShowVerticalLine
public Boolean getShowVerticalLine()
Gets the show vertical line.- Returns:
- the show vertical line
-
setShowVerticalLine
public void setShowVerticalLine(Boolean showVerticalLine)
Sets the show vertical line.- Parameters:
showVerticalLine- the new show vertical line
-
getShowHorizontalLine
public Boolean getShowHorizontalLine()
Gets the show horizontal line.- Returns:
- the show horizontal line
-
setShowHorizontalLine
public void setShowHorizontalLine(Boolean showHorizontalLine)
Sets the show horizontal line.- Parameters:
showHorizontalLine- the new show horizontal line
-
getConstrainZoomTo
public String getConstrainZoomTo()
Gets the constrain zoom to.- Returns:
- the constrain zoom to
-
setConstrainZoomTo
public void setConstrainZoomTo(String constrainZoomTo)
Sets the constrain zoom to.- Parameters:
constrainZoomTo- the new constrain zoom to
-
getIntersectionThreshold
public Integer getIntersectionThreshold()
Gets the intersection threshold.- Returns:
- the intersection threshold
-
setIntersectionThreshold
public void setIntersectionThreshold(Integer intersectionThreshold)
Sets the intersection threshold.- Parameters:
intersectionThreshold- the new intersection threshold
-
getShowCursorLegend
public Boolean getShowCursorLegend()
Gets the show cursor legend.- Returns:
- the show cursor legend
-
setShowCursorLegend
public void setShowCursorLegend(Boolean showCursorLegend)
Sets the show cursor legend.- Parameters:
showCursorLegend- the new show cursor legend
-
getCursorLegendFormatString
public String getCursorLegendFormatString()
Gets the cursor legend format string.- Returns:
- the cursor legend format string
-
setCursorLegendFormatString
public void setCursorLegendFormatString(String cursorLegendFormatString)
Sets the cursor legend format string.- Parameters:
cursorLegendFormatString- the new cursor legend format string
-
getConstrainOutsideZoom
public Boolean getConstrainOutsideZoom()
Gets the constrain outside zoom.- Returns:
- the constrain outside zoom
-
setConstrainOutsideZoom
public void setConstrainOutsideZoom(Boolean constrainOutsideZoom)
Sets the constrain outside zoom.- Parameters:
constrainOutsideZoom- the new constrain outside zoom
-
getShowTooltipOutsideZoom
public Boolean getShowTooltipOutsideZoom()
Gets the show tooltip outside zoom.- Returns:
- the show tooltip outside zoom
-
setShowTooltipOutsideZoom
public void setShowTooltipOutsideZoom(Boolean showTooltipOutsideZoom)
Sets the show tooltip outside zoom.- Parameters:
showTooltipOutsideZoom- the new show tooltip outside zoom
-
getTooltipAxisGroups
public String getTooltipAxisGroups()
Gets the tooltip axis groups.- Returns:
- the tooltip axis groups
-
setTooltipAxisGroups
public void setTooltipAxisGroups(String tooltipAxisGroups)
Sets the tooltip axis groups.- Parameters:
tooltipAxisGroups- the new tooltip axis groups
-
-