Class RendererOptions
- java.lang.Object
-
- org.wicketstuff.jqplot.lib.elements.RendererOptions
-
- All Implemented Interfaces:
Serializable,Element
public class RendererOptions extends Object implements Element
Renderer options.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RendererOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnimationgetAnimation()Gets the animation.StringgetBarDirection()Gets the bar direction.IntegergetBarMargin()Gets the bar margin.IntegergetBarWidth()Gets the bar width.FloatgetBubbleAlpha()Gets the bubble alpha.BooleangetBubbleGradients()Gets the bubble gradients.StringgetDataLabels()Gets the data labels.BooleangetFill()Gets the fill.BooleangetFillToZero()Gets the fillToZero.BooleangetForceTickAt0()Gets the force tick at zero.BooleangetForceTickAt100()Gets the force tick at 100.FloatgetHighlightAlpha()Gets the highlight alpha.List<String>getIntervalColors()Gets the interval colors.IntegergetIntervalOuterRadius()Gets the interval outer radius.List<Integer>getIntervals()Gets the intervals.StringgetLabel()Gets the label.IntegergetLabelHeightAdjust()Gets the label height adjust.StringgetLabelPosition()Gets the label position.IntegergetLineWidth()Gets the line width.StringgetMarginTop()Gets the margin top.IntegergetMax()Gets the max.IntegergetMin()Gets the min.IntegergetNumberRows()Gets the number rows.IntegergetPadding()Gets the padding.BooleangetShowDataLabels()Gets the show data labels.BooleangetShowLables()Gets the show lables.BooleangetShowTickLabels()Gets the show tick labels.IntegergetSliceMargin()Gets the slice margin.BooleangetSmooth()Gets the smooth.IntegergetStartAngle()Gets the start angle.BooleangetVaryBarColor()Gets the vary bar color.BooleanisFillZero()Checks if is fill zero.BooleanisHighlightMouseDown()Checks if is highlight mouse down.RendererOptionssetAnimation(Animation animation)Sets the animation.RendererOptionssetBarDirection(String barDirection)Sets the bar direction.RendererOptionssetBarMargin(Integer barMargin)Sets the bar margin.RendererOptionssetBarWidth(Integer barWidth)Sets the bar width.RendererOptionssetBubbleAlpha(Float bubbleAlpha)Sets the bubble alpha.RendererOptionssetBubbleGradients(Boolean bubbleGradients)Sets the bubble gradients.RendererOptionssetDataLabels(String dataLabels)Sets the data labels.RendererOptionssetFill(Boolean fill)Sets the fill.voidsetFillToZero(Boolean fillToZero)Sets the fillToZero.RendererOptionssetFillZero(Boolean fillZero)Sets the fill zero.RendererOptionssetForceTickAt0(Boolean forceTickAt0)Sets the force tick at zero.RendererOptionssetForceTickAt100(Boolean forceTickAt100)Sets the force tick at 100.RendererOptionssetHighlightAlpha(Float highlightAlpha)Sets the highlight alpha.RendererOptionssetHighlightMouseDown(Boolean highlightMouseDown)Sets the highlight mouse down.RendererOptionssetIntervalColors(List<String> intervalColors)Sets the interval colors.RendererOptionssetIntervalOuterRadius(Integer intervalOuterRadius)Sets the interval outer radius.RendererOptionssetIntervals(List<Integer> intervals)Sets the intervals.RendererOptionssetLabel(String label)Sets the label.RendererOptionssetLabelHeightAdjust(Integer labelHeightAdjust)Sets the label height adjust.RendererOptionssetLabelPosition(String labelPosition)Sets the label position.RendererOptionssetLineWidth(Integer lineWidth)Sets the line width.RendererOptionssetMarginTop(String marginTop)Sets the margin top.RendererOptionssetMax(Integer max)Sets the max.RendererOptionssetMin(Integer min)Sets the min.RendererOptionssetNumberRows(Integer numberRows)Sets the number rows.RendererOptionssetPadding(Integer padding)Sets the padding.RendererOptionssetShowDataLabels(Boolean showDataLabels)Sets the show data labels.RendererOptionssetShowLables(Boolean showLables)Sets the show lables.RendererOptionssetShowTickLabels(Boolean showTickLabels)Sets the show tick labels.RendererOptionssetSliceMargin(Integer sliceMargin)Sets the slice margin.RendererOptionssetSmooth(Boolean smooth)Sets the smooth.RendererOptionssetStartAngle(Integer startAngle)Sets the start angle.RendererOptionssetVaryBarColor(Boolean varyBarColor)Sets the vary bar color.RendererOptionssmooth(Boolean smooth)Smooth.RendererOptionsvaryBarColor(Boolean varyBarColor)Vary bar color.
-
-
-
Method Detail
-
smooth
public RendererOptions smooth(Boolean smooth)
Smooth.- Parameters:
smooth- the smooth- Returns:
- the renderer options
-
varyBarColor
public RendererOptions varyBarColor(Boolean varyBarColor)
Vary bar color.- Parameters:
varyBarColor- the vary bar color- Returns:
- the renderer options
-
getPadding
public Integer getPadding()
Gets the padding.- Returns:
- padding
-
setPadding
public RendererOptions setPadding(Integer padding)
Sets the padding.- Parameters:
padding- the new padding- Returns:
- RendererOptions
-
getMarginTop
public String getMarginTop()
Gets the margin top.- Returns:
- marginTop
-
setMarginTop
public RendererOptions setMarginTop(String marginTop)
Sets the margin top.- Parameters:
marginTop- the new margin top- Returns:
- RendererOptions
-
getNumberRows
public Integer getNumberRows()
Gets the number rows.- Returns:
- numberRows
-
setNumberRows
public RendererOptions setNumberRows(Integer numberRows)
Sets the number rows.- Parameters:
numberRows- the new number rows- Returns:
- RendererOptions
-
getSmooth
public Boolean getSmooth()
Gets the smooth.- Returns:
- smooth true ou false
-
setSmooth
public RendererOptions setSmooth(Boolean smooth)
Sets the smooth.- Parameters:
smooth- the new smooth- Returns:
- RendererOptions
-
getFill
public Boolean getFill()
Gets the fill.- Returns:
- fill true ou false
-
setFill
public RendererOptions setFill(Boolean fill)
Sets the fill.- Parameters:
fill- the new fill- Returns:
- RendererOptions
-
getFillToZero
public Boolean getFillToZero()
Gets the fillToZero.- Returns:
- fillToZero true ou false
-
setFillToZero
public void setFillToZero(Boolean fillToZero)
Sets the fillToZero.- Parameters:
fillToZero- the new fillToZero
-
getLineWidth
public Integer getLineWidth()
Gets the line width.- Returns:
- lineWidth
-
setLineWidth
public RendererOptions setLineWidth(Integer lineWidth)
Sets the line width.- Parameters:
lineWidth- the new line width- Returns:
- RendererOptions
-
getIntervalColors
public List<String> getIntervalColors()
Gets the interval colors.- Returns:
- Lista de cores intervalColors
-
setIntervalColors
public RendererOptions setIntervalColors(List<String> intervalColors)
Sets the interval colors.- Parameters:
intervalColors- the new interval colors- Returns:
- RendererOptions
-
setIntervals
public RendererOptions setIntervals(List<Integer> intervals)
Sets the intervals.- Parameters:
intervals- the new intervals- Returns:
- RendererOptions
-
getIntervalOuterRadius
public Integer getIntervalOuterRadius()
Gets the interval outer radius.- Returns:
- intervalOuterRadius
-
setIntervalOuterRadius
public RendererOptions setIntervalOuterRadius(Integer intervalOuterRadius)
Sets the interval outer radius.- Parameters:
intervalOuterRadius- the new interval outer radius- Returns:
- RendererOptions
-
getLabel
public String getLabel()
Gets the label.- Returns:
- label
-
setLabel
public RendererOptions setLabel(String label)
Sets the label.- Parameters:
label- the new label- Returns:
- RendererOptions
-
getLabelHeightAdjust
public Integer getLabelHeightAdjust()
Gets the label height adjust.- Returns:
- labelHeightAdjust
-
setLabelHeightAdjust
public RendererOptions setLabelHeightAdjust(Integer labelHeightAdjust)
Sets the label height adjust.- Parameters:
labelHeightAdjust- the new label height adjust- Returns:
- RendererOptions
-
getLabelPosition
public String getLabelPosition()
Gets the label position.- Returns:
- laelPosition
-
setLabelPosition
public RendererOptions setLabelPosition(String labelPosition)
Sets the label position.- Parameters:
labelPosition- the new label position- Returns:
- RendererOptions
-
getMax
public Integer getMax()
Gets the max.- Returns:
- max
-
setMax
public RendererOptions setMax(Integer max)
Sets the max.- Parameters:
max- the new max- Returns:
- RendererOptions
-
getMin
public Integer getMin()
Gets the min.- Returns:
- min
-
setMin
public RendererOptions setMin(Integer min)
Sets the min.- Parameters:
min- the new min- Returns:
- RendererOptions
-
getShowTickLabels
public Boolean getShowTickLabels()
Gets the show tick labels.- Returns:
- showTickLabels
-
setShowTickLabels
public RendererOptions setShowTickLabels(Boolean showTickLabels)
Sets the show tick labels.- Parameters:
showTickLabels- the new show tick labels- Returns:
- RendererOptions
-
getShowLables
public Boolean getShowLables()
Gets the show lables.- Returns:
- showLables flag true ou false
-
setShowLables
public RendererOptions setShowLables(Boolean showLables)
Sets the show lables.- Parameters:
showLables- the new show lables- Returns:
- RendererOptions
-
getBubbleAlpha
public Float getBubbleAlpha()
Gets the bubble alpha.- Returns:
- bubbleAlpha
-
setBubbleAlpha
public RendererOptions setBubbleAlpha(Float bubbleAlpha)
Sets the bubble alpha.- Parameters:
bubbleAlpha- the new bubble alpha- Returns:
- RendererOptions
-
getHighlightAlpha
public Float getHighlightAlpha()
Gets the highlight alpha.- Returns:
- highLigthAlpha
-
setHighlightAlpha
public RendererOptions setHighlightAlpha(Float highlightAlpha)
Sets the highlight alpha.- Parameters:
highlightAlpha- the new highlight alpha- Returns:
- RendererOptions
-
getBubbleGradients
public Boolean getBubbleGradients()
Gets the bubble gradients.- Returns:
- bubbleGradients
-
setBubbleGradients
public RendererOptions setBubbleGradients(Boolean bubbleGradients)
Sets the bubble gradients.- Parameters:
bubbleGradients- the new bubble gradients- Returns:
- RendererOptions
-
getBarMargin
public Integer getBarMargin()
Gets the bar margin.- Returns:
- barMargin
-
setBarMargin
public RendererOptions setBarMargin(Integer barMargin)
Sets the bar margin.- Parameters:
barMargin- the new bar margin- Returns:
- RendererOptions
-
getBarWidth
public Integer getBarWidth()
Gets the bar width.- Returns:
- barWidth
-
setBarWidth
public RendererOptions setBarWidth(Integer barWidth)
Sets the bar width.- Parameters:
barWidth- the new bar width- Returns:
- RendererOptions
-
isHighlightMouseDown
public Boolean isHighlightMouseDown()
Checks if is highlight mouse down.- Returns:
- highLigthMouseDown
-
setHighlightMouseDown
public RendererOptions setHighlightMouseDown(Boolean highlightMouseDown)
Sets the highlight mouse down.- Parameters:
highlightMouseDown- the new highlight mouse down- Returns:
- RendererOptions
-
getBarDirection
public String getBarDirection()
Gets the bar direction.- Returns:
- barDirection
-
setBarDirection
public RendererOptions setBarDirection(String barDirection)
Sets the bar direction.- Parameters:
barDirection- the new bar direction- Returns:
- RendererOptions
-
isFillZero
public Boolean isFillZero()
Checks if is fill zero.- Returns:
- fillZero true ou false
-
setFillZero
public RendererOptions setFillZero(Boolean fillZero)
Sets the fill zero.- Parameters:
fillZero- the new fill zero- Returns:
- RendererOptions
-
getShowDataLabels
public Boolean getShowDataLabels()
Gets the show data labels.- Returns:
- the showDataLabels
-
setShowDataLabels
public RendererOptions setShowDataLabels(Boolean showDataLabels)
Sets the show data labels.- Parameters:
showDataLabels- the showDataLabels to set- Returns:
- RendererOptions
-
getDataLabels
public String getDataLabels()
Gets the data labels.- Returns:
- the dataLabels
-
setDataLabels
public RendererOptions setDataLabels(String dataLabels)
Sets the data labels.- Parameters:
dataLabels- the dataLabels to set- Returns:
- RendererOptions
-
getSliceMargin
public Integer getSliceMargin()
Gets the slice margin.- Returns:
- the sliceMargin
-
setSliceMargin
public RendererOptions setSliceMargin(Integer sliceMargin)
Sets the slice margin.- Parameters:
sliceMargin- the sliceMargin to set- Returns:
- RendererOptions
-
getStartAngle
public Integer getStartAngle()
Gets the start angle.- Returns:
- the startAngle
-
setStartAngle
public RendererOptions setStartAngle(Integer startAngle)
Sets the start angle.- Parameters:
startAngle- the startAngle to set- Returns:
- RendererOptions
-
getAnimation
public Animation getAnimation()
Gets the animation.- Returns:
- the animation
-
setAnimation
public RendererOptions setAnimation(Animation animation)
Sets the animation.- Parameters:
animation- object for setting different animation speed- Returns:
- RendererOptions
-
getVaryBarColor
public Boolean getVaryBarColor()
Gets the vary bar color.- Returns:
- the vary bar color
-
setVaryBarColor
public RendererOptions setVaryBarColor(Boolean varyBarColor)
Sets the vary bar color.- Parameters:
varyBarColor- the new vary bar color- Returns:
- RendererOptions
-
getForceTickAt0
public Boolean getForceTickAt0()
Gets the force tick at zero.- Returns:
- the force tick at zero
-
setForceTickAt0
public RendererOptions setForceTickAt0(Boolean forceTickAt0)
Sets the force tick at zero.- Parameters:
forceTickAt0- the new force tick at zero- Returns:
- RendererOptions
-
getForceTickAt100
public Boolean getForceTickAt100()
Gets the force tick at 100.- Returns:
- the force tick at 100
-
setForceTickAt100
public RendererOptions setForceTickAt100(Boolean forceTickAt100)
Sets the force tick at 100.- Parameters:
forceTickAt100- the new force tick at 100- Returns:
- RendererOptions
-
-