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
copy( ) → org.autoplot.dom.DomNode
Returns:
org.autoplot.dom.DomNode
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
diffs
diffs( org.autoplot.dom.DomNode node ) → java.util.List
Parameters
node - a DomNode
Returns:
java.util.List
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getAutorangeType
getAutorangeType( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getBackground
getBackground( ) → java.awt.Color
Returns:
java.awt.Color
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getCanvasFont
getCanvasFont( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[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
getColortable( ) → org.das2.graph.DasColorBar.Type
Returns:
org.das2.graph.DasColorBar.Type
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getController
getController( ) → org.autoplot.dom.OptionsPrefsController
Returns:
org.autoplot.dom.OptionsPrefsController
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getDisplayLogLevel
getDisplayLogLevel( ) → java.util.logging.Level
Returns:
java.util.logging.Level
[search for examples]
[view on GitHub]
[view on old javadoc]
[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
getForeground( ) → java.awt.Color
Returns:
java.awt.Color
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getHeight
getHeight( ) → int
Returns:
int
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getLineThickness
getLineThickness( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getLogMessageTimeoutSec
getLogMessageTimeoutSec( ) → int
Returns:
int
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getMouseModule
getMouseModule( ) → org.autoplot.MouseModuleType
Returns:
org.autoplot.MouseModuleType
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getMultiLineTextAlignment
getMultiLineTextAlignment( ) → float
Returns:
float
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getPrintingLogLevel
getPrintingLogLevel( ) → java.util.logging.Level
Returns:
java.util.logging.Level
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getPrintingTag
getPrintingTag( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getTicklen
getTicklen( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getWidth
getWidth( ) → int
Returns:
int
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isAutolabelling
isAutolabelling( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isAutolayout
isAutolayout( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isAutoranging
isAutoranging( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isDataVisible
isDataVisible( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isDayOfYear
isDayOfYear( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isDrawAntiAlias
isDrawAntiAlias( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isDrawGrid
isDrawGrid( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isDrawMinorGrid
isDrawMinorGrid( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isFlipColorbarLabel
isFlipColorbarLabel( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isLayoutVisible
isLayoutVisible( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isLogConsoleVisible
isLogConsoleVisible( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isNearestNeighbor
isNearestNeighbor( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isOppositeAxisVisible
isOppositeAxisVisible( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isOverRendering
isOverRendering( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isScanEnabled
isScanEnabled( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isScriptVisible
isScriptVisible( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isServerEnabled
isServerEnabled( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isSliceRebinnedData
isSliceRebinnedData( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isSpecialEffects
isSpecialEffects( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isTextAntiAlias
isTextAntiAlias( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isUseTimeRangeEditor
isUseTimeRangeEditor( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setAutolabelling
setAutolabelling( boolean autolabelling ) → void
Parameters
autolabelling - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setAutolayout
setAutolayout( boolean autolayout ) → void
Parameters
autolayout - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setAutorangeType
setAutorangeType( String autorangeType ) → void
Parameters
autorangeType - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setAutoranging
setAutoranging( boolean newautoranging ) → void
Parameters
newautoranging - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setBackground
setBackground( java.awt.Color background ) → void
Parameters
background - a Color
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setCanvasFont
setCanvasFont( String canvasFont ) → void
Parameters
canvasFont - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[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
setColortable( org.das2.graph.DasColorBar.Type colortable ) → void
Parameters
colortable - a DasColorBar.Type
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setDataVisible
setDataVisible( boolean dataVisible ) → void
Parameters
dataVisible - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setDayOfYear
setDayOfYear( boolean dayOfYear ) → void
Parameters
dayOfYear - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setDisplayLogLevel
setDisplayLogLevel( java.util.logging.Level displayLogLevel ) → void
Parameters
displayLogLevel - a Level
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setDrawAntiAlias
setDrawAntiAlias( boolean drawAntiAlias ) → void
Parameters
drawAntiAlias - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setDrawGrid
setDrawGrid( boolean drawGrid ) → void
Parameters
drawGrid - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setDrawMinorGrid
setDrawMinorGrid( boolean drawMinorGrid ) → void
Parameters
drawMinorGrid - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[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
setFlipColorbarLabel( boolean flipColorbarLabel ) → void
Parameters
flipColorbarLabel - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setForeground
setForeground( java.awt.Color foreground ) → void
Parameters
foreground - a Color
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[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
setLayoutVisible( boolean layoutVisible ) → void
Parameters
layoutVisible - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[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
setLogConsoleVisible( boolean logConsoleVisible ) → void
Parameters
logConsoleVisible - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setLogMessageTimeoutSec
setLogMessageTimeoutSec( int logMessageTimeoutSec ) → void
Parameters
logMessageTimeoutSec - an int
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setMouseModule
setMouseModule( org.autoplot.MouseModuleType mouseModule ) → void
Parameters
mouseModule - a MouseModuleType
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setMultiLineTextAlignment
setMultiLineTextAlignment( float multiLineTextAlignment ) → void
Parameters
multiLineTextAlignment - a float
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setNearestNeighbor
setNearestNeighbor( boolean nearestNeighbor ) → void
Parameters
nearestNeighbor - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setOppositeAxisVisible
setOppositeAxisVisible( boolean oppositeAxisVisible ) → void
Parameters
oppositeAxisVisible - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setOverRendering
setOverRendering( boolean overRendering ) → void
Parameters
overRendering - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setPrintingLogLevel
setPrintingLogLevel( java.util.logging.Level printingLogLevel ) → void
Parameters
printingLogLevel - a Level
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setPrintingTag
setPrintingTag( String printingTag ) → void
Parameters
printingTag - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setScanEnabled
setScanEnabled( boolean scanEnabled ) → void
Parameters
scanEnabled - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setScriptVisible
setScriptVisible( boolean scriptVisible ) → void
Parameters
scriptVisible - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setServerEnabled
setServerEnabled( boolean serverEnabled ) → void
Parameters
serverEnabled - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setSliceRebinnedData
setSliceRebinnedData( boolean sliceRebinnedData ) → void
Parameters
sliceRebinnedData - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setSpecialEffects
setSpecialEffects( boolean specialEffects ) → void
Parameters
specialEffects - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setTextAntiAlias
setTextAntiAlias( boolean textAntiAlias ) → void
Parameters
textAntiAlias - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setTicklen
setTicklen( String ticklen ) → void
Parameters
ticklen - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setUseTimeRangeEditor
setUseTimeRangeEditor( boolean useTimeRangeEditor ) → void
Parameters
useTimeRangeEditor - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[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
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]