public class RandomLayout extends Layout
m_anchor, m_bounds, m_bpts, m_insets, m_margin, m_tmpa, m_tmpb
m_group
DEFAULT_STEP_TIME, INFINITY
Constructor and Description |
---|
RandomLayout()
Create a new RandomLayout that processes all items.
|
RandomLayout(java.lang.String group)
Create a new RandomLayout.
|
Modifier and Type | Method and Description |
---|---|
void |
run(double frac)
Runs this Action, triggering whatever processing this Action performs.
|
void |
setRandomSeed(long seed)
Set the seed value for the random number generator.
|
getLayoutAnchor, getLayoutBounds, setLayoutAnchor, setLayoutBounds, setMargin, setX, setY
getGroup, setGroup
getVisualization, run, setVisualization
addActivityListener, alwaysRunAfter, cancel, fireActivityCancelled, fireActivityFinished, fireActivityScheduled, fireActivityStarted, fireActivityStepped, getDuration, getNextTime, getPace, getPacingFunction, getStartTime, getStepTime, getStopTime, isEnabled, isRunning, isScheduled, removeActivityListener, run, runAfter, runAt, setDuration, setEnabled, setPacingFunction, setStartTime, setStepTime
public RandomLayout()
public RandomLayout(java.lang.String group)
group
- the data group to layoutpublic void setRandomSeed(long seed)
seed
- the random seed valuepublic void run(double frac)
Action
run
in class GroupAction
frac
- the fraction of this Action's duration that has elapsed.Action.run(double)
Copyright ? 2013 Regents of the University of California