TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.chart.svg.internal.generator
Class SVGLinearGradientBase

java.lang.Object
  extended by org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase
      extended by org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGContainerBase
          extended by org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGLinearGradientBase
All Implemented Interfaces:
java.io.Serializable, ISVGBase, ISVGContainerBase, ISVGLinearGradientBase
Direct Known Subclasses:
SVGLinearGradient

public abstract class SVGLinearGradientBase
extends SVGContainerBase
implements ISVGLinearGradientBase, java.io.Serializable

SVGLinearGradientBase is an abstract base class for classes which generate Scalable Vector Graphics (SVG) "linearGradient" elements.

See Also:
Serialized Form

Constructor Summary
SVGLinearGradientBase()
           
 
Method Summary
 org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
          Calls the superclass to create the SVG container element and then sets any non-null base attributes.
 java.lang.String getGradientUnits()
          Returns the gradientUnits.
 java.lang.String getSpreadMethod()
          Returns the spreadMethod.
 java.lang.String getX1()
          Returns the x1.
 java.lang.String getX2()
          Returns the x2.
 java.lang.String getY1()
          Returns the y1.
 java.lang.String getY2()
          Returns the y2.
 void setGradientUnits(java.lang.String gradientUnits)
          Sets the gradientUnits.
 void setSpreadMethod(java.lang.String spreadMethod)
          Sets the spreadMethod.
 void setX1(java.lang.String x1)
          Sets the x1.
 void setX2(java.lang.String x2)
          Sets the x2.
 void setY1(java.lang.String y1)
          Sets the y1.
 void setY2(java.lang.String y2)
          Sets the y2.
 
Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGContainerBase
getChildren, getDesc, getTitle, setChildren, setDesc, setTitle
 
Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase
getIdentifier, getImplementation, getStyle, getStyleClass, getTagName, getVisibility, setIdentifier, setStyle, setStyleClass, setTagName, setVisibility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGLinearGradientBase

public SVGLinearGradientBase()
Method Detail

doImplementation

public org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
Calls the superclass to create the SVG container element and then sets any non-null base attributes. Calls the doImplementation(Document) method on all children - any children returning null will not have elements added to the container.

Specified by:
doImplementation in interface ISVGLinearGradientBase
Overrides:
doImplementation in class SVGContainerBase
Parameters:
Document - the target SVG Document
Returns:
Element the container implementation or null if the element was not created.
Throws:
DOMException - if the tag name contains an illegal character.
java.lang.NullPointerException - if any child elements are null.

getSpreadMethod

public java.lang.String getSpreadMethod()
Returns the spreadMethod.

Specified by:
getSpreadMethod in interface ISVGLinearGradientBase
Returns:
String

getX1

public java.lang.String getX1()
Returns the x1.

Specified by:
getX1 in interface ISVGLinearGradientBase
Returns:
String

getX2

public java.lang.String getX2()
Returns the x2.

Specified by:
getX2 in interface ISVGLinearGradientBase
Returns:
String

getY1

public java.lang.String getY1()
Returns the y1.

Specified by:
getY1 in interface ISVGLinearGradientBase
Returns:
String

getY2

public java.lang.String getY2()
Returns the y2.

Specified by:
getY2 in interface ISVGLinearGradientBase
Returns:
String

setSpreadMethod

public void setSpreadMethod(java.lang.String spreadMethod)
Sets the spreadMethod.

Specified by:
setSpreadMethod in interface ISVGLinearGradientBase
Parameters:
spreadMethod - The spreadMethod to set

setX1

public void setX1(java.lang.String x1)
Sets the x1.

Specified by:
setX1 in interface ISVGLinearGradientBase
Parameters:
x1 - The x1 to set

setX2

public void setX2(java.lang.String x2)
Sets the x2.

Specified by:
setX2 in interface ISVGLinearGradientBase
Parameters:
x2 - The x2 to set

setY1

public void setY1(java.lang.String y1)
Sets the y1.

Specified by:
setY1 in interface ISVGLinearGradientBase
Parameters:
y1 - The y1 to set

setY2

public void setY2(java.lang.String y2)
Sets the y2.

Specified by:
setY2 in interface ISVGLinearGradientBase
Parameters:
y2 - The y2 to set

getGradientUnits

public java.lang.String getGradientUnits()
Returns the gradientUnits.

Specified by:
getGradientUnits in interface ISVGLinearGradientBase
Returns:
String

setGradientUnits

public void setGradientUnits(java.lang.String gradientUnits)
Sets the gradientUnits.

Specified by:
setGradientUnits in interface ISVGLinearGradientBase
Parameters:
gradientUnits - The gradientUnits to set

TPTP 4.5.0 Platform Project
Internal API Specification