org.jzy3d.plot2d.primitive
Class AWTColorbarImageGenerator
- java.lang.Object
-
- org.jzy3d.plot2d.primitive.AWTAbstractImageGenerator
-
- org.jzy3d.plot2d.primitive.AWTColorbarImageGenerator
-
- All Implemented Interfaces:
- AWTImageGenerator
public class AWTColorbarImageGenerator extends AWTAbstractImageGenerator implements AWTImageGenerator
-
-
Field Summary
-
Fields inherited from class org.jzy3d.plot2d.primitive.AWTAbstractImageGenerator
MIN_BAR_HEIGHT, MIN_BAR_WIDTH
-
-
Constructor Summary
Constructors Constructor and Description AWTColorbarImageGenerator(ColorMapper mapper, ITickProvider provider, ITickRenderer renderer)AWTColorbarImageGenerator(IColorMap map, float min, float max, ITickProvider provider, ITickRenderer renderer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddrawBarColors(int height, int barWidth, java.awt.Graphics2D graphic)voiddrawBarContour(int height, int barWidth, java.awt.Graphics2D graphic)voiddrawTextAnnotations(int height, int barWidth, java.awt.Graphics2D graphic)java.awt.image.BufferedImagetoImage(int width, int height)java.awt.image.BufferedImagetoImage(int width, int height, int barWidth)Renders theAWTColorbarImageGeneratorto an image.-
Methods inherited from class org.jzy3d.plot2d.primitive.AWTAbstractImageGenerator
configureText, drawBackground, drawLegendBorder, getBackgroundColor, getFont, getForegroundColor, hasBackground, setBackgroundColor, setFont, setForegroundColor, setHasBackground
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jzy3d.plot2d.primitive.AWTImageGenerator
getBackgroundColor, getFont, getForegroundColor, hasBackground, setBackgroundColor, setFont, setForegroundColor, setHasBackground
-
-
-
-
Constructor Detail
-
AWTColorbarImageGenerator
public AWTColorbarImageGenerator(IColorMap map, float min, float max, ITickProvider provider, ITickRenderer renderer)
-
AWTColorbarImageGenerator
public AWTColorbarImageGenerator(ColorMapper mapper, ITickProvider provider, ITickRenderer renderer)
-
-
Method Detail
-
toImage
public java.awt.image.BufferedImage toImage(int width, int height)- Specified by:
toImagein interfaceAWTImageGenerator
-
toImage
public java.awt.image.BufferedImage toImage(int width, int height, int barWidth)Renders theAWTColorbarImageGeneratorto an image.
-
drawBarContour
public void drawBarContour(int height, int barWidth, java.awt.Graphics2D graphic)
-
drawBarColors
public void drawBarColors(int height, int barWidth, java.awt.Graphics2D graphic)
-
drawTextAnnotations
public void drawTextAnnotations(int height, int barWidth, java.awt.Graphics2D graphic)
-
-
DMelt 3.0 © DataMelt by jWork.ORG