Package com.formdev.flatlaf.ui
Class FlatMenuItemRenderer.GraphicsProxyWithTextColor
- java.lang.Object
-
- java.awt.Graphics
-
- java.awt.Graphics2D
-
- com.formdev.flatlaf.util.Graphics2DProxy
-
- com.formdev.flatlaf.ui.FlatMenuItemRenderer.GraphicsProxyWithTextColor
-
- Enclosing class:
- FlatMenuItemRenderer
private static class FlatMenuItemRenderer.GraphicsProxyWithTextColor extends Graphics2DProxy
-
-
Field Summary
Fields Modifier and Type Field Description private java.awt.Color
textColor
-
Constructor Summary
Constructors Constructor Description GraphicsProxyWithTextColor(java.awt.Graphics2D delegate, java.awt.Color textColor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawChars(char[] data, int offset, int length, int x, int y)
void
drawString(java.lang.String str, float x, float y)
void
drawString(java.lang.String str, int x, int y)
void
drawString(java.text.AttributedCharacterIterator iterator, float x, float y)
void
drawString(java.text.AttributedCharacterIterator iterator, int x, int y)
-
Methods inherited from class com.formdev.flatlaf.util.Graphics2DProxy
addRenderingHints, clearRect, clip, clipRect, copyArea, create, create, dispose, draw, draw3DRect, drawArc, drawBytes, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRenderableImage, drawRenderedImage, drawRoundRect, fill, fill3DRect, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillRoundRect, getBackground, getClip, getClipBounds, getClipBounds, getClipRect, getColor, getComposite, getDeviceConfiguration, getFont, getFontMetrics, getFontMetrics, getFontRenderContext, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, hitClip, rotate, rotate, scale, setBackground, setClip, setClip, setColor, setComposite, setFont, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, toString, transform, translate, translate
-
-
-
-
Method Detail
-
drawString
public void drawString(java.lang.String str, int x, int y)
- Overrides:
drawString
in classGraphics2DProxy
-
drawString
public void drawString(java.lang.String str, float x, float y)
- Overrides:
drawString
in classGraphics2DProxy
-
drawString
public void drawString(java.text.AttributedCharacterIterator iterator, int x, int y)
- Overrides:
drawString
in classGraphics2DProxy
-
drawString
public void drawString(java.text.AttributedCharacterIterator iterator, float x, float y)
- Overrides:
drawString
in classGraphics2DProxy
-
drawChars
public void drawChars(char[] data, int offset, int length, int x, int y)
- Overrides:
drawChars
in classGraphics2DProxy
-
-