org.autoplot.dom.Application
Represents a state of the application as a whole, with its one canvas and
multiple plots, axes, and bindings.
Application( )
DEFAULT_TIME_RANGE
default time range indicates when the range is not being used. This should never been seen by the user.
PROP_DATASOURCEFILTERS
PROP_PLOT_ELEMENTS
PROP_PLOTS
PROP_CANVASES
PROP_ANNOTATIONS
PROP_TIMERANGE
all time axes should hang off of this.
PROP_EVENTSLISTURI
PROP_BINDINGS
PROP_CONNECTORS
childNodes
childNodes( ) → List
Returns:
java.util.List
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
copy
copy( ) → DomNode
return a copy of this application state.
Returns:
a copy of this application state.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
diffs
diffs( org.autoplot.dom.DomNode node ) → List
List the differences between the two nodes.
These should always be from this to that.
TODO: somehow this ends up working, although PlotElement and Style don't follow this rule.
Parameters
node - a DomNode
Returns:
a java.util.List
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getAnnotations
getAnnotations( ) → Annotation[]
Returns:
org.autoplot.dom.Annotation[][]
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getAnnotations( int index ) → Annotation
getBindings
getBindings( ) → BindingModel[]
Returns:
org.autoplot.dom.BindingModel[][]
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getBindings( int index ) → BindingModel
getCanvases
getCanvases( ) → Canvas[]
Returns:
org.autoplot.dom.Canvas[][]
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getCanvases( int index ) → Canvas
getConnectors
getConnectors( ) → Connector[]
Returns:
org.autoplot.dom.Connector[][]
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getConnectors( int index ) → Connector
getController
getController( ) → ApplicationController
Returns:
org.autoplot.dom.ApplicationController
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getDataSourceFilters
getDataSourceFilters( ) → DataSourceFilter[]
Returns:
org.autoplot.dom.DataSourceFilter[][]
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getDataSourceFilters( int index ) → DataSourceFilter
getElementById
getElementById( String id ) → DomNode
return the DomNode referenced by id. This was introduced because
it is often difficult to identify the index of a plot in the plots array
but its id is known, and this avoids the import of DomUtil.
Parameters
id - an id, such as "plot_2"
Returns:
the node
See Also:
DomUtil#getElementById(org.autoplot.dom.DomNode, java.lang.String)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getEventsListUri
getEventsListUri( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getOptions
getOptions( ) → Options
Returns:
org.autoplot.dom.Options
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getPlotElements
getPlotElements( ) → PlotElement[]
Returns:
org.autoplot.dom.PlotElement[][]
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getPlotElements( int index ) → PlotElement
getPlots
getPlots( ) → Plot[]
Returns:
org.autoplot.dom.Plot[][]
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getPlots( int index ) → Plot
getTimeRange
getTimeRange( ) → DatumRange
Returns:
org.das2.datum.DatumRange
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setAnnotations
setAnnotations( org.autoplot.dom.Annotation[][] annotations ) → void
Parameters
annotations - an org.autoplot.dom.Annotation[]
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setAnnotations( int index, org.autoplot.dom.Annotation annotation ) → void
setBindings
setBindings( org.autoplot.dom.BindingModel[][] bindings ) → void
Parameters
bindings - an org.autoplot.dom.BindingModel[]
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setBindings( int index, org.autoplot.dom.BindingModel newBinding ) → void
setCanvases
setCanvases( org.autoplot.dom.Canvas[][] canvases ) → void
Parameters
canvases - an org.autoplot.dom.Canvas[]
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setCanvases( int index, org.autoplot.dom.Canvas newCanvas ) → void
setConnectors
setConnectors( org.autoplot.dom.Connector[][] connectors ) → void
Parameters
connectors - an org.autoplot.dom.Connector[]
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setConnectors( int index, org.autoplot.dom.Connector newConnector ) → void
setDataSourceFilters
setDataSourceFilters( org.autoplot.dom.DataSourceFilter[][] dataSourceFilters ) → void
Parameters
dataSourceFilters - an org.autoplot.dom.DataSourceFilter[]
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setDataSourceFilters( int index, org.autoplot.dom.DataSourceFilter newDataSourceFilter ) → void
setEventsListUri
setEventsListUri( String eventsListUri ) → void
Parameters
eventsListUri - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setOptions
setOptions( org.autoplot.dom.Options options ) → void
Parameters
options - an Options
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setPlotElements
setPlotElements( org.autoplot.dom.PlotElement[][] pele ) → void
Parameters
pele - an org.autoplot.dom.PlotElement[]
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setPlotElements( int index, org.autoplot.dom.PlotElement pele ) → void
setPlots
setPlots( org.autoplot.dom.Plot[][] plots ) → void
Parameters
plots - an org.autoplot.dom.Plot[]
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setPlots( int index, org.autoplot.dom.Plot newPlots ) → void
setTimeRange
setTimeRange( DatumRange timeRange ) → void
Parameters
timeRange - a DatumRange
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
syncTo
syncTo( org.autoplot.dom.DomNode n ) → void
Parameters
n - a DomNode
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
syncTo( org.autoplot.dom.DomNode n, java.util.List exclude ) → void