public class TimeSeriesBrowseController
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_TIMERANGE |
protected DatumRange |
timeRange |
| Modifier | Constructor and Description |
|---|---|
protected |
TimeSeriesBrowseController(DataSourceController dataSourceController,
PlotElement p) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener) |
java.lang.String |
getPlotId()
return the id of the plot to which we are listening.
|
boolean |
isListeningToAxis()
returns true if the TSB is listening to an axis and not the application timeRange property.
|
boolean |
isPendingChanges() |
void |
pendingChanges(java.util.Map<java.lang.Object,java.lang.Object> c) |
protected void |
release()
the axis we were listening to turned out to not be a time axis (or
vise-versa), so we need to release the thing we were listening to.
|
protected void |
releaseAll()
make sure there are no references causing memory leak.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener) |
protected void |
setup(boolean valueWasAdjusting)
initialize the TSB to be listening to a time axis.
|
protected void |
setupAxis(Plot plot,
Axis axis)
have this start listening to the axis.
|
protected void |
setupGen(DomNode node,
java.lang.String property)
it's a little shocking that after all these years, there isn't a trivial
way to see the time and property that was are listening to.
|
java.lang.String |
toString() |
void |
updateTsb(boolean autorange)
load the new dataset, etc.
|
protected DatumRange timeRange
public static final java.lang.String PROP_TIMERANGE
protected TimeSeriesBrowseController(DataSourceController dataSourceController, PlotElement p)
protected void setupAxis(Plot plot, Axis axis)
plot - axis - protected void setupGen(DomNode node, java.lang.String property)
node - property - protected void setup(boolean valueWasAdjusting)
valueWasAdjusting - true if we are loading a vap or the application is locked.public void updateTsb(boolean autorange)
autorange - public boolean isPendingChanges()
public void pendingChanges(java.util.Map<java.lang.Object,java.lang.Object> c)
protected void release()
protected void releaseAll()
public void removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public void addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isListeningToAxis()
public java.lang.String getPlotId()