Skip navigation links
com.essbase.eas.utils.print
Interface PrintableObject
- All Known Implementing Classes:
- CDefaultPrint.PrintTree, ComponentPainter, PTreeButtonNode, PTreeCheckBoxNode, PTreeComboBoxNode, PTreeDateNode, PTreeLabelNode, PTreeNode, PTreeNumericFieldNode, PTreePasswordFieldNode, PTreeRadioButtonNode, PTreeRootLabelNode, PTreeTextAreaNode, PTreeTextFieldNode, PTreeTimeFieldNode, RAFObjectPainter, TablePainter, TreePainter, WrappedTextPainter
-
public interface PrintableObject
An object that is printable
- Since:
- 6.5.1
- Version:
- 7.1.0
- Author:
- Sree Menon
Method Summary |
int |
drawObject(java.awt.Graphics graphics, java.awt.print.PageFormat pageFormat, int posX, int posY, int height)
Draws the object at the x and y. |
int |
getHeight(java.awt.print.PageFormat pageFormat, java.awt.Font font)
Returns the height of the object with the font |
int |
getWidth(java.awt.print.PageFormat pageFormat, java.awt.Font font)
Returns the width of the object using the font |
getHeight
int getHeight(java.awt.print.PageFormat pageFormat,
java.awt.Font font)
- Returns the height of the object with the font
-
- Parameters:
font
- font
- Returns:
- the height
getWidth
int getWidth(java.awt.print.PageFormat pageFormat,
java.awt.Font font)
- Returns the width of the object using the font
-
- Parameters:
font
- font
- Returns:
- the width
drawObject
int drawObject(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int posX,
int posY,
int height)
- Draws the object at the x and y.
-
- Parameters:
graphics
- graphics to draw
pageFormat
- the current page format
posX
- the x position
posY
- the Y position
height
- the height
- Returns:
- the width of the object
Skip navigation links
Copyright © 2001, 2007, Oracle. All rights reserved.