|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ascape.model.event.DefaultScapeListener
org.ascape.view.nonvis.NonGraphicView
org.ascape.view.nonvis.SweepControlView
public class SweepControlView
A view that is used in conjunction with a sweep group to control model parameters. While sweep group continues to have a next parameter setting state, the sweep control view will restart the scape with the next sweep group settings.
SweepGroup
,
DataOutputView
,
Scape
,
Serialized FormField Summary |
---|
Fields inherited from class org.ascape.model.event.DefaultScapeListener |
---|
listeningToScape, name, scape |
Constructor Summary | |
---|---|
SweepControlView()
Consturcts a new sweep view. |
|
SweepControlView(java.lang.String name)
Consturcts a new sweep view. |
|
SweepControlView(SweepGroup sweep)
Consturcts a new sweep view. |
Method Summary | |
---|---|
SweepGroup |
getSweepGroup()
Sets the runs per, or number of runs per each sweep setting. |
void |
scapeAdded(ScapeEvent scapeEvent)
On scape add, set scape auto restart to false, as sweep view will be handling scape control. |
void |
scapeSetup(ScapeEvent scapeEvent)
On scape setup, create a new file and set the output stream to write to it. |
void |
scapeStopped(ScapeEvent scapeEvent)
On scape stop, close the data stream and files. |
void |
setSweepGroup(SweepGroup sweep)
Returns the runs per, or number of runs per each sweep setting. |
java.lang.String |
toString()
Returns a string describing this as a "Sweep Control View". |
Methods inherited from class org.ascape.view.nonvis.NonGraphicView |
---|
isGraphic |
Methods inherited from class org.ascape.model.event.DefaultScapeListener |
---|
clone, environmentQuiting, getName, getScape, isLifeOfScape, isNotifyScapeAutomatically, notifyScapeUpdated, scapeClosing, scapeDeserialized, scapeInitialized, scapeIterated, scapeNotification, scapeRemoved, scapeStarted, setName, setNotifyScapeAutomatically |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SweepControlView()
public SweepControlView(java.lang.String name)
name
- the sweep group namepublic SweepControlView(SweepGroup sweep)
sweep
- the sweep group that will be used for this sweep view.Method Detail |
---|
public void scapeAdded(ScapeEvent scapeEvent) throws java.util.TooManyListenersException
scapeAdded
in interface ScapeListener
scapeAdded
in class DefaultScapeListener
scapeEvent
- the scape event
java.util.TooManyListenersException
- the too many listeners exceptionpublic void scapeSetup(ScapeEvent scapeEvent)
scapeSetup
in interface ScapeListener
scapeSetup
in class DefaultScapeListener
scapeEvent
- the scape eventpublic void scapeStopped(ScapeEvent scapeEvent)
scapeStopped
in interface ScapeListener
scapeStopped
in class DefaultScapeListener
scapeEvent
- the scape eventDataOutputView.scapeStarted(org.ascape.model.event.ScapeEvent)
,
DataOutputView.scapeStopped(org.ascape.model.event.ScapeEvent)
public SweepGroup getSweepGroup()
public void setSweepGroup(SweepGroup sweep)
sweep
- the sweeppublic java.lang.String toString()
toString
in class DefaultScapeListener
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |