|
|||||||||
| 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 LayoutConfigpublic void removeListener(LayoutListener listener)
removeListener in interface LayoutConfigpublic void fireLayoutEvent()
LayoutConfig
fireLayoutEvent in interface LayoutConfigpublic void add(DataSetSeismogram[] seismos)
DataSetSeismogramReceptacleadd adds all of the seismograms in the array to the
receptacle
add in interface DataSetSeismogramReceptacleseismos - a DataSetSeismogram[] containing seismograms to
be added to this receptaclepublic void remove(DataSetSeismogram[] seismos)
remove in interface DataSetSeismogramReceptacleseismos - DataSetSeismogram[] an array of seismograms to
be removedpublic boolean contains(DataSetSeismogram seismo)
DataSetSeismogramReceptaclecontains checks the receptacle for the presence of seismo
contains in interface DataSetSeismogramReceptacleseismo - the seismogram whose presence is to be tested
public void clear()
DataSetSeismogramReceptacleclear removes all seismograms from this receptacle
clear in interface DataSetSeismogramReceptaclepublic DataSetSeismogram[] getSeismograms()
DataSetSeismogramReceptacle
getSeismograms in interface DataSetSeismogramReceptaclepublic java.lang.String getLabel()
getLabel in interface LayoutConfigpublic void reset()
DataSetSeismogramReceptacle
reset in interface DataSetSeismogramReceptaclepublic void reset(DataSetSeismogram[] seismos)
DataSetSeismogramReceptaclereset 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 DataSetSeismogramReceptacleseismos - a DataSetSeismogram[] value containing
seismograms to be resetpublic double getScale()
getScale in interface LayoutConfigpublic void setScale(double scale)
setScale in interface LayoutConfigscale - -
the factor by which the seismogram height is multipliedpublic LayoutEvent generateLayoutEvent()
generateLayoutEvent in interface LayoutConfigpublic LayoutEvent getLayout()
getLayout in interface LayoutConfig
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||