Class Grid<T extends Serializable>
- java.lang.Object
-
- org.wicketstuff.jqplot.lib.elements.Grid<T>
-
- Type Parameters:
T- Type ofAxis
- All Implemented Interfaces:
Serializable,Element
public class Grid<T extends Serializable> extends Object implements Element
Object representing the grid on which the plot is drawn. The grid in this context is the area bounded by the axes, the area which will contain the series. Note, the series are drawn on their own canvas. The Grid object cannot be instantiated directly, but is created by the Plot oject. Grid properties can be set or overriden by the options passed in from the user.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Grid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Axis<T>[]getAxis()Gets the axis.StringgetBackground()Gets the background.StringgetBorderColor()Gets the border color.DoublegetBorderWidth()Gets the border width.FloatgetBottom()Gets the bottom.BooleangetDrawBorder()Gets the draw border.BooleangetDrawGridLines()Gets the draw grid lines.StringgetGridLineColor()Gets the grid line color.DoublegetGridLineWidth()Gets the grid line width.FloatgetHeight()Gets the height.FloatgetLeft()Gets the left.String[]getRendererOptions()Gets the renderer options.FloatgetRight()Gets the right.BooleangetShadow()Gets the shadow.StringgetShadowAlpha()Gets the shadow alpha.DoublegetShadowAngle()Gets the shadow angle.StringgetShadowColor()Gets the shadow color.DoublegetShadowDepth()Gets the shadow depth.DoublegetShadowOffset()Gets the shadow offset.DoublegetShadowWidth()Gets the shadow width.FloatgetTop()Gets the top.FloatgetWidth()Gets the width.voidsetAxis(Axis<T>[] axis)Sets the axis.voidsetBackground(String background)Sets the background.voidsetBorderColor(String borderColor)Sets the border color.voidsetBorderWidth(Double borderWidth)Sets the border width.voidsetBottom(Float bottom)Sets the bottom.voidsetDrawBorder(Boolean drawBorder)Sets the draw border.voidsetDrawGridLines(Boolean drawGridLines)Sets the draw grid lines.voidsetGridLineColer(String gridLineColor)Sets the grid line color.voidsetGridLineWidth(Double gridLineWidth)Sets the grid line width.voidsetHeight(Float height)Sets the height.voidsetLeft(Float left)Sets the left.voidsetRendererOptions(String[] rendererOptions)Sets the renderer options.voidsetRight(Float right)Sets the right.voidsetShadow(Boolean shadow)Sets the shadow.voidsetShadowAlpha(String shadowAlpha)Sets the shadow alpha.voidsetShadowAngle(Double shadowAngle)Sets the shadow angle.voidsetShadowColor(String shadowColor)Sets the shadow color.voidsetShadowDepth(Double shadowDepth)Sets the shadow depth.voidsetShadowOffset(Double shadowOffset)Sets the shadow offset.voidsetShadowWidth(Double shadowWidth)Sets the shadow width.voidsetTop(Float top)Sets the top.voidsetWidth(Float width)Sets the width.
-
-
-
Method Detail
-
getBackground
public String getBackground()
Gets the background.- Returns:
- background
-
setBackground
public void setBackground(String background)
Sets the background.- Parameters:
background- the new background
-
getBorderColor
public String getBorderColor()
Gets the border color.- Returns:
- borderColor
-
setBorderColor
public void setBorderColor(String borderColor)
Sets the border color.- Parameters:
borderColor- the new border color
-
getBorderWidth
public Double getBorderWidth()
Gets the border width.- Returns:
- borderWidth
-
setBorderWidth
public void setBorderWidth(Double borderWidth)
Sets the border width.- Parameters:
borderWidth- the new border width
-
getBottom
public Float getBottom()
Gets the bottom.- Returns:
- bottom
-
setBottom
public void setBottom(Float bottom)
Sets the bottom.- Parameters:
bottom- the new bottom
-
getDrawBorder
public Boolean getDrawBorder()
Gets the draw border.- Returns:
- drawBorder true ou false
-
setDrawBorder
public void setDrawBorder(Boolean drawBorder)
Sets the draw border.- Parameters:
drawBorder- the new draw border
-
getDrawGridLines
public Boolean getDrawGridLines()
Gets the draw grid lines.- Returns:
- drawGridLines true ou false
-
setDrawGridLines
public void setDrawGridLines(Boolean drawGridLines)
Sets the draw grid lines.- Parameters:
drawGridLines- the new draw grid lines
-
getGridLineColor
public String getGridLineColor()
Gets the grid line color.- Returns:
- gridLineColor
-
setGridLineColer
public void setGridLineColer(String gridLineColor)
Sets the grid line color.- Parameters:
gridLineColor- the new grid line color
-
getGridLineWidth
public Double getGridLineWidth()
Gets the grid line width.- Returns:
- gridLineWidth
-
setGridLineWidth
public void setGridLineWidth(Double gridLineWidth)
Sets the grid line width.- Parameters:
gridLineWidth- the new grid line width
-
getHeight
public Float getHeight()
Gets the height.- Returns:
- height
-
setHeight
public void setHeight(Float height)
Sets the height.- Parameters:
height- the new height
-
getLeft
public Float getLeft()
Gets the left.- Returns:
- left
-
setLeft
public void setLeft(Float left)
Sets the left.- Parameters:
left- the new left
-
getRendererOptions
public String[] getRendererOptions()
Gets the renderer options.- Returns:
- rendererOptions
-
setRendererOptions
public void setRendererOptions(String[] rendererOptions)
Sets the renderer options.- Parameters:
rendererOptions- the new renderer options
-
getRight
public Float getRight()
Gets the right.- Returns:
- right
-
setRight
public void setRight(Float right)
Sets the right.- Parameters:
right- the new right
-
getShadow
public Boolean getShadow()
Gets the shadow.- Returns:
- shadow
-
setShadow
public void setShadow(Boolean shadow)
Sets the shadow.- Parameters:
shadow- the new shadow
-
getShadowAlpha
public String getShadowAlpha()
Gets the shadow alpha.- Returns:
- shadowAlpha
-
setShadowAlpha
public void setShadowAlpha(String shadowAlpha)
Sets the shadow alpha.- Parameters:
shadowAlpha- the new shadow alpha
-
getShadowAngle
public Double getShadowAngle()
Gets the shadow angle.- Returns:
- shadowAngle
-
setShadowAngle
public void setShadowAngle(Double shadowAngle)
Sets the shadow angle.- Parameters:
shadowAngle- the new shadow angle
-
getShadowColor
public String getShadowColor()
Gets the shadow color.- Returns:
- shadowColor
-
setShadowColor
public void setShadowColor(String shadowColor)
Sets the shadow color.- Parameters:
shadowColor- the new shadow color
-
getShadowDepth
public Double getShadowDepth()
Gets the shadow depth.- Returns:
- shadowDepth
-
setShadowDepth
public void setShadowDepth(Double shadowDepth)
Sets the shadow depth.- Parameters:
shadowDepth- the new shadow depth
-
getShadowOffset
public Double getShadowOffset()
Gets the shadow offset.- Returns:
- shadowOffSet
-
setShadowOffset
public void setShadowOffset(Double shadowOffset)
Sets the shadow offset.- Parameters:
shadowOffset- the new shadow offset
-
getShadowWidth
public Double getShadowWidth()
Gets the shadow width.- Returns:
- shadowWidth
-
setShadowWidth
public void setShadowWidth(Double shadowWidth)
Sets the shadow width.- Parameters:
shadowWidth- the new shadow width
-
getTop
public Float getTop()
Gets the top.- Returns:
- top
-
setTop
public void setTop(Float top)
Sets the top.- Parameters:
top- the new top
-
getWidth
public Float getWidth()
Gets the width.- Returns:
- width
-
setWidth
public void setWidth(Float width)
Sets the width.- Parameters:
width- the new width
-
-