org.autoplot.dom.Options

Bean for holding Autoplot configuration options. Note there are a few AutoplotUI prefs here that shouldn't be, like scriptVisible which indicates if the script tab is shown.

Options( )


PROP_COLOR


PROP_FILLCOLOR


VALUE_AUTORANGE_TYPE_RELUCTANT

try to recycle old axis settings. If the new range is near the old range, then just use the old range.


PROP_SCRIPTVISIBLE


PROP_LOGCONSOLEVISIBLE


PROP_DATAVISIBLE

true when the data tab is visible.


PROP_LAYOUTVISIBLE

true when the layout tab is visible.


PROP_SERVERENABLED


PROP_CANVASFONT


PROP_WIDTH


PROP_HEIGHT


PROP_FOREGROUND


PROP_BACKGROUND


PROP_COLORTABLE


PROP_OPPOSITEAXISVISIBLE


PROP_TICKLEN


PROP_LINE_THICKNESS


PROP_MULTILINETEXTALIGNMENT


PROP_FLIPCOLORBARLABEL


PROP_SPECIALEFFECTS

property specialEffects enables/disables things like animated axes, etc.


PROP_DRAWANTIALIAS


PROP_TEXTANTIALIAS


PROP_DRAWGRID


PROP_DRAWMINORGRID


PROP_OVERRENDERING

overRendering is a hint to the plots that the data outside the visible axis bounds should be rendered so that operations like pan are more fluid.


PROP_AUTORANGING


PROP_AUTORANGETYPE


PROP_AUTOLABELLING


PROP_AUTOLAYOUT


PROP_DAY_OF_YEAR


PROP_USE_TIME_RANGE_EDITOR

Use time range editor instead of Data Set Selector.


PROP_NEARESTNEIGHBOR


PROP_MOUSEMODULE


PROP_SLICEREBINNEDDATA


PROP_PRINTINGTAG


PROP_PRINTINGLOGLEVEL


PROP_DISPLAYLOGLEVEL


PROP_LOGMESSAGETIMEOUTSEC


PROP_SCANENABLED

copy( ) → org.autoplot.dom.DomNode [view source]
diffs( org.autoplot.dom.DomNode node ) → java.util.List [view source]
getAutorangeType( ) → String [view source]
getBackground( ) → java.awt.Color [view source]
getCanvasFont( ) → String [view source]

getColor

getColor( ) → java.awt.Color

Getter for property color.

Returns:

Value of property color.

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

getColortable( ) → org.das2.graph.DasColorBar.Type [view source]
getController( ) → org.autoplot.dom.OptionsPrefsController [view source]
getDisplayLogLevel( ) → java.util.logging.Level [view source]

getFillColor

getFillColor( ) → java.awt.Color

Getter for property fillColor.

Returns:

Value of property fillColor.

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

getForeground( ) → java.awt.Color [view source]
getHeight( ) → int [view source]
getLineThickness( ) → String [view source]
getLogMessageTimeoutSec( ) → int [view source]
getMouseModule( ) → org.autoplot.MouseModuleType [view source]
getMultiLineTextAlignment( ) → float [view source]
getPrintingLogLevel( ) → java.util.logging.Level [view source]
getPrintingTag( ) → String [view source]
getTicklen( ) → String [view source]
getWidth( ) → int [view source]
isAutolabelling( ) → boolean [view source]
isAutolayout( ) → boolean [view source]
isAutoranging( ) → boolean [view source]
isDataVisible( ) → boolean [view source]
isDayOfYear( ) → boolean [view source]
isDrawAntiAlias( ) → boolean [view source]
isDrawGrid( ) → boolean [view source]
isDrawMinorGrid( ) → boolean [view source]
isFlipColorbarLabel( ) → boolean [view source]
isLayoutVisible( ) → boolean [view source]
isLogConsoleVisible( ) → boolean [view source]
isNearestNeighbor( ) → boolean [view source]
isOppositeAxisVisible( ) → boolean [view source]
isOverRendering( ) → boolean [view source]
isScanEnabled( ) → boolean [view source]
isScriptVisible( ) → boolean [view source]
isServerEnabled( ) → boolean [view source]
isSliceRebinnedData( ) → boolean [view source]
isSpecialEffects( ) → boolean [view source]
isTextAntiAlias( ) → boolean [view source]
isUseTimeRangeEditor( ) → boolean [view source]
setAutolabelling( boolean autolabelling ) → void [view source]
setAutolayout( boolean autolayout ) → void [view source]
setAutorangeType( String autorangeType ) → void [view source]
setAutoranging( boolean newautoranging ) → void [view source]
setBackground( java.awt.Color background ) → void [view source]
setCanvasFont( String canvasFont ) → void [view source]

setColor

setColor( java.awt.Color color ) → void

Setter for property color.

Parameters

color - New value of property color.

Returns:

void (returns nothing)

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

setColortable( org.das2.graph.DasColorBar.Type colortable ) → void [view source]
setDataVisible( boolean dataVisible ) → void [view source]
setDayOfYear( boolean dayOfYear ) → void [view source]
setDisplayLogLevel( java.util.logging.Level displayLogLevel ) → void [view source]
setDrawAntiAlias( boolean drawAntiAlias ) → void [view source]
setDrawGrid( boolean drawGrid ) → void [view source]
setDrawMinorGrid( boolean drawMinorGrid ) → void [view source]

setFillColor

setFillColor( java.awt.Color fillColor ) → void

Setter for property fillColor.

Parameters

fillColor - New value of property fillColor.

Returns:

void (returns nothing)

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

setFlipColorbarLabel( boolean flipColorbarLabel ) → void [view source]
setForeground( java.awt.Color foreground ) → void [view source]

setHeight

setHeight( int height ) → void

set the initial height of the canvases in pixels

Parameters

height - an int

Returns:

void (returns nothing)

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

setLayoutVisible( boolean layoutVisible ) → void [view source]

setLineThickness

setLineThickness( String lineThickness ) → void

lineThickness is the thickness of axes and ticks.

Parameters

lineThickness - a String

Returns:

void (returns nothing)

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

setLogConsoleVisible( boolean logConsoleVisible ) → void [view source]
setLogMessageTimeoutSec( int logMessageTimeoutSec ) → void [view source]
setMouseModule( org.autoplot.MouseModuleType mouseModule ) → void [view source]
setMultiLineTextAlignment( float multiLineTextAlignment ) → void [view source]
setNearestNeighbor( boolean nearestNeighbor ) → void [view source]
setOppositeAxisVisible( boolean oppositeAxisVisible ) → void [view source]
setOverRendering( boolean overRendering ) → void [view source]
setPrintingLogLevel( java.util.logging.Level printingLogLevel ) → void [view source]
setPrintingTag( String printingTag ) → void [view source]
setScanEnabled( boolean scanEnabled ) → void [view source]
setScriptVisible( boolean scriptVisible ) → void [view source]
setServerEnabled( boolean serverEnabled ) → void [view source]
setSliceRebinnedData( boolean sliceRebinnedData ) → void [view source]
setSpecialEffects( boolean specialEffects ) → void [view source]
setTextAntiAlias( boolean textAntiAlias ) → void [view source]
setTicklen( String ticklen ) → void [view source]
setUseTimeRangeEditor( boolean useTimeRangeEditor ) → void [view source]

setWidth

setWidth( int width ) → void

set the initial width of the canvases in pixels

Parameters

width - an int

Returns:

void (returns nothing)

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


syncTo

syncTo( org.autoplot.dom.DomNode n, java.util.List exclude ) → void

synchronizes to another node, except unlike other nodes where this is thorough by default, this is the minimal set of properties that will provide a usable display. These include the colors and the fonts, and the timeRange editor mode, flip colorbar label, the ticklen, and last scanEnabled.

Parameters

n - the node
exclude - the properties to exclude.

Returns:

void (returns nothing)

See Also:

https://sourceforge.net/p/autoplot/bugs/2175/


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

syncTo( org.autoplot.dom.DomNode n ) → void [view source]

syncToAll

syncToAll( org.autoplot.dom.DomNode n, java.util.List exclude ) → void

synchronizes any property having to do with the appearance of the plot. This includes user preferences like the axis grid, and also performance switches which may have a minor effect on appearance such as overrendering. This was introduced to support createPngWalk, which should have an appearance as close as possible to the vap.

Parameters

n - the node
exclude - the properties to exclude.

Returns:

void (returns nothing)

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