TPTP 4.2.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.chart.svg.internal.input.cim
Class SVGAxisDefinitionImpl

java.lang.Object
  extended byorg.eclipse.tptp.platform.report.chart.svg.internal.input.cim.SVGInputBase
      extended byorg.eclipse.tptp.platform.report.chart.svg.internal.input.cim.SVGAxisDefinitionImpl
All Implemented Interfaces:
AxisDefinition
Direct Known Subclasses:
SVGDependentAxisDefinitionImpl

public class SVGAxisDefinitionImpl
extends SVGInputBase
implements AxisDefinition

An implementation of the model object 'Axis Definition'.

The following features are implemented:

Generated

Field Summary
protected  Accessibility accessibility
          The cached value of the 'Accessibility' containment reference
protected  DAxis axis
           
protected  CustomFormat customFormat
          The cached value of the 'Custom Format' containment reference
protected  DateFormat dateFormat
          The cached value of the 'Date Format' containment reference
protected  java.util.List eventHandler
          The cached value of the 'Event Handler' containment reference list
protected static java.lang.String ID_EDEFAULT
          The default value of the 'Id' attribute
protected static java.lang.String LABEL_EDEFAULT
          The default value of the 'Label' attribute
protected static double LABEL_ROTATION_EDEFAULT
          The default value of the 'Label Rotation' attribute
protected  double labelRotation
          The cached value of the 'Label Rotation' attribute
protected  boolean labelRotationESet
          This is true if the Label Rotation attribute has been set
protected  UnitDefinition majorUnit
          The cached value of the 'Major Unit' containment reference
protected  java.util.List markerLine
          The cached value of the 'Marker Line' containment reference list
protected  java.util.List markerRegion
          The cached value of the 'Marker Region' containment reference list
protected  double max
          The cached value of the 'Max' attribute
protected static double MAX_EDEFAULT
          The default value of the 'Max' attribute
protected  boolean maxESet
          This is true if the Max attribute has been set
protected  double min
          The cached value of the 'Min' attribute
protected static double MIN_EDEFAULT
          The default value of the 'Min' attribute
protected  boolean minESet
          This is true if the Min attribute has been set
protected  UnitDefinition minorUnit
          The cached value of the 'Minor Unit' containment reference
protected  NumberFormat numberFormat
          The cached value of the 'Number Format' containment reference
protected  java.lang.String scale
          The cached value of the 'Scale' attribute
protected static java.lang.String SCALE_EDEFAULT
          The default value of the 'Scale' attribute
protected  Tooltip tooltip
          The cached value of the 'Tooltip' containment reference
 
Fields inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.input.cim.SVGInputBase
_chart, _dgraphic, colors, colorTable
 
Constructor Summary
protected SVGAxisDefinitionImpl()
           
  SVGAxisDefinitionImpl(Chart chart, DGraphic dgraphic, DAxis axis)
           
  SVGAxisDefinitionImpl(SVGChartImpl chart)
           
 
Method Summary
 void assignAccessibility(Accessibility source)
           
 void assignCustomFormat(CustomFormat source)
           
 void assignDateFormat(DateFormat source)
           
 void assignMajorUnit(UnitDefinition source)
           
 void assignMinorUnit(UnitDefinition source)
           
 void assignNumberFormat(NumberFormat source)
           
 void assignTooltip(Tooltip source)
           
 Accessibility getAccessibility()
           
 CustomFormat getCustomFormat()
          Returns the value of the 'Custom Format' containment reference
 DateFormat getDateFormat()
           
 java.util.List getEventHandler()
           
 java.lang.String getId()
           
 java.lang.String getLabel()
           
 double getLabelRotation()
           
 UnitDefinition getMajorUnit()
           
 java.util.List getMarkerLine()
           
 java.util.List getMarkerRegion()
           
 double getMax()
           
 double getMin()
           
 UnitDefinition getMinorUnit()
           
 NumberFormat getNumberFormat()
           
 java.lang.String getScale()
           
 Tooltip getTooltip()
           
 boolean isSetLabelRotation()
           
 boolean isSetMax()
           
 boolean isSetMin()
           
 void setAccessibility(Accessibility newAccessibility)
           
 void setCustomFormat(CustomFormat newCustomFormat)
          Sets the value of the 'Custom Format' containment reference
 void setDateFormat(DateFormat newDateFormat)
           
 void setEventHandler(java.util.List newEventHandler)
           
 void setId(java.lang.String newId)
           
 void setLabel(java.lang.String newLabel)
           
 void setLabelRotation(double newLabelRotation)
           
 void setMajorUnit(UnitDefinition newMajorUnit)
           
 void setMarkerLine(java.util.List newMarkerLine)
           
 void setMarkerRegion(java.util.List newMarkerRegion)
           
 void setMax(double newMax)
           
 void setMin(double newMin)
           
 void setMinorUnit(UnitDefinition newMinorUnit)
           
 void setNumberFormat(NumberFormat newNumberFormat)
           
 void setScale(java.lang.String newScale)
           
 void setTooltip(Tooltip newTooltip)
           
 java.lang.String toString()
           
 void unsetLabelRotation()
           
 void unsetMax()
           
 void unsetMin()
           
 
Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.input.cim.SVGInputBase
assign, constructAccessibilityModel, constructEventHandlerModel, constructModel, convertToHex, getAccessibility, getColor, getDGraphic, getElement, getEventHandler, getEventHandler, listFactory, log, logln, setDGraphic, setElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.tptp.platform.report.chart.svg.internal.input.AxisDefinition
getElement
 

Field Detail

ID_EDEFAULT

protected static final java.lang.String ID_EDEFAULT
The default value of the 'Id' attribute.

See Also:
getId()
Generated
[EMF] Ordered

LABEL_EDEFAULT

protected static final java.lang.String LABEL_EDEFAULT
The default value of the 'Label' attribute.

See Also:
getLabel()
Generated
[EMF] Ordered

LABEL_ROTATION_EDEFAULT

protected static final double LABEL_ROTATION_EDEFAULT
The default value of the 'Label Rotation' attribute.

See Also:
getLabelRotation(), Constant Field Values
Generated
[EMF] Ordered

labelRotation

protected double labelRotation
The cached value of the 'Label Rotation' attribute.

See Also:
getLabelRotation()
Generated
[EMF] Ordered

labelRotationESet

protected boolean labelRotationESet
This is true if the Label Rotation attribute has been set.

Generated
[EMF] Ordered

MAX_EDEFAULT

protected static final double MAX_EDEFAULT
The default value of the 'Max' attribute.

See Also:
getMax(), Constant Field Values
Generated
[EMF] Ordered

max

protected double max
The cached value of the 'Max' attribute.

See Also:
getMax()
Generated
[EMF] Ordered

maxESet

protected boolean maxESet
This is true if the Max attribute has been set.

Generated
[EMF] Ordered

MIN_EDEFAULT

protected static final double MIN_EDEFAULT
The default value of the 'Min' attribute.

See Also:
getMin(), Constant Field Values
Generated
[EMF] Ordered

min

protected double min
The cached value of the 'Min' attribute.

See Also:
getMin()
Generated
[EMF] Ordered

minESet

protected boolean minESet
This is true if the Min attribute has been set.

Generated
[EMF] Ordered

SCALE_EDEFAULT

protected static final java.lang.String SCALE_EDEFAULT
The default value of the 'Scale' attribute.

See Also:
getScale()
Generated
[EMF] Ordered

scale

protected java.lang.String scale
The cached value of the 'Scale' attribute.

See Also:
getScale()
Generated
[EMF] Ordered

majorUnit

protected UnitDefinition majorUnit
The cached value of the 'Major Unit' containment reference.

See Also:
getMajorUnit()
Generated
[EMF] Ordered

minorUnit

protected UnitDefinition minorUnit
The cached value of the 'Minor Unit' containment reference.

See Also:
getMinorUnit()
Generated
[EMF] Ordered

markerLine

protected java.util.List markerLine
The cached value of the 'Marker Line' containment reference list.

See Also:
getMarkerLine()
Generated
[EMF] Ordered

markerRegion

protected java.util.List markerRegion
The cached value of the 'Marker Region' containment reference list.

See Also:
getMarkerRegion()
Generated
[EMF] Ordered

numberFormat

protected NumberFormat numberFormat
The cached value of the 'Number Format' containment reference.

See Also:
getNumberFormat()
Generated
[EMF] Ordered

dateFormat

protected DateFormat dateFormat
The cached value of the 'Date Format' containment reference.

See Also:
getDateFormat()
Generated
[EMF] Ordered

customFormat

protected CustomFormat customFormat
The cached value of the 'Custom Format' containment reference.

See Also:
getCustomFormat()
Generated
[EMF] Ordered

accessibility

protected Accessibility accessibility
The cached value of the 'Accessibility' containment reference.

See Also:
getAccessibility()
Generated
[EMF] Ordered

eventHandler

protected java.util.List eventHandler
The cached value of the 'Event Handler' containment reference list.

See Also:
getEventHandler()
Generated
[EMF] Ordered

tooltip

protected Tooltip tooltip
The cached value of the 'Tooltip' containment reference.

See Also:
getTooltip()
Generated
[EMF] Ordered

axis

protected DAxis axis
Constructor Detail

SVGAxisDefinitionImpl

protected SVGAxisDefinitionImpl()

Generated

SVGAxisDefinitionImpl

public SVGAxisDefinitionImpl(SVGChartImpl chart)

SVGAxisDefinitionImpl

public SVGAxisDefinitionImpl(Chart chart,
                             DGraphic dgraphic,
                             DAxis axis)
Method Detail

getId

public java.lang.String getId()

Specified by:
getId in interface AxisDefinition
Returns:
the value of the 'Id' attribute.
See Also:
AxisDefinition.setId(String), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_Id()
Generated

setId

public void setId(java.lang.String newId)

Specified by:
setId in interface AxisDefinition
Parameters:
newId - the new value of the 'Id' attribute.
See Also:
AxisDefinition.getId()
Generated

getLabel

public java.lang.String getLabel()

Specified by:
getLabel in interface AxisDefinition
Returns:
the value of the 'Label' attribute.
See Also:
AxisDefinition.setLabel(String), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_Label()
Generated

setLabel

public void setLabel(java.lang.String newLabel)

Specified by:
setLabel in interface AxisDefinition
Parameters:
newLabel - the new value of the 'Label' attribute.
See Also:
AxisDefinition.getLabel()
Generated

getLabelRotation

public double getLabelRotation()

Specified by:
getLabelRotation in interface AxisDefinition
Returns:
the value of the 'Label Rotation' attribute.
See Also:
AxisDefinition.isSetLabelRotation(), AxisDefinition.unsetLabelRotation(), AxisDefinition.setLabelRotation(double), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_LabelRotation()
Generated

setLabelRotation

public void setLabelRotation(double newLabelRotation)

Specified by:
setLabelRotation in interface AxisDefinition
Parameters:
newLabelRotation - the new value of the 'Label Rotation' attribute.
See Also:
AxisDefinition.isSetLabelRotation(), AxisDefinition.unsetLabelRotation(), AxisDefinition.getLabelRotation()
Generated

unsetLabelRotation

public void unsetLabelRotation()

Specified by:
unsetLabelRotation in interface AxisDefinition
See Also:
AxisDefinition.isSetLabelRotation(), AxisDefinition.getLabelRotation(), AxisDefinition.setLabelRotation(double)
Generated

isSetLabelRotation

public boolean isSetLabelRotation()

Specified by:
isSetLabelRotation in interface AxisDefinition
Returns:
whether the value of the 'Label Rotation' attribute is set.
See Also:
AxisDefinition.unsetLabelRotation(), AxisDefinition.getLabelRotation(), AxisDefinition.setLabelRotation(double)
Generated

getMax

public double getMax()

Specified by:
getMax in interface AxisDefinition
Returns:
the value of the 'Max' attribute.
See Also:
AxisDefinition.isSetMax(), AxisDefinition.unsetMax(), AxisDefinition.setMax(double), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_Max()
Generated

setMax

public void setMax(double newMax)

Specified by:
setMax in interface AxisDefinition
Parameters:
newMax - the new value of the 'Max' attribute.
See Also:
AxisDefinition.isSetMax(), AxisDefinition.unsetMax(), AxisDefinition.getMax()
Generated

unsetMax

public void unsetMax()

Specified by:
unsetMax in interface AxisDefinition
See Also:
AxisDefinition.isSetMax(), AxisDefinition.getMax(), AxisDefinition.setMax(double)
Generated

isSetMax

public boolean isSetMax()

Specified by:
isSetMax in interface AxisDefinition
Returns:
whether the value of the 'Max' attribute is set.
See Also:
AxisDefinition.unsetMax(), AxisDefinition.getMax(), AxisDefinition.setMax(double)
Generated

getMin

public double getMin()

Specified by:
getMin in interface AxisDefinition
Returns:
the value of the 'Min' attribute.
See Also:
AxisDefinition.isSetMin(), AxisDefinition.unsetMin(), AxisDefinition.setMin(double), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_Min()
Generated

setMin

public void setMin(double newMin)

Specified by:
setMin in interface AxisDefinition
Parameters:
newMin - the new value of the 'Min' attribute.
See Also:
AxisDefinition.isSetMin(), AxisDefinition.unsetMin(), AxisDefinition.getMin()
Generated

unsetMin

public void unsetMin()

Specified by:
unsetMin in interface AxisDefinition
See Also:
AxisDefinition.isSetMin(), AxisDefinition.getMin(), AxisDefinition.setMin(double)
Generated

isSetMin

public boolean isSetMin()

Specified by:
isSetMin in interface AxisDefinition
Returns:
whether the value of the 'Min' attribute is set.
See Also:
AxisDefinition.unsetMin(), AxisDefinition.getMin(), AxisDefinition.setMin(double)
Generated

getScale

public java.lang.String getScale()

Specified by:
getScale in interface AxisDefinition
Returns:
the value of the 'Scale' attribute.
See Also:
AxisDefinition.setScale(String), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_Scale()
Generated

setScale

public void setScale(java.lang.String newScale)

Specified by:
setScale in interface AxisDefinition
Parameters:
newScale - the new value of the 'Scale' attribute.
See Also:
AxisDefinition.getScale()
Generated

getMajorUnit

public UnitDefinition getMajorUnit()

Specified by:
getMajorUnit in interface AxisDefinition
Returns:
the value of the 'Major Unit' containment reference.
See Also:
AxisDefinition.setMajorUnit(UnitDefinition), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_MajorUnit()
Generated

setMajorUnit

public void setMajorUnit(UnitDefinition newMajorUnit)

Specified by:
setMajorUnit in interface AxisDefinition
Parameters:
newMajorUnit - the new value of the 'Major Unit' containment reference.
See Also:
AxisDefinition.getMajorUnit()
Generated

assignMajorUnit

public void assignMajorUnit(UnitDefinition source)

getMinorUnit

public UnitDefinition getMinorUnit()

Specified by:
getMinorUnit in interface AxisDefinition
Returns:
the value of the 'Minor Unit' containment reference.
See Also:
AxisDefinition.setMinorUnit(UnitDefinition), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_MinorUnit()
Generated

setMinorUnit

public void setMinorUnit(UnitDefinition newMinorUnit)

Specified by:
setMinorUnit in interface AxisDefinition
Parameters:
newMinorUnit - the new value of the 'Minor Unit' containment reference.
See Also:
AxisDefinition.getMinorUnit()
Generated

assignMinorUnit

public void assignMinorUnit(UnitDefinition source)

getMarkerLine

public java.util.List getMarkerLine()

Specified by:
getMarkerLine in interface AxisDefinition
Returns:
the value of the 'Marker Line' containment reference list.
See Also:
org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_MarkerLine()
Generated

setMarkerLine

public void setMarkerLine(java.util.List newMarkerLine)

getMarkerRegion

public java.util.List getMarkerRegion()

Specified by:
getMarkerRegion in interface AxisDefinition
Returns:
the value of the 'Marker Region' containment reference list.
See Also:
org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_MarkerRegion()
Generated

setMarkerRegion

public void setMarkerRegion(java.util.List newMarkerRegion)

getNumberFormat

public NumberFormat getNumberFormat()

Specified by:
getNumberFormat in interface AxisDefinition
Returns:
the value of the 'Number Format' containment reference.
See Also:
AxisDefinition.setNumberFormat(NumberFormat), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_NumberFormat()
Generated

setNumberFormat

public void setNumberFormat(NumberFormat newNumberFormat)

Specified by:
setNumberFormat in interface AxisDefinition
Parameters:
newNumberFormat - the new value of the 'Number Format' containment reference.
See Also:
AxisDefinition.getNumberFormat()
Generated

assignNumberFormat

public void assignNumberFormat(NumberFormat source)

getDateFormat

public DateFormat getDateFormat()

Specified by:
getDateFormat in interface AxisDefinition
Returns:
the value of the 'Date Format' containment reference.
See Also:
AxisDefinition.setDateFormat(DateFormat), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_DateFormat()
Generated

setDateFormat

public void setDateFormat(DateFormat newDateFormat)

Specified by:
setDateFormat in interface AxisDefinition
Parameters:
newDateFormat - the new value of the 'Date Format' containment reference.
See Also:
AxisDefinition.getDateFormat()
Generated

assignDateFormat

public void assignDateFormat(DateFormat source)

getAccessibility

public Accessibility getAccessibility()

Specified by:
getAccessibility in interface AxisDefinition
Returns:
the value of the 'Accessibility' containment reference.
See Also:
AxisDefinition.setAccessibility(Accessibility), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_Accessibility()
Generated

setAccessibility

public void setAccessibility(Accessibility newAccessibility)

Specified by:
setAccessibility in interface AxisDefinition
Parameters:
newAccessibility - the new value of the 'Accessibility' containment reference.
See Also:
AxisDefinition.getAccessibility()
Generated

assignAccessibility

public void assignAccessibility(Accessibility source)

getEventHandler

public java.util.List getEventHandler()

Specified by:
getEventHandler in interface AxisDefinition
Returns:
the value of the 'Event Handler' containment reference list.
See Also:
org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_EventHandler()
Generated

setEventHandler

public void setEventHandler(java.util.List newEventHandler)

getTooltip

public Tooltip getTooltip()

Specified by:
getTooltip in interface AxisDefinition
Returns:
the value of the 'Tooltip' containment reference.
See Also:
AxisDefinition.setTooltip(Tooltip), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_Tooltip()
Generated

setTooltip

public void setTooltip(Tooltip newTooltip)

Specified by:
setTooltip in interface AxisDefinition
Parameters:
newTooltip - the new value of the 'Tooltip' containment reference.
See Also:
AxisDefinition.getTooltip()
Generated

assignTooltip

public void assignTooltip(Tooltip source)

toString

public java.lang.String toString()

Generated

getCustomFormat

public CustomFormat getCustomFormat()
Description copied from interface: AxisDefinition
Returns the value of the 'Custom Format' containment reference.

Specified by:
getCustomFormat in interface AxisDefinition
Returns:
the value of the 'Custom Format' containment reference.
See Also:
AxisDefinition.setCustomFormat(CustomFormat), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getAxisDefinition_CustomFormat()

setCustomFormat

public void setCustomFormat(CustomFormat newCustomFormat)
Description copied from interface: AxisDefinition
Sets the value of the 'Custom Format' containment reference.

Specified by:
setCustomFormat in interface AxisDefinition
Parameters:
newCustomFormat - the new value of the 'Custom Format' containment reference.
See Also:
AxisDefinition.getCustomFormat()

assignCustomFormat

public void assignCustomFormat(CustomFormat source)

TPTP 4.2.0 Platform Project
Internal API Specification