org.das2.dasml.Processor

Introduced to factor out all the dasml stuff from the graph package.

Processor( )


refPattern


intPattern


floatPattern


createFormCanvas

createFormCanvas( String name, int width, int height ) → DasCanvas

Parameters

name - a String
width - an int
height - an int

Returns:

DasCanvas with a name.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


createNamedAxis

createNamedAxis( String name ) → DasAxis

TODO

Parameters

name - a String

Returns:

an org.das2.graph.DasAxis

[search for examples] [view on GitHub] [view on old javadoc] [view source]


createNamedColorBar

createNamedColorBar( String name ) → DasColorBar

Parameters

name - a String

Returns:

org.das2.graph.DasColorBar

[search for examples] [view on GitHub] [view on old javadoc] [view source]


createNamedPlot

createNamedPlot( String name ) → DasPlot

Parameters

name - a String

Returns:

org.das2.graph.DasPlot

[search for examples] [view on GitHub] [view on old javadoc] [view source]


deregisterComponent

deregisterComponent( org.das2.graph.DasCanvas canvas ) → void

Parameters

canvas - a DasCanvas

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getDOMElement

getDOMElement( org.das2.graph.DasAxis axis, org.w3c.dom.Document document ) → Element

TODO

Parameters

axis - a DasAxis
document - a Document

Returns:

an org.w3c.dom.Element

[search for examples] [view on GitHub] [view on old javadoc] [view source]

getDOMElement( org.das2.graph.DasCanvas canvas, org.w3c.dom.Document document ) → Element
getDOMElement( org.das2.graph.DasRow row, org.w3c.dom.Document document ) → Element
getDOMElement( org.das2.graph.DasColumn column, org.w3c.dom.Document document ) → Element
getDOMElement( org.das2.graph.DasColorBar colorbar, org.w3c.dom.Document document ) → Element
getDOMElement( org.das2.graph.DasPlot plot, org.w3c.dom.Document document ) → Element
getDOMElement( org.das2.graph.Renderer r, org.w3c.dom.Document doc ) → Element

getForm

getForm( org.das2.graph.DasCanvas canvas ) → FormBase

TODO

Parameters

canvas - a DasCanvas

Returns:

an org.das2.dasml.FormBase

[search for examples] [view on GitHub] [view on old javadoc] [view source]


parseValue

parseValue( org.das2.NameContext nameContext, String valueString, java.lang.Class type ) → Object

Parses the given String object in an attempt to produce the an object of the given type.

Parameters

nameContext - a NameContext
valueString - the given String
type - the given type

Returns:

java.lang.Object

[search for examples] [view on GitHub] [view on old javadoc] [view source]


processCanvasElement

processCanvasElement( org.w3c.dom.Element element, org.das2.dasml.FormBase form ) → DasCanvas

Process a <canvas> element.

Parameters

element - The DOM tree node that represents the element
form - a FormBase

Returns:

an org.das2.graph.DasCanvas

[search for examples] [view on GitHub] [view on old javadoc] [view source]


processLinePlotElement

processLinePlotElement( org.w3c.dom.Element element, org.das2.graph.DasPlot parent, org.das2.dasml.FormBase form ) → SeriesRenderer

Parameters

element - an Element
parent - a DasPlot
form - a FormBase

Returns:

org.das2.graph.SeriesRenderer

[search for examples] [view on GitHub] [view on old javadoc] [view source]


processPlotElement

processPlotElement( org.w3c.dom.Element element, org.das2.dasml.FormBase form ) → DasPlot

Parameters

element - an Element
form - a FormBase

Returns:

org.das2.graph.DasPlot

[search for examples] [view on GitHub] [view on old javadoc] [view source]


processSpectrogramElement

processSpectrogramElement( org.w3c.dom.Element element, org.das2.graph.DasPlot parent, org.das2.dasml.FormBase form ) → SpectrogramRenderer

Parameters

element - an Element
parent - a DasPlot
form - a FormBase

Returns:

org.das2.graph.SpectrogramRenderer

[search for examples] [view on GitHub] [view on old javadoc] [view source]


processStackedHistogramElement

processStackedHistogramElement( org.w3c.dom.Element element, org.das2.graph.DasPlot parent, org.das2.dasml.FormBase form ) → Renderer

Parameters

element - an Element
parent - a DasPlot
form - a FormBase

Returns:

org.das2.graph.Renderer

[search for examples] [view on GitHub] [view on old javadoc] [view source]


registerComponent

registerComponent( org.das2.graph.DasCanvas canvas ) → void

Parameters

canvas - a DasCanvas

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]