com.levigo.jadice.swing.thumbnailview
Class AbstractThumbnailRenderer.BasicThumbnailRendererIcon

java.lang.Object
  extended by com.levigo.jadice.swing.thumbnailview.AbstractThumbnailRenderer.BasicThumbnailRendererIcon
All Implemented Interfaces:
Icon
Direct Known Subclasses:
DefaultThumbnailCellRenderer.FadingIcon
Enclosing class:
AbstractThumbnailRenderer

public class AbstractThumbnailRenderer.BasicThumbnailRendererIcon
extends Object
implements Icon


Constructor Summary
AbstractThumbnailRenderer.BasicThumbnailRendererIcon()
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
protected  void paintNoPage(Graphics2D g2, Dimension thumbnailSize)
           
protected  void paintNoThumbnailImage(Graphics2D g2, Page page, Rectangle thumbImageBounds)
           
protected  void paintThumbnailBorder(Component c, Graphics2D g2, Rectangle thumbImageBounds)
           
protected  void paintThumbnailImage(Graphics2D g2, RenderedImage image, Page page, Rectangle thumbImageBounds)
           
protected  void postPaintThumbnailImage(Graphics2D g2, Page page, RenderControls renderControls, Rectangle thumbImageBounds)
           
protected  void prePaintThumbnailImage(Graphics2D g2, Page page, Rectangle thumbImageBounds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractThumbnailRenderer.BasicThumbnailRendererIcon

public AbstractThumbnailRenderer.BasicThumbnailRendererIcon()
Method Detail

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface Icon

paintNoPage

protected void paintNoPage(Graphics2D g2,
                           Dimension thumbnailSize)

paintNoThumbnailImage

protected void paintNoThumbnailImage(Graphics2D g2,
                                     Page page,
                                     Rectangle thumbImageBounds)

prePaintThumbnailImage

protected void prePaintThumbnailImage(Graphics2D g2,
                                      Page page,
                                      Rectangle thumbImageBounds)

postPaintThumbnailImage

protected void postPaintThumbnailImage(Graphics2D g2,
                                       Page page,
                                       RenderControls renderControls,
                                       Rectangle thumbImageBounds)

paintThumbnailImage

protected void paintThumbnailImage(Graphics2D g2,
                                   RenderedImage image,
                                   Page page,
                                   Rectangle thumbImageBounds)

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface Icon

paintThumbnailBorder

protected void paintThumbnailBorder(Component c,
                                    Graphics2D g2,
                                    Rectangle thumbImageBounds)
Parameters:
c -
g2 -
thumbImageBounds -


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.