EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.google.chart.model
Class BarChartSize

java.lang.Object
  extended by echopoint.google.chart.model.BarChartSize
All Implemented Interfaces:
Serializable

public class BarChartSize
extends Object
implements Serializable

A simple model object that may be used to represent the parameters that control bar chart size. Use of this model object is entirely optional, since the BarChart.setSize(String) method may be used directly using the string value as required by Google API.

Version:
$Id: BarChartSize.java 63 2008-08-29 07:46:39Z sptrakesh $
Author:
Rakesh 2008-08-20
See Also:
Serialized Form

Constructor Summary
BarChartSize(int width)
          Create a new instance using the specified width.
BarChartSize(int width, int groupSpace)
          Create a new instance using the specified width and intra-group spacing.
BarChartSize(int width, int groupSpace, int space)
          Create a new instance using the specified parameters.
 
Method Summary
 int getGroupSpace()
          Accessor for property 'groupSpace'.
 int getSpace()
          Accessor for property 'space'.
 int getWidth()
          Accessor for property 'width'.
 String toString()
          Return a string representation of the data encapsulated in this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BarChartSize

public BarChartSize(int width)
Create a new instance using the specified width.

Parameters:
width - The width of a bar in the chart.

BarChartSize

public BarChartSize(int width,
                    int groupSpace)
Create a new instance using the specified width and intra-group spacing.

Parameters:
width - The width of a bar in the chart.
groupSpace - The intra-group spacing for the chart.

BarChartSize

public BarChartSize(int width,
                    int groupSpace,
                    int space)
Create a new instance using the specified parameters.

Parameters:
width - The width of a bar in the chart.
groupSpace - The intra-group spacing for the chart.
space - The space between groups in the chart.
Method Detail

toString

public String toString()
Return a string representation of the data encapsulated in this object. The string value corresponds to the encoding used to represent this value in the Google API.

Overrides:
toString in class Object
Returns:
The string representation of this object.

getWidth

public int getWidth()
Accessor for property 'width'.

Returns:
Value for property 'width'.

getGroupSpace

public int getGroupSpace()
Accessor for property 'groupSpace'.

Returns:
Value for property 'groupSpace'.

getSpace

public int getSpace()
Accessor for property 'space'.

Returns:
Value for property 'space'.

EchoPoint API - 3.0.0b5
App Webcontainer