org.omegahat.Graphics.Layouts
Class DataPlotAllocator
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--org.omegahat.Environment.Utils.OrderedTable
|
+--org.omegahat.Graphics.Layouts.BasicAllocator
|
+--org.omegahat.Graphics.Layouts.BorderAllocator
|
+--org.omegahat.Graphics.Layouts.DataPlotAllocator
- All Implemented Interfaces:
- Activable, AssignableSubset, java.lang.Cloneable, Database, EnumeratedRegionAllocator, java.util.Iterator, java.util.Map, RegionAllocator, java.io.Serializable, ShallowCopyable, Subsettable
- public class DataPlotAllocator
- extends BorderAllocator
Allocator supporting left and bottom axis and
a data region occupying the remainder of the space
with top and right margins, using the
UDoubleExpression
to connect the different elements.
Still in a little bit of flux, and the computations are currently done manually
in DataPlot.
- See Also:
- Serialized Form
| Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
|
Field Summary |
static java.lang.String |
DATA_REGION_NAME
Constant name by which to identify the data region when adding
an component. |
static int |
DATAREGION
Constant index by which to identify the data region when adding
an component. |
static java.lang.String[] |
RegionNames
|
static java.lang.String |
X_AXIS_NAME
Constant name by which to identify the left axis when adding
an component. |
static int |
XAXISREGION
Constant index by which to identify the bottom axis when adding
an component. |
static java.lang.String |
Y_AXIS_NAME
Constant name by which to identify the bottom axis when adding
an component. |
static int |
YAXISREGION
Constant index by which to identify the left axis when adding
an component. |
| Methods inherited from class org.omegahat.Environment.Utils.OrderedTable |
add, add, addListListener, assign, assignSubset, attach, clear, copy, copy, detach, elementAt, exists, get, getName, getState, keys, listeners, listeners, notifyListeners, objects, ordered, orderedKeys, put, put, put, remove, remove, removeElement, removeElement, removeElementAt, removeElementAt, removeListListener, setElementAt, setName, setState, subset, subset, subset |
| Methods inherited from class java.util.Hashtable |
clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keySet, putAll, rehash, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.omegahat.Environment.Databases.Database |
size |
XAXISREGION
public static final int XAXISREGION
- Constant index by which to identify the bottom axis when adding
an component.
YAXISREGION
public static final int YAXISREGION
- Constant index by which to identify the left axis when adding
an component.
DATAREGION
public static final int DATAREGION
- Constant index by which to identify the data region when adding
an component.
Y_AXIS_NAME
public static final java.lang.String Y_AXIS_NAME
- Constant name by which to identify the bottom axis when adding
an component.
X_AXIS_NAME
public static final java.lang.String X_AXIS_NAME
- Constant name by which to identify the left axis when adding
an component.
DATA_REGION_NAME
public static final java.lang.String DATA_REGION_NAME
- Constant name by which to identify the data region when adding
an component.
RegionNames
public static final java.lang.String[] RegionNames
DataPlotAllocator
public DataPlotAllocator()
setDescription
public RegionDescriptionInt setDescription(int id,
GraphicalComponentInt child,
GraphicalContainerInt parent)
- Description copied from class:
BasicAllocator
- Get the description indexed by order/position.
- Overrides:
setDescription in class BorderAllocator