com.sencha.gxt.chart.client.chart.axis
Class NumericAxis.Step

java.lang.Object
  extended by com.sencha.gxt.chart.client.chart.axis.NumericAxis.Step
Enclosing class:
NumericAxis<M>

public class NumericAxis.Step
extends Object

Class that represents a tick mark step in CartesianAxis.


Constructor Summary
NumericAxis.Step()
          Creates a tick step.
NumericAxis.Step(double value, double weight)
          Creates a tick step with given value and weight.
 
Method Summary
 double getValue()
          Returns the value of the step.
 double getWeight()
          Returns the weight of the step.
 void setValue(double value)
          Sets the value of the step.
 void setWeight(double weight)
          Sets the weight of the step.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericAxis.Step

public NumericAxis.Step()
Creates a tick step.


NumericAxis.Step

public NumericAxis.Step(double value,
                        double weight)
Creates a tick step with given value and weight.

Parameters:
value - the value of the step
weight - the weight of the step
Method Detail

getValue

public double getValue()
Returns the value of the step.

Returns:
the value of the step

getWeight

public double getWeight()
Returns the weight of the step.

Returns:
the weight of the step

setValue

public void setValue(double value)
Sets the value of the step.

Parameters:
value - the value of the step

setWeight

public void setWeight(double weight)
Sets the weight of the step.

Parameters:
weight - the weight of the step


Copyright © 2011. All Rights Reserved.