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.
 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 isSetStep()
          Returns whether the value of the 'Step' attribute is set
 boolean isSetUnit()
          Returns whether the value of the 'Unit' attribute is set
 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 setStep(double value)
          Sets the value of the 'Step' 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 unsetStep()
          Unsets the value of the 'Step' 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

public 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

public 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

public 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

public 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

public 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

public 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

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

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

isSetStep

public 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

public 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

public 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

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

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

isSetUnit

public 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

public 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

public 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

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

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

isSetMinorGridsPerUnit

public 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)


Copyright © 2005 Actuate Corp. All rights reserved.