org.jplot2d.renderer
Class ImageAssemblyInfo
- java.lang.Object
-
- org.jplot2d.renderer.ImageAssemblyInfo
-
public class ImageAssemblyInfo extends java.lang.ObjectThis class maintains a map to associate components to their bounds and future rendered images.
-
-
Constructor Summary
Constructors Constructor and Description ImageAssemblyInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.Set<ComponentEx>componentSet()The returned set is an ordered set that follow the z-order.booleancontains(ComponentEx comp)Test if this AssemblyInfo contains the given component.java.awt.RectanglegetBounds(ComponentEx comp)java.util.concurrent.Future<java.awt.image.BufferedImage>getFuture(ComponentEx comp)voidput(ComponentEx comp, java.awt.Rectangle bounds, java.util.concurrent.Future<java.awt.image.BufferedImage> future)Z-order: The 1st put component is on the bottom.
-
-
-
Method Detail
-
contains
public boolean contains(ComponentEx comp)
Test if this AssemblyInfo contains the given component.- Parameters:
comp-- Returns:
-
componentSet
public java.util.Set<ComponentEx> componentSet()
The returned set is an ordered set that follow the z-order.- Returns:
-
getBounds
public java.awt.Rectangle getBounds(ComponentEx comp)
-
getFuture
public java.util.concurrent.Future<java.awt.image.BufferedImage> getFuture(ComponentEx comp)
-
put
public void put(ComponentEx comp, java.awt.Rectangle bounds, java.util.concurrent.Future<java.awt.image.BufferedImage> future)
Z-order: The 1st put component is on the bottom. The later is on top.- Parameters:
comp-bounds-future-
-
-
DMelt 3.0 © DataMelt by jWork.ORG