public class CollapsedStackLayout 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 |
---|
CollapsedStackLayout(java.lang.String group)
Create a new CollapsedStackLayout.
|
CollapsedStackLayout(java.lang.String group,
java.lang.String field)
Create a new CollapsedStackLayout.
|
Modifier and Type | Method and Description |
---|---|
int |
getOrientation()
Returns the orientation of this layout.
|
void |
run(double frac)
Runs this Action, triggering whatever processing this Action performs.
|
void |
setOrientation(int orient)
Sets the orientation of this layout.
|
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 CollapsedStackLayout(java.lang.String group)
PolygonRenderer.POLYGON
.group
- the data group to layoutpublic CollapsedStackLayout(java.lang.String group, java.lang.String field)
group
- the data group to layoutfield
- the data field from which to lookup the polygonspublic int getOrientation()
Constants.ORIENT_BOTTOM_TOP
(to grow bottom-up),
Constants.ORIENT_TOP_BOTTOM
(to grow top-down),
Constants.ORIENT_LEFT_RIGHT
(to grow left-right), or
Constants.ORIENT_RIGHT_LEFT
(to grow right-left).public void setOrientation(int orient)
Constants.ORIENT_BOTTOM_TOP
(to grow bottom-up),
Constants.ORIENT_TOP_BOTTOM
(to grow top-down),
Constants.ORIENT_LEFT_RIGHT
(to grow left-right), or
Constants.ORIENT_RIGHT_LEFT
(to grow right-left).orient
- the desired orientation of this layoutjava.lang.IllegalArgumentException
- if the orientation value
is not a valid 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