org.eclipse.birt.chart.model.component
Interface Scale

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
ScaleImpl

public interface Scale
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Scale'. This type defines the scale associated with an axis.

The following features are supported:

See Also:
ComponentPackage.getScale()

Method Summary
 DataElement getMax()
          Returns the value of the 'Max' containment reference.
 DataElement getMin()
          Returns the value of the 'Min' containment reference.
 int getMinorGridsPerUnit()
          Returns the value of the 'Minor Grids Per Unit' attribute.
 double getStep()
          Returns the value of the 'Step' attribute.
 int getStepNumber()
          Returns the value of the 'Step Number' attribute.
 ScaleUnitType getUnit()
          Returns the value of the 'Unit' attribute.
 boolean isSetMinorGridsPerUnit()
          Returns whether the value of the 'Minor Grids Per Unit' attribute is set.
 boolean isSetShowOutside()
          Returns whether the value of the 'Show Outside' attribute is set.
 boolean isSetStep()
          Returns whether the value of the 'Step' attribute is set.
 boolean isSetStepNumber()
          Returns whether the value of the 'Step Number' attribute is set.
 boolean isSetTickBetweenCategories()
          Returns whether the value of the 'Tick Between Categories' attribute is set.
 boolean isSetUnit()
          Returns whether the value of the 'Unit' attribute is set.
 boolean isShowOutside()
          Returns the value of the 'Show Outside' attribute.
 boolean isTickBetweenCategories()
          Returns the value of the 'Tick Between Categories' attribute.
 void setMax(DataElement value)
          Sets the value of the 'Max' containment reference.
 void setMin(DataElement value)
          Sets the value of the 'Min' containment reference.
 void setMinorGridsPerUnit(int value)
          Sets the value of the 'Minor Grids Per Unit' attribute.
 void setShowOutside(boolean value)
          Sets the value of the 'Show Outside' attribute.
 void setStep(double value)
          Sets the value of the 'Step' attribute.
 void setStepNumber(int value)
          Sets the value of the 'Step Number' attribute.
 void setTickBetweenCategories(boolean value)
          Sets the value of the 'Tick Between Categories' attribute.
 void setUnit(ScaleUnitType value)
          Sets the value of the 'Unit' attribute.
 void unsetMinorGridsPerUnit()
          Unsets the value of the 'Minor Grids Per Unit' attribute.
 void unsetShowOutside()
          Unsets the value of the 'Show Outside' attribute.
 void unsetStep()
          Unsets the value of the 'Step' attribute.
 void unsetStepNumber()
          Unsets the value of the 'Step Number' attribute.
 void unsetTickBetweenCategories()
          Unsets the value of the 'Tick Between Categories' attribute.
 void unsetUnit()
          Unsets the value of the 'Unit' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getMin

DataElement getMin()
Returns the value of the 'Min' containment reference. Gets the minimum value that will appear on the axis. Minimum value that should appear on the axis.

Returns:
the value of the 'Min' containment reference.
See Also:
setMin(DataElement), ComponentPackage.getScale_Min()

setMin

void setMin(DataElement value)
Sets the value of the 'Min' containment reference.

Parameters:
value - the new value of the 'Min' containment reference.
See Also:
getMin()

getMax

DataElement getMax()
Returns the value of the 'Max' containment reference. Gets the maximum value that will appear on the axis. Maximum value that should appear on the axis.

Returns:
the value of the 'Max' containment reference.
See Also:
setMax(DataElement), ComponentPackage.getScale_Max()

setMax

void setMax(DataElement value)
Sets the value of the 'Max' containment reference.

Parameters:
value - the new value of the 'Max' containment reference.
See Also:
getMax()

getStep

double getStep()
Returns the value of the 'Step' attribute. Gets the stepping in the values shown on the axis. Stepping in the values shown on the axis.

Returns:
the value of the 'Step' attribute.
See Also:
isSetStep(), unsetStep(), setStep(double), ComponentPackage.getScale_Step()

setStep

void setStep(double value)
Sets the value of the 'Step' attribute.

Parameters:
value - the new value of the 'Step' attribute.
See Also:
isSetStep(), unsetStep(), getStep()

unsetStep

void unsetStep()
Unsets the value of the 'Step' attribute.

See Also:
isSetStep(), getStep(), setStep(double)

isSetStep

boolean isSetStep()
Returns whether the value of the 'Step' attribute is set.

Returns:
whether the value of the 'Step' attribute is set.
See Also:
unsetStep(), getStep(), setStep(double)

getUnit

ScaleUnitType getUnit()
Returns the value of the 'Unit' attribute. The default value is "Seconds". The literals are from the enumeration ScaleUnitType. Stepping in the values shown on the axis.

Returns:
the value of the 'Unit' attribute.
See Also:
ScaleUnitType, isSetUnit(), unsetUnit(), setUnit(ScaleUnitType), ComponentPackage.getScale_Unit()

setUnit

void setUnit(ScaleUnitType value)
Sets the value of the 'Unit' attribute.

Parameters:
value - the new value of the 'Unit' attribute.
See Also:
ScaleUnitType, isSetUnit(), unsetUnit(), getUnit()

unsetUnit

void unsetUnit()
Unsets the value of the 'Unit' attribute.

See Also:
isSetUnit(), getUnit(), setUnit(ScaleUnitType)

isSetUnit

boolean isSetUnit()
Returns whether the value of the 'Unit' attribute is set.

Returns:
whether the value of the 'Unit' attribute is set.
See Also:
unsetUnit(), getUnit(), setUnit(ScaleUnitType)

getMinorGridsPerUnit

int getMinorGridsPerUnit()
Returns the value of the 'Minor Grids Per Unit' attribute. Specifies the number of minor grids per unit of the scale.

Returns:
the value of the 'Minor Grids Per Unit' attribute.
See Also:
isSetMinorGridsPerUnit(), unsetMinorGridsPerUnit(), setMinorGridsPerUnit(int), ComponentPackage.getScale_MinorGridsPerUnit()

setMinorGridsPerUnit

void setMinorGridsPerUnit(int value)
Sets the value of the 'Minor Grids Per Unit' attribute.

Parameters:
value - the new value of the 'Minor Grids Per Unit' attribute.
See Also:
isSetMinorGridsPerUnit(), unsetMinorGridsPerUnit(), getMinorGridsPerUnit()

unsetMinorGridsPerUnit

void unsetMinorGridsPerUnit()
Unsets the value of the 'Minor Grids Per Unit' attribute.

See Also:
isSetMinorGridsPerUnit(), getMinorGridsPerUnit(), setMinorGridsPerUnit(int)

isSetMinorGridsPerUnit

boolean isSetMinorGridsPerUnit()
Returns whether the value of the 'Minor Grids Per Unit' attribute is set.

Returns:
whether the value of the 'Minor Grids Per Unit' attribute is set.
See Also:
unsetMinorGridsPerUnit(), getMinorGridsPerUnit(), setMinorGridsPerUnit(int)

getStepNumber

int getStepNumber()
Returns the value of the 'Step Number' attribute. Number of steps in the values shown on the axis.

Returns:
the value of the 'Step Number' attribute.
See Also:
isSetStepNumber(), unsetStepNumber(), setStepNumber(int), ComponentPackage.getScale_StepNumber()

setStepNumber

void setStepNumber(int value)
Sets the value of the 'Step Number' attribute.

Parameters:
value - the new value of the 'Step Number' attribute.
See Also:
isSetStepNumber(), unsetStepNumber(), getStepNumber()

unsetStepNumber

void unsetStepNumber()
Unsets the value of the 'Step Number' attribute.

See Also:
isSetStepNumber(), getStepNumber(), setStepNumber(int)

isSetStepNumber

boolean isSetStepNumber()
Returns whether the value of the 'Step Number' attribute is set.

Returns:
whether the value of the 'Step Number' attribute is set.
See Also:
unsetStepNumber(), getStepNumber(), setStepNumber(int)

isShowOutside

boolean isShowOutside()
Returns the value of the 'Show Outside' attribute. The default value is "false". Indicates if it shows values outside Axis range.

Returns:
the value of the 'Show Outside' attribute.
See Also:
isSetShowOutside(), unsetShowOutside(), setShowOutside(boolean), ComponentPackage.getScale_ShowOutside()

setShowOutside

void setShowOutside(boolean value)
Sets the value of the 'Show Outside' attribute.

Parameters:
value - the new value of the 'Show Outside' attribute.
See Also:
isSetShowOutside(), unsetShowOutside(), isShowOutside()

unsetShowOutside

void unsetShowOutside()
Unsets the value of the 'Show Outside' attribute.

See Also:
isSetShowOutside(), isShowOutside(), setShowOutside(boolean)

isSetShowOutside

boolean isSetShowOutside()
Returns whether the value of the 'Show Outside' attribute is set.

Returns:
whether the value of the 'Show Outside' attribute is set.
See Also:
unsetShowOutside(), isShowOutside(), setShowOutside(boolean)

isTickBetweenCategories

boolean isTickBetweenCategories()
Returns the value of the 'Tick Between Categories' attribute. The default value is "true". Specifes if the major tick is rendered at the category value or between two categories. This only affects the category and text style axis.

Returns:
the value of the 'Tick Between Categories' attribute.
See Also:
isSetTickBetweenCategories(), unsetTickBetweenCategories(), setTickBetweenCategories(boolean), ComponentPackage.getScale_TickBetweenCategories()

setTickBetweenCategories

void setTickBetweenCategories(boolean value)
Sets the value of the 'Tick Between Categories' attribute.

Parameters:
value - the new value of the 'Tick Between Categories' attribute.
See Also:
isSetTickBetweenCategories(), unsetTickBetweenCategories(), isTickBetweenCategories()

unsetTickBetweenCategories

void unsetTickBetweenCategories()
Unsets the value of the 'Tick Between Categories' attribute.

See Also:
isSetTickBetweenCategories(), isTickBetweenCategories(), setTickBetweenCategories(boolean)

isSetTickBetweenCategories

boolean isSetTickBetweenCategories()
Returns whether the value of the 'Tick Between Categories' attribute is set.

Returns:
whether the value of the 'Tick Between Categories' attribute is set.
See Also:
unsetTickBetweenCategories(), isTickBetweenCategories(), setTickBetweenCategories(boolean)


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