public abstract class IlvPrintableComponent extends IlvPrintableObject
IlvPrintableComponent
is designed to print
a specified portion of a Component
object.IlvPage
NO_SUCH_PAGE, PAGE_EXISTS
Constructor and Description |
---|
IlvPrintableComponent(Component component,
IlvUnit.Rectangle area)
Creates a
IlvPrintableComponent that defines a component being
printed to the specified print area. |
Modifier and Type | Method and Description |
---|---|
Component |
getComponent()
Returns the component to be printed.
|
IlvUnit.Rectangle |
getPrintableArea()
Returns the area, in page coordinates, defining where the object
should be printed.
|
void |
setComponent(Component component)
Specifies the component to be printed.
|
void |
setPrintableArea(IlvUnit.Rectangle area)
Sets the area, in page coordinates, defining where the object
should be printed.
|
getPage
public IlvPrintableComponent(Component component, IlvUnit.Rectangle area)
IlvPrintableComponent
that defines a component being
printed to the specified print area.component
- The component to be printed.area
- The area on the page where the object should be printed.public IlvUnit.Rectangle getPrintableArea()
public void setPrintableArea(IlvUnit.Rectangle area)
area
- The print area, defined in page coordinates.public Component getComponent()
public void setComponent(Component component)
component
- The component to be printed.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.