public class CollapsedSubtreeLayout extends Layout
m_anchor, m_bounds, m_bpts, m_insets, m_margin, m_tmpa, m_tmpbm_groupDEFAULT_STEP_TIME, INFINITY| Constructor and Description |
|---|
CollapsedSubtreeLayout(java.lang.String group)
Create a new CollapsedSubtreeLayout.
|
CollapsedSubtreeLayout(java.lang.String group,
int orientation)
Create a new CollapsedSubtreeLayout.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getOrientation()
Get the layout orientation, determining which point nodes will collapse
or exapnd from.
|
void |
run(double frac)
Runs this Action, triggering whatever processing this Action performs.
|
void |
setOrientation(int orientation)
Set the layout orientation, determining which point nodes will collapse
or exapnd from.
|
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 CollapsedSubtreeLayout(java.lang.String group)
group - the data group to layout (only newly collapsed or newly
expanded items will be considered, as determined by their current
visibility settings).public CollapsedSubtreeLayout(java.lang.String group,
int orientation)
group - the data group to layout (only newly collapsed or newly
expanded items will be considered, as determined by their current
visibility settings).orientation - the layout orientation, determining which point
nodes will collapse/expand from. Valid values are
Constants.ORIENT_CENTER,
Constants.ORIENT_LEFT_RIGHT,
Constants.ORIENT_RIGHT_LEFT,
Constants.ORIENT_TOP_BOTTOM, and
Constants.ORIENT_BOTTOM_TOP.public int getOrientation()
Constants.ORIENT_CENTER,
Constants.ORIENT_LEFT_RIGHT,
Constants.ORIENT_RIGHT_LEFT,
Constants.ORIENT_TOP_BOTTOM, and
Constants.ORIENT_BOTTOM_TOP.public void setOrientation(int orientation)
Constants.ORIENT_CENTER,
Constants.ORIENT_LEFT_RIGHT,
Constants.ORIENT_RIGHT_LEFT,
Constants.ORIENT_TOP_BOTTOM, and
Constants.ORIENT_BOTTOM_TOP.orientation - the layout orientation to usepublic void run(double frac)
Actionrun in class GroupActionfrac - the fraction of this Action's duration that has elapsed.Action.run(double)