Class MagnifyIconGraphics
- java.lang.Object
-
- org.jungrapht.visualization.transform.shape.Graphics2DWrapper
-
- org.jungrapht.visualization.transform.shape.GraphicsDecorator
-
- org.jungrapht.visualization.transform.shape.TransformingGraphics
-
- org.jungrapht.visualization.transform.shape.TransformingFlatnessGraphics
-
- org.jungrapht.visualization.transform.shape.MagnifyIconGraphics
-
public class MagnifyIconGraphics extends TransformingFlatnessGraphics
Subclassed to apply a magnification transform to an icon.- Author:
- Tom Nelson
-
-
Field Summary
-
Fields inherited from class org.jungrapht.visualization.transform.shape.TransformingGraphics
transformer
-
Fields inherited from class org.jungrapht.visualization.transform.shape.Graphics2DWrapper
delegate
-
-
Constructor Summary
Constructors Constructor Description MagnifyIconGraphics(BidirectionalTransformer transformer)
MagnifyIconGraphics(BidirectionalTransformer Function, Graphics2D delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(Icon icon, Component c, Shape clip, int x, int y)
-
Methods inherited from class org.jungrapht.visualization.transform.shape.TransformingFlatnessGraphics
draw, fill
-
Methods inherited from class org.jungrapht.visualization.transform.shape.TransformingGraphics
create, dispose, draw, drawImage, drawImage, fill, getTransformer, hit, setTransformer
-
Methods inherited from class org.jungrapht.visualization.transform.shape.GraphicsDecorator
draw
-
Methods inherited from class org.jungrapht.visualization.transform.shape.Graphics2DWrapper
addRenderingHints, clearRect, clip, clipRect, copyArea, create, draw3DRect, drawArc, drawBytes, drawChars, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRenderableImage, drawRenderedImage, drawRoundRect, drawString, drawString, drawString, drawString, equals, fill3DRect, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillRoundRect, finalize, getBackground, getClip, getClipBounds, getClipBounds, getClipRect, getColor, getComposite, getDelegate, getDeviceConfiguration, getFont, getFontMetrics, getFontMetrics, getFontRenderContext, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hashCode, hitClip, rotate, rotate, scale, setBackground, setClip, setClip, setColor, setComposite, setDelegate, setFont, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, toString, transform, translate, translate
-
-
-
-
Constructor Detail
-
MagnifyIconGraphics
public MagnifyIconGraphics(BidirectionalTransformer transformer)
-
MagnifyIconGraphics
public MagnifyIconGraphics(BidirectionalTransformer Function, Graphics2D delegate)
-
-
Method Detail
-
draw
public void draw(Icon icon, Component c, Shape clip, int x, int y)
- Overrides:
draw
in classGraphicsDecorator
-
-