Class MultiArrayContainerLayout
- java.lang.Object
-
- idare.imagenode.Interfaces.Layout.ContainerLayout
-
- idare.imagenode.Data.BasicDataTypes.MultiArrayData.MultiArrayContainerLayout
-
- All Implemented Interfaces:
Serializable
public abstract class MultiArrayContainerLayout extends ContainerLayout
Abstract class providing some functionalities for Layouts of Value Sets- Author:
- Thomas Pfau
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class idare.imagenode.Interfaces.Layout.ContainerLayout
layoutarea
-
-
Constructor Summary
Constructors Constructor Description MultiArrayContainerLayout()Basic Constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidLayoutDataForNode(NodeData data, org.apache.batik.svggen.SVGGraphics2D context, boolean Legend, ColorMap coloring)Layout the Data according to the previously generated layoutabstract voidsetupLayout(NodeData data, Rectangle area, String DataSetLabel, DataSetLayoutProperties props)Setup the layout specific positions and data.-
Methods inherited from class idare.imagenode.Interfaces.Layout.ContainerLayout
createLayout, determineDisplayRange, getLayoutArea, roundToCommonOrder, roundToOrder, updateLabel
-
-
-
-
Method Detail
-
setupLayout
public abstract void setupLayout(NodeData data, Rectangle area, String DataSetLabel, DataSetLayoutProperties props) throws WrongDatasetTypeException
Description copied from class:ContainerLayoutSetup the layout specific positions and data.- Specified by:
setupLayoutin classContainerLayout- Parameters:
data- The nodeData to use to set up the layout.area- the area in which to create the layoutDataSetLabel- the label of the corresponding Dataset to display somewhere in the area.props- the properties to use (commonly those from which theContainerLayoutwas created)- Throws:
WrongDatasetTypeException- If an incompatible data set type was used
-
LayoutDataForNode
public abstract void LayoutDataForNode(NodeData data, org.apache.batik.svggen.SVGGraphics2D context, boolean Legend, ColorMap coloring)
Description copied from class:ContainerLayoutLayout the Data according to the previously generated layout- Specified by:
LayoutDataForNodein classContainerLayout- Parameters:
data- the data to layoutcontext- the graphics context in which to draw the layoutLegend- whether this is a layout for the legend or not.coloring- The ColorMap to use for the layout
-
-