edu.uci.ics.jung.visualization.transform.shape
Class MagnifyIconGraphics

java.lang.Object
  extended by edu.uci.ics.jung.visualization.transform.shape.Graphics2DWrapper
      extended by edu.uci.ics.jung.visualization.transform.shape.GraphicsDecorator
          extended by edu.uci.ics.jung.visualization.transform.shape.TransformingGraphics
              extended by edu.uci.ics.jung.visualization.transform.shape.TransformingFlatnessGraphics
                  extended by edu.uci.ics.jung.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 edu.uci.ics.jung.visualization.transform.shape.TransformingGraphics
transformer
 
Fields inherited from class edu.uci.ics.jung.visualization.transform.shape.Graphics2DWrapper
delegate
 
Constructor Summary
MagnifyIconGraphics(BidirectionalTransformer transformer)
           
MagnifyIconGraphics(BidirectionalTransformer transformer, Graphics2D delegate)
           
 
Method Summary
 void draw(Icon icon, Component c, Shape clip, int x, int y)
           
 
Methods inherited from class edu.uci.ics.jung.visualization.transform.shape.TransformingFlatnessGraphics
draw, fill
 
Methods inherited from class edu.uci.ics.jung.visualization.transform.shape.TransformingGraphics
create, dispose, draw, drawImage, drawImage, fill, getTransformer, hit, setTransformer
 
Methods inherited from class edu.uci.ics.jung.visualization.transform.shape.GraphicsDecorator
draw
 
Methods inherited from class edu.uci.ics.jung.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
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MagnifyIconGraphics

public MagnifyIconGraphics(BidirectionalTransformer transformer)

MagnifyIconGraphics

public MagnifyIconGraphics(BidirectionalTransformer transformer,
                           Graphics2D delegate)
Method Detail

draw

public void draw(Icon icon,
                 Component c,
                 Shape clip,
                 int x,
                 int y)
Overrides:
draw in class GraphicsDecorator


Copyright © 2009. All Rights Reserved.