TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.chart.svg.internal.input.impl
Class SizeImpl

java.lang.Object
  extended by org.eclipse.tptp.platform.report.chart.svg.internal.input.impl.InputBase
      extended by org.eclipse.tptp.platform.report.chart.svg.internal.input.impl.SizeImpl
All Implemented Interfaces:
Size

public class SizeImpl
extends InputBase
implements Size

An implementation of the model object 'Size'.

The following features are implemented:

Generated

Field Summary
protected  double height
          The cached value of the 'Height' attribute
protected static double HEIGHT_EDEFAULT
          The default value of the 'Height' attribute
protected  boolean heightESet
          This is true if the Height attribute has been set
protected  double width
          The cached value of the 'Width' attribute
protected static double WIDTH_EDEFAULT
          The default value of the 'Width' attribute
protected  boolean widthESet
          This is true if the Width attribute has been set
 
Fields inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.input.impl.InputBase
_chart, _element
 
Constructor Summary
protected SizeImpl()
           
  SizeImpl(Chart chart)
           
  SizeImpl(Chart chart, org.w3c.dom.Element element)
           
 
Method Summary
 double getHeight()
           
 double getWidth()
           
 boolean isSetHeight()
           
 boolean isSetWidth()
           
 void setHeight(double newHeight)
           
 void setWidth(double newWidth)
           
 java.lang.String toString()
           
 void unsetHeight()
           
 void unsetWidth()
           
 
Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.input.impl.InputBase
getElement, 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.Size
getElement
 

Field Detail

HEIGHT_EDEFAULT

protected static final double HEIGHT_EDEFAULT
The default value of the 'Height' attribute.

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

height

protected double height
The cached value of the 'Height' attribute.

See Also:
getHeight()
Generated
[EMF] Ordered

heightESet

protected boolean heightESet
This is true if the Height attribute has been set.

Generated
[EMF] Ordered

WIDTH_EDEFAULT

protected static final double WIDTH_EDEFAULT
The default value of the 'Width' attribute.

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

width

protected double width
The cached value of the 'Width' attribute.

See Also:
getWidth()
Generated
[EMF] Ordered

widthESet

protected boolean widthESet
This is true if the Width attribute has been set.

Generated
[EMF] Ordered
Constructor Detail

SizeImpl

protected SizeImpl()

Generated

SizeImpl

public SizeImpl(Chart chart)

SizeImpl

public SizeImpl(Chart chart,
                org.w3c.dom.Element element)
Method Detail

getHeight

public double getHeight()

Specified by:
getHeight in interface Size
Returns:
the value of the 'Height' attribute.
See Also:
Size.isSetHeight(), Size.unsetHeight(), Size.setHeight(double), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getSize_Height()
Generated

setHeight

public void setHeight(double newHeight)

Specified by:
setHeight in interface Size
Parameters:
newHeight - the new value of the 'Height' attribute.
See Also:
Size.isSetHeight(), Size.unsetHeight(), Size.getHeight()
Generated

unsetHeight

public void unsetHeight()

Specified by:
unsetHeight in interface Size
See Also:
Size.isSetHeight(), Size.getHeight(), Size.setHeight(double)
Generated

isSetHeight

public boolean isSetHeight()

Specified by:
isSetHeight in interface Size
Returns:
whether the value of the 'Height' attribute is set.
See Also:
Size.unsetHeight(), Size.getHeight(), Size.setHeight(double)
Generated

getWidth

public double getWidth()

Specified by:
getWidth in interface Size
Returns:
the value of the 'Width' attribute.
See Also:
Size.isSetWidth(), Size.unsetWidth(), Size.setWidth(double), org.eclipse.tptp.platform.report.chart.svg.internal.input.InputPackage#getSize_Width()
Generated

setWidth

public void setWidth(double newWidth)

Specified by:
setWidth in interface Size
Parameters:
newWidth - the new value of the 'Width' attribute.
See Also:
Size.isSetWidth(), Size.unsetWidth(), Size.getWidth()
Generated

unsetWidth

public void unsetWidth()

Specified by:
unsetWidth in interface Size
See Also:
Size.isSetWidth(), Size.getWidth(), Size.setWidth(double)
Generated

isSetWidth

public boolean isSetWidth()

Specified by:
isSetWidth in interface Size
Returns:
whether the value of the 'Width' attribute is set.
See Also:
Size.unsetWidth(), Size.getWidth(), Size.setWidth(double)
Generated

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
Generated

TPTP 4.5.0 Platform Project
Internal API Specification