org.virbo.autoplot.state
Class ApplicationState

java.lang.Object
  extended by org.virbo.autoplot.state.ApplicationState

public class ApplicationState
extends java.lang.Object


Field Summary
protected  Options options
           
static java.lang.String PROP_AUTOOVERVIEW
           
static java.lang.String PROP_AUTORANGING
           
static java.lang.String PROP_CANVASSIZE
           
static java.lang.String PROP_TITLE
           
static java.lang.String PROP_XLABEL
           
static java.lang.String PROP_YLABEL
           
static java.lang.String PROP_ZLABEL
           
protected  java.lang.String xLabel
           
protected  java.lang.String yLabel
           
protected  java.lang.String zLabel
           
 
Constructor Summary
ApplicationState()
          Creates a new instance of ApplicationState
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
          Adds a PropertyChangeListener to the listener list.
 java.lang.String diffs(ApplicationState that)
          return a string containing the diffs, comma delineated.
 boolean equals(java.lang.Object o)
           
 java.awt.Color getBackgroundColor()
          Getter for property backgroundColor.
 java.awt.Dimension getCanvasSize()
           
 java.awt.Color getColor()
          Getter for property color.
 java.lang.String getColortable()
          Getter for property colortable.
 java.lang.String getEmbeddedDataSet()
          Getter for property embeddedDataSet.
 java.lang.String getFill()
          Getter for property fill.
 java.awt.Color getFillColor()
          Getter for property fillColor.
 java.awt.Color getForegroundColor()
          Getter for property foregroundColor.
 double getLineWidth()
          Getter for property lineWidth.
 Options getOptions()
           
 java.lang.String getPlotSymbol()
          Getter for property plotSymbol.
 java.lang.String getReference()
          Getter for property reference.
 java.lang.String getSurl()
          Getter for property surl.
 java.lang.String getSymbolConnector()
          Getter for property symbolConnector.
 double getSymbolSize()
          Getter for property symbolSize.
 java.lang.String getTitle()
           
 java.lang.String getValidRange()
          Getter for property validRange.
 java.lang.String getXLabel()
           
 edu.uiowa.physics.pw.das.datum.DatumRange getXrange()
          Getter for property xrange.
 java.lang.String getYLabel()
           
 edu.uiowa.physics.pw.das.datum.DatumRange getYrange()
          Getter for property yrange.
 java.lang.String getZLabel()
           
 edu.uiowa.physics.pw.das.datum.DatumRange getZrange()
          Getter for property zrange.
 boolean isAutoOverview()
           
 boolean isAutoranging()
           
 boolean isFillToReference()
          Getter for property fillBelow.
 boolean isShowContextOverview()
          Getter for property showContextOverview.
 boolean isUseEmbeddedDataSet()
          Getter for property useEmbeddedDataSet.
 boolean isXlog()
          Getter for property xlog.
 boolean isYlog()
          Getter for property ylog.
 boolean isZlog()
          Getter for property zlog.
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
          Removes a PropertyChangeListener from the listener list.
 void setAutoOverview(boolean newautoOverview)
           
 void setAutoranging(boolean newautoranging)
           
 void setBackgroundColor(java.awt.Color backgroundColor)
          Setter for property backgroundColor.
 void setCanvasSize(java.awt.Dimension newcanvasSize)
           
 void setColor(java.awt.Color color)
          Setter for property color.
 void setColortable(java.lang.String colortable)
          Setter for property colortable.
 void setEmbeddedDataSet(java.lang.String embeddedDataSet)
          Setter for property embeddedDataSet.
 void setFill(java.lang.String fill)
          Setter for property fill.
 void setFillColor(java.awt.Color fillColor)
          Setter for property fillColor.
 void setFillToReference(boolean fillToReference)
          Setter for property fillBelow.
 void setForegroundColor(java.awt.Color foregroundColor)
          Setter for property foregroundColor.
 void setLineWidth(double lineWidth)
          Setter for property lineWidth.
 void setOptions(Options options)
           
 void setPlotSymbol(java.lang.String plotSymbol)
          Setter for property plotSymbol.
 void setReference(java.lang.String reference)
          Setter for property reference.
 void setShowContextOverview(boolean showContextOverview)
          Setter for property showContextOverview.
 void setSurl(java.lang.String surl)
          Setter for property surl.
 void setSymbolConnector(java.lang.String symbolConnector)
          Setter for property symbolConnector.
 void setSymbolSize(double symbolSize)
          Setter for property symbolSize.
 void setTitle(java.lang.String newtitle)
           
 void setUseEmbeddedDataSet(boolean useEmbeddedDataSet)
          Setter for property useEmbeddedDataSet.
 void setValidRange(java.lang.String validRange)
          Setter for property validRange.
 void setXLabel(java.lang.String xLabel)
           
 void setXlog(boolean xlog)
          Setter for property xlog.
 void setXrange(edu.uiowa.physics.pw.das.datum.DatumRange xrange)
          Setter for property xrange.
 void setYLabel(java.lang.String yLabel)
           
 void setYlog(boolean ylog)
          Setter for property ylog.
 void setYrange(edu.uiowa.physics.pw.das.datum.DatumRange yrange)
          Setter for property yrange.
 void setZLabel(java.lang.String zLabel)
           
 void setZlog(boolean zlog)
          Setter for property zlog.
 void setZrange(edu.uiowa.physics.pw.das.datum.DatumRange zrange)
          Setter for property zrange.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_CANVASSIZE

public static final java.lang.String PROP_CANVASSIZE
See Also:
Constant Field Values

PROP_AUTOOVERVIEW

public static final java.lang.String PROP_AUTOOVERVIEW
See Also:
Constant Field Values

PROP_AUTORANGING

public static final java.lang.String PROP_AUTORANGING
See Also:
Constant Field Values

PROP_TITLE

public static final java.lang.String PROP_TITLE
See Also:
Constant Field Values

xLabel

protected java.lang.String xLabel

PROP_XLABEL

public static final java.lang.String PROP_XLABEL
See Also:
Constant Field Values

yLabel

protected java.lang.String yLabel

PROP_YLABEL

public static final java.lang.String PROP_YLABEL
See Also:
Constant Field Values

zLabel

protected java.lang.String zLabel

PROP_ZLABEL

public static final java.lang.String PROP_ZLABEL
See Also:
Constant Field Values

options

protected Options options
Constructor Detail

ApplicationState

public ApplicationState()
Creates a new instance of ApplicationState

Method Detail

getSurl

public java.lang.String getSurl()
Getter for property surl.

Returns:
Value of property surl.

setSurl

public void setSurl(java.lang.String surl)
Setter for property surl.

Parameters:
surl - New value of property surl.

getXrange

public edu.uiowa.physics.pw.das.datum.DatumRange getXrange()
Getter for property xrange.

Returns:
Value of property xrange.

setXrange

public void setXrange(edu.uiowa.physics.pw.das.datum.DatumRange xrange)
Setter for property xrange.

Parameters:
xrange - New value of property xrange.

getYrange

public edu.uiowa.physics.pw.das.datum.DatumRange getYrange()
Getter for property yrange.

Returns:
Value of property yrange.

setYrange

public void setYrange(edu.uiowa.physics.pw.das.datum.DatumRange yrange)
Setter for property yrange.

Parameters:
yrange - New value of property yrange.

getZrange

public edu.uiowa.physics.pw.das.datum.DatumRange getZrange()
Getter for property zrange.

Returns:
Value of property zrange.

setZrange

public void setZrange(edu.uiowa.physics.pw.das.datum.DatumRange zrange)
Setter for property zrange.

Parameters:
zrange - New value of property zrange.

isXlog

public boolean isXlog()
Getter for property xlog.

Returns:
Value of property xlog.

setXlog

public void setXlog(boolean xlog)
Setter for property xlog.

Parameters:
xlog - New value of property xlog.

isYlog

public boolean isYlog()
Getter for property ylog.

Returns:
Value of property ylog.

setYlog

public void setYlog(boolean ylog)
Setter for property ylog.

Parameters:
ylog - New value of property ylog.

isZlog

public boolean isZlog()
Getter for property zlog.

Returns:
Value of property zlog.

setZlog

public void setZlog(boolean zlog)
Setter for property zlog.

Parameters:
zlog - New value of property zlog.

getSymbolSize

public double getSymbolSize()
Getter for property symbolSize.

Returns:
Value of property symbolSize.

setSymbolSize

public void setSymbolSize(double symbolSize)
Setter for property symbolSize.

Parameters:
symbolSize - New value of property symbolSize.

getLineWidth

public double getLineWidth()
Getter for property lineWidth.

Returns:
Value of property lineWidth.

setLineWidth

public void setLineWidth(double lineWidth)
Setter for property lineWidth.

Parameters:
lineWidth - New value of property lineWidth.

getColortable

public java.lang.String getColortable()
Getter for property colortable.

Returns:
Value of property colortable.

setColortable

public void setColortable(java.lang.String colortable)
Setter for property colortable.

Parameters:
colortable - New value of property colortable.

getCanvasSize

public java.awt.Dimension getCanvasSize()

setCanvasSize

public void setCanvasSize(java.awt.Dimension newcanvasSize)

diffs

public java.lang.String diffs(ApplicationState that)
return a string containing the diffs, comma delineated.

Parameters:
that - the other state to compare. That appears on the left, this is on the right
Returns:
string describing state changes.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getValidRange

public java.lang.String getValidRange()
Getter for property validRange.

Returns:
Value of property validRange.

setValidRange

public void setValidRange(java.lang.String validRange)
Setter for property validRange.

Parameters:
validRange - New value of property validRange.

getFill

public java.lang.String getFill()
Getter for property fill.

Returns:
Value of property fill.

setFill

public void setFill(java.lang.String fill)
Setter for property fill.

Parameters:
fill - New value of property fill.

isFillToReference

public boolean isFillToReference()
Getter for property fillBelow.

Returns:
Value of property fillBelow.

setFillToReference

public void setFillToReference(boolean fillToReference)
Setter for property fillBelow.

Parameters:
fillBelow - New value of property fillBelow.

getColor

public java.awt.Color getColor()
Getter for property color.

Returns:
Value of property color.

setColor

public void setColor(java.awt.Color color)
Setter for property color.

Parameters:
color - New value of property color.

getFillColor

public java.awt.Color getFillColor()
Getter for property fillColor.

Returns:
Value of property fillColor.

setFillColor

public void setFillColor(java.awt.Color fillColor)
Setter for property fillColor.

Parameters:
fillColor - New value of property fillColor.

getPlotSymbol

public java.lang.String getPlotSymbol()
Getter for property plotSymbol.

Returns:
Value of property plotSymbol.

setPlotSymbol

public void setPlotSymbol(java.lang.String plotSymbol)
Setter for property plotSymbol.

Parameters:
plotSymbol - New value of property plotSymbol.

getSymbolConnector

public java.lang.String getSymbolConnector()
Getter for property symbolConnector.

Returns:
Value of property symbolConnector.

setSymbolConnector

public void setSymbolConnector(java.lang.String symbolConnector)
Setter for property symbolConnector.

Parameters:
symbolConnector - New value of property symbolConnector.

getReference

public java.lang.String getReference()
Getter for property reference.

Returns:
Value of property reference.

setReference

public void setReference(java.lang.String reference)
Setter for property reference.

Parameters:
reference - New value of property reference.

getEmbeddedDataSet

public java.lang.String getEmbeddedDataSet()
Getter for property embeddedDataSet.

Returns:
Value of property embeddedDataSet.

setEmbeddedDataSet

public void setEmbeddedDataSet(java.lang.String embeddedDataSet)
Setter for property embeddedDataSet.

Parameters:
embeddedDataSet - New value of property embeddedDataSet.

isUseEmbeddedDataSet

public boolean isUseEmbeddedDataSet()
Getter for property useEmbeddedDataSet.

Returns:
Value of property useEmbeddedDataSet.

setUseEmbeddedDataSet

public void setUseEmbeddedDataSet(boolean useEmbeddedDataSet)
Setter for property useEmbeddedDataSet.

Parameters:
useEmbeddedDataSet - New value of property useEmbeddedDataSet.

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list.

Parameters:
l - The listener to add.

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list.

Parameters:
l - The listener to remove.

isShowContextOverview

public boolean isShowContextOverview()
Getter for property showContextOverview.

Returns:
Value of property showContextOverview.

setShowContextOverview

public void setShowContextOverview(boolean showContextOverview)
Setter for property showContextOverview.

Parameters:
showContextOverview - New value of property showContextOverview.

isAutoOverview

public boolean isAutoOverview()

setAutoOverview

public void setAutoOverview(boolean newautoOverview)

getBackgroundColor

public java.awt.Color getBackgroundColor()
Getter for property backgroundColor.

Returns:
Value of property backgroundColor.

setBackgroundColor

public void setBackgroundColor(java.awt.Color backgroundColor)
Setter for property backgroundColor.

Parameters:
backgroundColor - New value of property backgroundColor.

getForegroundColor

public java.awt.Color getForegroundColor()
Getter for property foregroundColor.

Returns:
Value of property foregroundColor.

setForegroundColor

public void setForegroundColor(java.awt.Color foregroundColor)
Setter for property foregroundColor.

Parameters:
foregroundColor - New value of property foregroundColor.

isAutoranging

public boolean isAutoranging()

setAutoranging

public void setAutoranging(boolean newautoranging)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String newtitle)

getXLabel

public java.lang.String getXLabel()

setXLabel

public void setXLabel(java.lang.String xLabel)

getYLabel

public java.lang.String getYLabel()

setYLabel

public void setYLabel(java.lang.String yLabel)

getZLabel

public java.lang.String getZLabel()

setZLabel

public void setZLabel(java.lang.String zLabel)

getOptions

public Options getOptions()

setOptions

public void setOptions(Options options)