public class CircleLayout 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 |
---|
CircleLayout(java.lang.String group)
Create a CircleLayout; the radius of the circle layout will be computed
automatically based on the display size.
|
CircleLayout(java.lang.String group,
double radius)
Create a CircleLayout; use the specified radius for the the circle layout,
regardless of the display size.
|
Modifier and Type | Method and Description |
---|---|
double |
getRadius()
Return the radius of the layout circle.
|
void |
run(double frac)
Runs this Action, triggering whatever processing this Action performs.
|
void |
setRadius(double radius)
Set the radius of the layout circle.
|
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 CircleLayout(java.lang.String group)
group
- the data group to layoutpublic CircleLayout(java.lang.String group, double radius)
group
- the data group to layoutradius
- the radius of the circle layout.public double getRadius()
public void setRadius(double radius)
radius
- the circle radius to usepublic 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