|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sc.seis.fissuresUtil.display.registrar.BasicLayoutConfig
public class BasicLayoutConfig
Field Summary | |
---|---|
protected java.util.List |
seis
|
protected java.util.Map |
valueMap
|
Constructor Summary | |
---|---|
BasicLayoutConfig()
|
|
BasicLayoutConfig(DataSetSeismogram[] seismos)
|
Method Summary | |
---|---|
void |
add(DataSetSeismogram[] seismos)
add adds all of the seismograms in the array to the
receptacle |
void |
addListener(LayoutListener listener)
|
void |
clear()
clear removes all seismograms from this receptacle |
boolean |
contains(DataSetSeismogram seismo)
contains checks the receptacle for the presence of seismo |
void |
fireLayoutEvent()
fires a layout event to all LayoutListeners with an event from generateLayoutEvent() |
LayoutEvent |
generateLayoutEvent()
|
java.lang.String |
getLabel()
|
LayoutEvent |
getLayout()
|
double |
getScale()
|
DataSetSeismogram[] |
getSeismograms()
returns all of the seismograms held by this receptacle |
void |
remove(DataSetSeismogram[] seismos)
Attempts to remove all given seismograms from this Config. |
void |
removeListener(LayoutListener listener)
|
void |
reset()
reset takes all of the seismograms contained in this receptacle and sets their state as if they had just been added to the receptacle and sets the instance varaibles of the receptacle back to their initial states |
void |
reset(DataSetSeismogram[] seismos)
reset takes all of the seismograms in the array and sets
their state as if they had just been initially added to the receptacle |
void |
setScale(double scale)
sets the amount by which every seismogram in the layout is being scaled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map valueMap
protected java.util.List seis
Constructor Detail |
---|
public BasicLayoutConfig()
public BasicLayoutConfig(DataSetSeismogram[] seismos)
Method Detail |
---|
public void addListener(LayoutListener listener)
addListener
in interface LayoutConfig
public void removeListener(LayoutListener listener)
removeListener
in interface LayoutConfig
public void fireLayoutEvent()
LayoutConfig
fireLayoutEvent
in interface LayoutConfig
public void add(DataSetSeismogram[] seismos)
DataSetSeismogramReceptacle
add
adds all of the seismograms in the array to the
receptacle
add
in interface DataSetSeismogramReceptacle
seismos
- a DataSetSeismogram[]
containing seismograms to
be added to this receptaclepublic void remove(DataSetSeismogram[] seismos)
remove
in interface DataSetSeismogramReceptacle
seismos
- DataSetSeismogram[]
an array of seismograms to
be removedpublic boolean contains(DataSetSeismogram seismo)
DataSetSeismogramReceptacle
contains
checks the receptacle for the presence of seismo
contains
in interface DataSetSeismogramReceptacle
seismo
- the seismogram whose presence is to be tested
public void clear()
DataSetSeismogramReceptacle
clear
removes all seismograms from this receptacle
clear
in interface DataSetSeismogramReceptacle
public DataSetSeismogram[] getSeismograms()
DataSetSeismogramReceptacle
getSeismograms
in interface DataSetSeismogramReceptacle
public java.lang.String getLabel()
getLabel
in interface LayoutConfig
public void reset()
DataSetSeismogramReceptacle
reset
in interface DataSetSeismogramReceptacle
public void reset(DataSetSeismogram[] seismos)
DataSetSeismogramReceptacle
reset
takes all of the seismograms in the array and sets
their state as if they had just been initially added to the receptacle
reset
in interface DataSetSeismogramReceptacle
seismos
- a DataSetSeismogram[]
value containing
seismograms to be resetpublic double getScale()
getScale
in interface LayoutConfig
public void setScale(double scale)
setScale
in interface LayoutConfig
scale
- -
the factor by which the seismogram height is multipliedpublic LayoutEvent generateLayoutEvent()
generateLayoutEvent
in interface LayoutConfig
public LayoutEvent getLayout()
getLayout
in interface LayoutConfig
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |