org.autoplot.dom.PlotElement

Represents the method for painting data on to a plot, and filters that are applied to the data before plotting.

PlotElement( )


PROP_DATASOURCEFILTERID


PROP_STYLE


PROP_PLOT_DEFAULTS


PROP_RENDERTYPE


PROP_RENDERCONTROL


PROP_CADENCECHECK


PROP_PLOTID


PROP_PARENT

id of this plotElement's parent, which groups the plotElements into one abstract plot. The parent and children must share the same dataSourceFilter.


PROP_COMPONENT


PROP_LEGENDLABEL


PROP_DISPLAYLEGEND


PROP_AUTOLABEL

true indicates the axis label hasn't been changed manually and may/should be set automatically.


PROP_AUTORENDERTYPE

true indicates that the renderType hasn't been changed manually and may/should be set automatically.


PROP_AUTOCOMPONENT


PROP_ACTIVE

childNodes( ) → java.util.List [view source]
clone( ) → Object [view source]
copy( ) → org.autoplot.dom.DomNode [view source]
diffs( org.autoplot.dom.DomNode node ) → java.util.List [view source]
getComponent( ) → String [view source]
getController( ) → org.autoplot.dom.PlotElementController [view source]
getDataSourceFilterId( ) → String [view source]
getLegendLabel( ) → String [view source]
getParent( ) → String [view source]
getPlotDefaults( ) → org.autoplot.dom.Plot [view source]
getPlotId( ) → String [view source]
getRenderControl( ) → String [view source]
getRenderType( ) → org.autoplot.RenderType [view source]
getStyle( ) → org.autoplot.dom.PlotElementStyle [view source]
isActive( ) → boolean [view source]
isAutoComponent( ) → boolean [view source]
isAutoLabel( ) → boolean [view source]
isAutoRenderType( ) → boolean [view source]
isCadenceCheck( ) → boolean [view source]
isDisplayLegend( ) → boolean [view source]
setActive( boolean active ) → void [view source]
setAutoComponent( boolean autoComponent ) → void [view source]
setAutoLabel( boolean autolabel ) → void [view source]
setAutoRenderType( boolean autoRenderType ) → void [view source]
setCadenceCheck( boolean cadenceCheck ) → void [view source]
setComponent( String component ) → void [view source]

setComponentAutomatically

setComponentAutomatically( String component ) → void

Set the property, and also set the autoComponent property. Note setComponent will clear the property. TODO: this should probably be in the controller.

Parameters

component - a String

Returns:

void (returns nothing)

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

setDataSourceFilterId( String dataSourceFilterId ) → void [view source]
setDisplayLegend( boolean displayLegend ) → void [view source]
setLegendLabel( String legendLabel ) → void [view source]
setLegendLabelAutomatically( String legendLabel ) → void [view source]
setParent( String parent ) → void [view source]
setPlotDefaults( org.autoplot.dom.Plot plot ) → void [view source]
setPlotId( String plotId ) → void [view source]
setRenderControl( String renderUri ) → void [view source]
setRenderType( org.autoplot.RenderType renderType ) → void [view source]
setRenderTypeAutomatically( org.autoplot.RenderType renderType ) → void [view source]
setStyle( org.autoplot.dom.PlotElementStyle style ) → void [view source]
syncTo( org.autoplot.dom.DomNode n ) → void [view source]
syncTo( org.autoplot.dom.DomNode node, java.util.List exclude ) → void [view source]
toString( ) → String [view source]