public class PlotItem extends Object
LinkedList<VisualizationTask>
!Modifier and Type | Class and Description |
---|---|
private class |
PlotItem.ItmItr
Recursive iterator
|
Modifier and Type | Field and Description |
---|---|
double |
h
Size: height
|
Projection |
proj
Projection (may be
null !) |
Collection<PlotItem> |
subitems
Subitems to plot
|
List<VisualizationTask> |
tasks
The visualization tasks at this location
|
double |
w
Size: width
|
double |
x
Position: x
|
double |
y
Position: y
|
Constructor and Description |
---|
PlotItem(double x,
double y,
double w,
double h,
Projection proj)
Constructor.
|
PlotItem(double w,
double h,
Projection proj)
Constructor.
|
PlotItem(PlotItem vis)
Clone constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(VisualizationTask task)
Add a task to the item.
|
Iterator<PlotItem> |
itemIterator()
Iterate (recursively) over all plot items, including itself.
|
void |
sort()
Sort all visualizers for their proper drawing order
|
int |
taskSize()
Number of tasks in this item.
|
String |
toString() |
public final double x
public final double y
public final double w
public final double h
public final Projection proj
null
!)public List<VisualizationTask> tasks
public Collection<PlotItem> subitems
public PlotItem(double w, double h, Projection proj)
w
- Position: wh
- Position: hproj
- Projectionpublic PlotItem(double x, double y, double w, double h, Projection proj)
x
- Position: xy
- Position: yw
- Position: wh
- Position: hproj
- Projectionpublic PlotItem(PlotItem vis)
vis
- Existing plot item.public void sort()
public void add(VisualizationTask task)
task
- Task to addpublic int taskSize()
public Iterator<PlotItem> itemIterator()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.