Side of Software
Print Preview Library 1.8.1

sos.preview
Class PrintPreviewPageUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--sos.preview.PrintPreviewPageUI
Direct Known Subclasses:
BasicPrintPreviewPageUI

public abstract class PrintPreviewPageUI
extends javax.swing.plaf.ComponentUI

The JPrintPreviewPage pluggable look and feel delegate.

Since:
1.0
See Also:
JPrintPreviewPage

Constructor Summary
PrintPreviewPageUI()
           
 
Method Summary
abstract  double getFixedHeight(JPrintPreviewPage printPreviewPage)
          Returns the height of the fixed portion of the specified page.
abstract  double getFixedWidth(JPrintPreviewPage printPreviewPage)
          Returns the width of the fixed portion of the specified page.
abstract  java.awt.Dimension getScaleablePreferredSize(JPrintPreviewPage printPreviewPage)
          Returns the preferred size of the scaleable portion of the specified page.
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintPreviewPageUI

public PrintPreviewPageUI()
Method Detail

getScaleablePreferredSize

public abstract java.awt.Dimension getScaleablePreferredSize(JPrintPreviewPage printPreviewPage)
Returns the preferred size of the scaleable portion of the specified page.

Parameters:
printPreviewPage - page to get the preferred size
Returns:
returns the preferred size of the scaleable portion of the specified page

getFixedWidth

public abstract double getFixedWidth(JPrintPreviewPage printPreviewPage)
Returns the width of the fixed portion of the specified page.

Parameters:
printPreviewPage - page to get the fixed width
Returns:
the width of the fixed portion of the specified page

getFixedHeight

public abstract double getFixedHeight(JPrintPreviewPage printPreviewPage)
Returns the height of the fixed portion of the specified page.

Parameters:
printPreviewPage - page to get the fixed height
Returns:
the height of the fixed portion of the specified page

Side of Software
Print Preview Library 1.8.1

Copyright 2003-07 Side of Software (SOS). All rights reserved.