Skip navigation links


com.essbase.eas.utils.print
Interface PrintableObject

All Known Implementing Classes:
AlphaFnTemplateTreeNode, ApplicationTreeNode, AssociateOutlineTree.ANode, CalcScriptsContainerNode, CalcScriptTreeNode, CDefaultPrint.PrintTree, ComponentPainter, DatabaseContainerNode, DatabaseTreeNode, DataRulesContainerNode, DataRulesTreeNode, DPAttributeDimensionNode, DPChildOfMemberNode, DPDataLoadClearDataNode, DPDimBuildDimensionNode, DPDimBuildDimensionsNode, DPDimBuildOutlineMemberNode, DPFieldTypeNode, DPNumericAttributeDimensionNode, DPOutlineMemberNode, DrillThroughTreeNode, EASOpenChooserPanel.ObjectNode, EQDContainerNode, EQDTreeNode, FiltersContainerNode, FilterTreeNode, FnTemplateTreeNode, FunctionsContainerNode, FunctionTreeNode, LroTreeNode, MacrosContainerNode, MacroTreeNode, MbrSelContainerNode, MbrSelTreeNode, OutlineTreeNode, PartitionTreeNode, PropertiesTreeNode, PTreeButtonNode, PTreeCheckBoxNode, PTreeComboBoxNode, PTreeDateNode, PTreeLabelNode, PTreeNode, PTreeNumericFieldNode, PTreePasswordFieldNode, PTreeRadioButtonNode, PTreeRootLabelNode, PTreeTextAreaNode, PTreeTextFieldNode, PTreeTimeFieldNode, RAFObjectPainter, ReportScriptsContainerNode, ReportScriptTreeNode, SubsetDialog.ANDNode, SubsetDialog.ConditionNode, SubsetDialog.ORNode, TablePainter, TreePainter, TriggersContainerNode, TriggerTreeNode, VariablesContainerNode, VariableTreeNode, WizardTreeCheckBoxNode, 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

 

Method Detail

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, 2012, Oracle. All rights reserved.