com.jgraph.util

Class JGraphPrintingScrollPane.Viewport

public class JGraphPrintingScrollPane.Viewport extends JViewport

Viewport for diagram panes that is in charge of painting the background image or page.
Method Summary
voidpaint(Graphics g)
Paints the background.
protected voidpaintBackgroundImage(Graphics2D g2)
Hook for subclassers to paint the background image.
protected voidpaintBackgroundPages(Graphics2D g2)
Hook for subclassers to paint the background page(s).

Method Detail

paint

public void paint(Graphics g)
Paints the background.

Parameters: g The graphics object to paint the background on.

paintBackgroundImage

protected void paintBackgroundImage(Graphics2D g2)
Hook for subclassers to paint the background image.

Parameters: g2 The graphics object to paint the image on.

paintBackgroundPages

protected void paintBackgroundPages(Graphics2D g2)
Hook for subclassers to paint the background page(s).

Parameters: g2 The graphics object to paint the background page(s) on.

Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.