|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprefuse.activity.Activity
prefuse.action.Action
prefuse.action.GroupAction
prefuse.action.layout.Layout
prefuse.action.layout.RandomLayout
public class RandomLayout
Performs a random layout of items within the layout bounds.
| Field Summary |
|---|
| Fields inherited from class prefuse.action.layout.Layout |
|---|
m_anchor, m_bounds, m_bpts, m_insets, m_margin, m_tmpa, m_tmpb |
| Fields inherited from class prefuse.action.GroupAction |
|---|
m_group |
| Fields inherited from class prefuse.action.Action |
|---|
m_vis |
| Fields inherited from class prefuse.activity.Activity |
|---|
DEFAULT_STEP_TIME, INFINITY |
| Constructor Summary | |
|---|---|
RandomLayout()
Create a new RandomLayout that processes all items. |
|
RandomLayout(java.lang.String group)
Create a new RandomLayout. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class prefuse.action.layout.Layout |
|---|
getLayoutAnchor, getLayoutBounds, setLayoutAnchor, setLayoutBounds, setMargin, setX, setY |
| Methods inherited from class prefuse.action.GroupAction |
|---|
getGroup, setGroup |
| Methods inherited from class prefuse.action.Action |
|---|
getVisualization, run, setVisualization |
| Methods inherited from class prefuse.activity.Activity |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RandomLayout()
public RandomLayout(java.lang.String group)
group - the data group to layout| Method Detail |
|---|
public void setRandomSeed(long seed)
seed - the random seed valuepublic void run(double frac)
Action
run in class GroupActionfrac - the fraction of this Action's duration that has elapsed.Action.run(double)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||