public class PlotItem
extends java.lang.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 !) |
java.util.Collection<PlotItem> |
subitems
Subitems to plot
|
java.util.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.
|
java.util.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.
|
java.lang.String |
toString() |
public final double x
public final double y
public final double w
public final double h
public final Projection proj
null
!)public java.util.List<VisualizationTask> tasks
public java.util.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 java.util.Iterator<PlotItem> itemIterator()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019 ELKI Development Team. License information.