Skip navigation links
com.essbase.eas.ui.print
Interface CPrintable
- All Known Implementing Classes:
- CPrint, CPrintPreview
-
public interface CPrintable
Title: Description: Copyright: Copyright (c) 2001 Company: Hyperion Solutions Corporation
- Version:
- 1.0
- Author:
- Sree Menon
USE_COMPONENT_SIZE
static final int USE_COMPONENT_SIZE
-
- See Also:
- Constant Field Values
FIT_WIDTH_TO_PAGE
static final int FIT_WIDTH_TO_PAGE
-
- See Also:
- Constant Field Values
FIT_HEIGHT_TO_PAGE
static final int FIT_HEIGHT_TO_PAGE
-
- See Also:
- Constant Field Values
LIMIT_COMPONENT_WIDTH
static final int LIMIT_COMPONENT_WIDTH
-
- See Also:
- Constant Field Values
LIMIT_COMPONENT_HEIGHT
static final int LIMIT_COMPONENT_HEIGHT
-
- See Also:
- Constant Field Values
LIMIT_COMPONENT_SIZE
static final int LIMIT_COMPONENT_SIZE
-
- See Also:
- Constant Field Values
FIT_TO_PAGE
static final int FIT_TO_PAGE
-
- See Also:
- Constant Field Values
setTitle
void setTitle(java.lang.String title)
getTitle
java.lang.String getTitle()
setHeaderFont
void setHeaderFont(java.awt.Font font)
getHeaderFont
java.awt.Font getHeaderFont()
setPageFont
void setPageFont(java.awt.Font font)
getPageFont
java.awt.Font getPageFont()
addObject
void addObject(java.lang.Object o)
addJList
void addJList(javax.swing.JList list)
addListModel
void addListModel(javax.swing.DefaultListModel model)
addRootTreeNode
void addRootTreeNode(javax.swing.tree.TreeNode node)
addTable
void addTable(javax.swing.JTable table)
addTableModel
void addTableModel(javax.swing.table.TableModel model)
addTextComponent
void addTextComponent(javax.swing.text.JTextComponent txt)
addTree
void addTree(javax.swing.JTree tree)
addTreeModel
void addTreeModel(javax.swing.tree.TreeModel model)
addJComponentObject
void addJComponentObject(java.awt.Component comp)
- This will add a UI component to the printing page. Note that this will use the current size of the component in rendering the component. So if the component is large, it will span multiple pages.
-
- Parameters:
comp
- The component to print
addJComponentObject
void addJComponentObject(java.awt.Component jcomp,
int mode)
- This will add a UI component to the printing page.
-
- Parameters:
jcomp
- The component to print
fitToPage
- if true, will scale the component to fit the reamaining space on the current page. So if the component is large, it will be shrunk or if the component is smaller, it will be scaled up. If the value is false, the component is only scaled up to fit the page if the current component size is larger than the page size. So for a component with smaller size, it will be printed using that size.
addRAFObjects
void addRAFObjects(java.lang.Object[] objects)
addBoldObject
void addBoldObject(java.lang.Object o)
addKeyValue
void addKeyValue(java.lang.String key,
java.lang.String value)
addObjects
void addObjects(java.lang.Object[] objects)
addObjects
void addObjects(java.lang.Object[] objects,
java.awt.Font font)
addStringWithPagebreaks
void addStringWithPagebreaks(java.lang.String text)
startNewPage
void startNewPage()
startNewLine
void startNewLine()
setHeader
void setHeader(PageHeader header)
getPageFormat
java.awt.print.PageFormat getPageFormat()
Skip navigation links
Copyright © 2001, 2007, Oracle. All rights reserved.