public class CircleLayout extends Layout
m_anchor, m_bounds, m_bpts, m_insets, m_margin, m_tmpa, m_tmpbm_groupDEFAULT_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, setYgetGroup, setGroupgetVisualization, run, setVisualizationaddActivityListener, 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, setStepTimepublic 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)
Actionrun in class GroupActionfrac - the fraction of this Action's duration that has elapsed.Action.run(double)