org.eclipse.birt.chart.computation.withaxes
Class ScaleContext

java.lang.Object
  extended byorg.eclipse.birt.chart.computation.Methods
      extended byorg.eclipse.birt.chart.computation.withaxes.ScaleContext
All Implemented Interfaces:
IConstants

public class ScaleContext
extends Methods

Scale context for min/max computation.


Field Summary
 
Fields inherited from interface org.eclipse.birt.chart.computation.IConstants
ABOVE, ANCILLARY_AXIS, ANCILLARY_BASE, AUTO, AVERAGE, AXIS, BACKWARD, BASE, BASE_AXIS, BELOW, BOTTOM, CENTER, COLLECTION, DATE_TIME, DESIGN_TIME, EMPTY_STRING, EQUAL, FORWARD, HORIZONTAL, INSIDE, LABELS, LEFT, LEGEND_ENTRY, LEGEND_MINSLICE_ENTRY, LEGEND_SEPERATOR, LESS, LINE_EXPAND_DOUBLE_SIZE, LINE_EXPAND_SIZE, LINEAR, LOG_10, LOGARITHMIC, MAJOR, MAX, MIN, MINOR, MORE, NON_PRIMITIVE_ARRAY, NULL_STRING, NUMERICAL, ONE_SPACE, ORTHOGONAL, ORTHOGONAL_AXIS, OTHER, OUTSIDE, PERCENT, PRIMITIVE_ARRAY, RIGHT, RUN_TIME, SOME_NULL, TEXT, THREE_D, TICK_ABOVE, TICK_ACROSS, TICK_BELOW, TICK_LEFT, TICK_NONE, TICK_RIGHT, TICK_SIDE1, TICK_SIDE2, TICK_SIZE, TOP, TWO_5_D, TWO_D, UNDEFINED, UNDEFINED_STRING, USER_INTERFACE, VALUE, VERTICAL
 
Constructor Summary
ScaleContext(int iMarginPercent, int iType, java.lang.Object oMinAuto, java.lang.Object oMaxAuto, java.lang.Object oStep)
           
 
Method Summary
 void computeMinMax()
           
 java.lang.Object getMax()
           
 java.lang.Object getMin()
           
 java.lang.Object getRealMax()
           
 java.lang.Object getRealMin()
           
 java.lang.Object getStep()
           
 void setFixedStep(boolean bStepFixed, java.lang.Integer oStepNumber)
           
 void setFixedValue(boolean bMinimumFixed, boolean bMaximumFixed, java.lang.Object oMinFixed, java.lang.Object oMaxFixed)
           
 
Methods inherited from class org.eclipse.birt.chart.computation.Methods
asDateTime, asDouble, asInteger, computeBox, computeBox, computeHeight, computePolygon, computeRotatedTopPoint, computeWidth, getLabelPosition, getLocation, getLocation, getLocation, getNormalizedLocation, getNormalizedLocation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleContext

public ScaleContext(int iMarginPercent,
                    int iType,
                    java.lang.Object oMinAuto,
                    java.lang.Object oMaxAuto,
                    java.lang.Object oStep)
Method Detail

setFixedValue

public void setFixedValue(boolean bMinimumFixed,
                          boolean bMaximumFixed,
                          java.lang.Object oMinFixed,
                          java.lang.Object oMaxFixed)

setFixedStep

public void setFixedStep(boolean bStepFixed,
                         java.lang.Integer oStepNumber)

getMin

public java.lang.Object getMin()

getMax

public java.lang.Object getMax()

getRealMin

public java.lang.Object getRealMin()

getRealMax

public java.lang.Object getRealMax()

getStep

public java.lang.Object getStep()

computeMinMax

public void computeMinMax()


Copyright © 2005-2007 Actuate Corp. All rights reserved.