Module org.wicketstuff.jqplot4j
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
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAxis()Gets the axis.Gets the background.Gets the border color.Gets the border width.Gets the bottom.Gets the draw border.Gets the draw grid lines.Gets the grid line color.Gets the grid line width.Gets the height.getLeft()Gets the left.String[]Gets the renderer options.getRight()Gets the right.Gets the shadow.Gets the shadow alpha.Gets the shadow angle.Gets the shadow color.Gets the shadow depth.Gets the shadow offset.Gets the shadow width.getTop()Gets the top.getWidth()Gets the width.voidSets the axis.voidsetBackground(String background) Sets the background.voidsetBorderColor(String borderColor) Sets the border color.voidsetBorderWidth(Double borderWidth) Sets the border width.voidSets 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.voidSets the height.voidSets the left.voidsetRendererOptions(String[] rendererOptions) Sets the renderer options.voidSets the right.voidSets 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.voidSets the top.voidSets the width.
-
Constructor Details
-
Grid
public Grid()
-
-
Method Details
-
getAxis
Gets the axis.- Returns:
- array de Axis
-
setAxis
Sets the axis.- Parameters:
axis- the new axis
-
getBackground
Gets the background.- Returns:
- background
-
setBackground
Sets the background.- Parameters:
background- the new background
-
getBorderColor
Gets the border color.- Returns:
- borderColor
-
setBorderColor
Sets the border color.- Parameters:
borderColor- the new border color
-
getBorderWidth
Gets the border width.- Returns:
- borderWidth
-
setBorderWidth
Sets the border width.- Parameters:
borderWidth- the new border width
-
getBottom
Gets the bottom.- Returns:
- bottom
-
setBottom
Sets the bottom.- Parameters:
bottom- the new bottom
-
getDrawBorder
Gets the draw border.- Returns:
- drawBorder true ou false
-
setDrawBorder
Sets the draw border.- Parameters:
drawBorder- the new draw border
-
getDrawGridLines
Gets the draw grid lines.- Returns:
- drawGridLines true ou false
-
setDrawGridLines
Sets the draw grid lines.- Parameters:
drawGridLines- the new draw grid lines
-
getGridLineColor
Gets the grid line color.- Returns:
- gridLineColor
-
setGridLineColer
Sets the grid line color.- Parameters:
gridLineColor- the new grid line color
-
getGridLineWidth
Gets the grid line width.- Returns:
- gridLineWidth
-
setGridLineWidth
Sets the grid line width.- Parameters:
gridLineWidth- the new grid line width
-
getHeight
Gets the height.- Returns:
- height
-
setHeight
Sets the height.- Parameters:
height- the new height
-
getLeft
Gets the left.- Returns:
- left
-
setLeft
Sets the left.- Parameters:
left- the new left
-
getRendererOptions
Gets the renderer options.- Returns:
- rendererOptions
-
setRendererOptions
Sets the renderer options.- Parameters:
rendererOptions- the new renderer options
-
getRight
Gets the right.- Returns:
- right
-
setRight
Sets the right.- Parameters:
right- the new right
-
getShadow
Gets the shadow.- Returns:
- shadow
-
setShadow
Sets the shadow.- Parameters:
shadow- the new shadow
-
getShadowAlpha
Gets the shadow alpha.- Returns:
- shadowAlpha
-
setShadowAlpha
Sets the shadow alpha.- Parameters:
shadowAlpha- the new shadow alpha
-
getShadowAngle
Gets the shadow angle.- Returns:
- shadowAngle
-
setShadowAngle
Sets the shadow angle.- Parameters:
shadowAngle- the new shadow angle
-
getShadowColor
Gets the shadow color.- Returns:
- shadowColor
-
setShadowColor
Sets the shadow color.- Parameters:
shadowColor- the new shadow color
-
getShadowDepth
Gets the shadow depth.- Returns:
- shadowDepth
-
setShadowDepth
Sets the shadow depth.- Parameters:
shadowDepth- the new shadow depth
-
getShadowOffset
Gets the shadow offset.- Returns:
- shadowOffSet
-
setShadowOffset
Sets the shadow offset.- Parameters:
shadowOffset- the new shadow offset
-
getShadowWidth
Gets the shadow width.- Returns:
- shadowWidth
-
setShadowWidth
Sets the shadow width.- Parameters:
shadowWidth- the new shadow width
-
getTop
Gets the top.- Returns:
- top
-
setTop
Sets the top.- Parameters:
top- the new top
-
getWidth
Gets the width.- Returns:
- width
-
setWidth
Sets the width.- Parameters:
width- the new width
-