public interface PlaceLevelsOnAxes extends Transform
Use Case.
Modifier and Type | Method and Description |
---|---|
void |
addLevel(Axis axis,
Level level,
int position) |
List<Level> |
findVisibleLevels(Axis axis)
Collects all levels on a given axis in the result.
|
List<Level> |
findVisibleLevels(Hierarchy hierarchy)
Collects all levels on a given hierarchy in the result.
|
void |
placeLevels(Axis axis,
List<Level> levels) |
void |
removeLevel(Axis axis,
Level level) |
void placeLevels(Axis axis, List<Level> levels)
axis
- The target axislevels
- The levels to putvoid addLevel(Axis axis, Level level, int position)
axis
- The target axislevel
- The level to addposition
- The position index where to add the level. Any value less than
ZERO will put the hierarchy at the end of the axis. Note that
it's the index of the parent hierarchy, not the level itself
since the order of a level in a hierarchy cannot be changed by
definition. If the parent hierarchy exists on any axis, the
position argument will be ignored.void removeLevel(Axis axis, Level level)
axis
- The target axislevel
- The level to removeList<Level> findVisibleLevels(Axis axis)
axis
- the axis to useCopyright © 2012–2013 Eyeq MC. All rights reserved.