org.jzy3d.plot2d.primitive
Class AWTAbstractImageGenerator
- java.lang.Object
-
- org.jzy3d.plot2d.primitive.AWTAbstractImageGenerator
-
- All Implemented Interfaces:
- AWTImageGenerator
- Direct Known Subclasses:
- AWTColorbarImageGenerator
public abstract class AWTAbstractImageGenerator extends java.lang.Object implements AWTImageGenerator
-
-
Field Summary
Fields Modifier and Type Field and Description static intMIN_BAR_HEIGHTstatic intMIN_BAR_WIDTH
-
Constructor Summary
Constructors Constructor and Description AWTAbstractImageGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidconfigureText(java.awt.Graphics2D graphic)voiddrawBackground(int width, int height, java.awt.Graphics2D graphic)voiddrawLegendBorder(java.awt.Graphics2D graphic, int width, int height)ColorgetBackgroundColor()java.awt.FontgetFont()ColorgetForegroundColor()booleanhasBackground()voidsetBackgroundColor(Color backgroundColor)voidsetFont(java.awt.Font font)voidsetForegroundColor(Color foregroundColor)voidsetHasBackground(boolean hasBackground)-
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
toImage
-
-
-
-
Field Detail
-
MIN_BAR_WIDTH
public static final int MIN_BAR_WIDTH
- See Also:
- Constant Field Values
-
MIN_BAR_HEIGHT
public static final int MIN_BAR_HEIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
configureText
public void configureText(java.awt.Graphics2D graphic)
-
drawBackground
public void drawBackground(int width, int height, java.awt.Graphics2D graphic)
-
hasBackground
public boolean hasBackground()
- Specified by:
hasBackgroundin interfaceAWTImageGenerator
-
setHasBackground
public void setHasBackground(boolean hasBackground)
- Specified by:
setHasBackgroundin interfaceAWTImageGenerator
-
getBackgroundColor
public Color getBackgroundColor()
- Specified by:
getBackgroundColorin interfaceAWTImageGenerator
-
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
- Specified by:
setBackgroundColorin interfaceAWTImageGenerator
-
getForegroundColor
public Color getForegroundColor()
- Specified by:
getForegroundColorin interfaceAWTImageGenerator
-
setForegroundColor
public void setForegroundColor(Color foregroundColor)
- Specified by:
setForegroundColorin interfaceAWTImageGenerator
-
drawLegendBorder
public void drawLegendBorder(java.awt.Graphics2D graphic, int width, int height)
-
getFont
public java.awt.Font getFont()
- Specified by:
getFontin interfaceAWTImageGenerator
-
setFont
public void setFont(java.awt.Font font)
- Specified by:
setFontin interfaceAWTImageGenerator
-
-
DMelt 3.0 © DataMelt by jWork.ORG