TPTP 4.6.0 Platform Project
Internal API Specification

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

java.lang.Object
  extended by org.eclipse.tptp.platform.report.chart.svg.internal.input.cim.SVGInputBase
Direct Known Subclasses:
SVGAccessibilityImpl, SVGAxesImpl, SVGAxisDefinitionImpl, SVGCategoricalDataImpl, SVGCategoriesImpl, SVGCategoryImpl, SVGChartAreaImpl, SVGChartImpl, SVGConfigurationImpl, SVGCoordinatesImpl, SVGCustomFormatImpl, SVGDataImpl, SVGDataSetAssociationsImpl, SVGDataSetColorImpl, SVGDataSetImpl, SVGDataSetsImpl, SVGDataValueImpl, SVGDateFormatImpl, SVGEcmascriptImpl, SVGEventHandlerImpl, SVGInternationalizationImpl, SVGLegendImpl, SVGMarkerLineImpl, SVGMarkerRegionImpl, SVGNumberFormatImpl, SVGPalettesImpl, SVGPlotAreaImpl, SVGPreferencesImpl, SVGScriptsImpl, SVGShapeImpl, SVGShapesImpl, SVGSizeImpl, SVGTimestampImpl, SVGTitleBarImpl, SVGTooltipImpl, SVGUnitDefinitionImpl

public abstract class SVGInputBase
extends java.lang.Object


Field Summary
protected  Chart _chart
           
protected  DGraphic _dgraphic
           
protected static DColorRegistry colors
           
protected static java.util.Hashtable colorTable
           
 
Constructor Summary
SVGInputBase()
           
 
Method Summary
 void assign(java.lang.Object source)
           
protected  void constructAccessibilityModel(Accessibility acc, IDItem parent)
           
protected  void constructEventHandlerModel(java.util.List eventhandler, IDItem parent)
           
 void constructModel()
           
protected  java.lang.String convertToHex(java.lang.String colorId)
           
protected  Accessibility getAccessibility(IDItem container)
          Helper method that creates an Accessibilty object based on a DItemContainer object
protected  java.lang.String getColor(DColor color)
           
 DGraphic getDGraphic()
           
 org.w3c.dom.Element getElement()
           
protected  java.util.List getEventHandler(DItemContainer container)
          Helper method that creates a list of EventHandler object based on a DItemContainer object
protected  java.util.List getEventHandler(DPropertyStore propertyStore, java.lang.String property)
          Helper method that creates a list of EventHandler object based on a property on a DGraphic object
protected  java.util.List listFactory(java.util.List sourceList)
           
 void log(java.lang.String text)
           
 void logln(java.lang.String text)
           
 void setDGraphic(DGraphic _dgraphic)
           
 void setElement(org.w3c.dom.Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colors

protected static DColorRegistry colors

_chart

protected Chart _chart

_dgraphic

protected DGraphic _dgraphic

colorTable

protected static java.util.Hashtable colorTable
Constructor Detail

SVGInputBase

public SVGInputBase()
Method Detail

getDGraphic

public DGraphic getDGraphic()
Returns:
Returns the _dgraphic.

setDGraphic

public void setDGraphic(DGraphic _dgraphic)
Parameters:
_dgraphic - The _dgraphic to set.

getElement

public org.w3c.dom.Element getElement()
Returns:

setElement

public void setElement(org.w3c.dom.Element element)
Parameters:
element -

constructModel

public void constructModel()

log

public void log(java.lang.String text)

logln

public void logln(java.lang.String text)

getAccessibility

protected Accessibility getAccessibility(IDItem container)
Helper method that creates an Accessibilty object based on a DItemContainer object

Parameters:
container -
Returns:

getEventHandler

protected java.util.List getEventHandler(DItemContainer container)
Helper method that creates a list of EventHandler object based on a DItemContainer object

Parameters:
container -
Returns:

getEventHandler

protected java.util.List getEventHandler(DPropertyStore propertyStore,
                                         java.lang.String property)
Helper method that creates a list of EventHandler object based on a property on a DGraphic object

Parameters:
container -
Returns:

constructAccessibilityModel

protected void constructAccessibilityModel(Accessibility acc,
                                           IDItem parent)

constructEventHandlerModel

protected void constructEventHandlerModel(java.util.List eventhandler,
                                          IDItem parent)

assign

public void assign(java.lang.Object source)

listFactory

protected java.util.List listFactory(java.util.List sourceList)

convertToHex

protected java.lang.String convertToHex(java.lang.String colorId)

getColor

protected java.lang.String getColor(DColor color)
Returns:
the IDColor with is stored in the node. The node value can be a color id or a color defined with the format #RRGGBBAA

TPTP 4.6.0 Platform Project
Internal API Specification