org.jplot2d.layout
Class OverlayLayoutDirector
- java.lang.Object
-
- org.jplot2d.layout.SimpleLayoutDirector
-
- org.jplot2d.layout.OverlayLayoutDirector
-
- All Implemented Interfaces:
- LayoutDirector
public class OverlayLayoutDirector extends SimpleLayoutDirector
This LayoutDirector overlay all plots over the top of each other. All subplots are put inside the base subplot's content area. The content bounds of subplots are defined byBoundsConstraint.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jplot2d.layout.SimpleLayoutDirector
SimpleLayoutDirector.AxesInPlot
-
-
Constructor Summary
Constructors Constructor and Description OverlayLayoutDirector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidlayout(PlotEx plot)Layout the plot.-
Methods inherited from class org.jplot2d.layout.SimpleLayoutDirector
getConstraint, getPreferredContentSize, getPreferredSize, invalidateLayout, remove, setConstraint, toString
-
-
-
-
Method Detail
-
layout
public void layout(PlotEx plot)
Description copied from interface:LayoutDirectorLayout the plot. Normally the plot contents size is calculated by subtracting margin from plot size. If the plot has contents size constraint, the plot size is calculated by adding margin to plot content size.- Specified by:
layoutin interfaceLayoutDirector- Overrides:
layoutin classSimpleLayoutDirector
-
-
DMelt 3.0 © DataMelt by jWork.ORG