|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgui.print.PrintComponent
public class PrintComponent
コンポーネント印刷クラス
フィールドの概要 | |
---|---|
private java.awt.Component |
component
印刷対象コンポーネント |
インタフェース java.awt.print.Printable から継承されたフィールド |
---|
NO_SUCH_PAGE, PAGE_EXISTS |
コンストラクタの概要 | |
---|---|
PrintComponent(java.awt.Component component)
コンポーネント印刷オブジェクトを構築する |
メソッドの概要 | |
---|---|
int |
print(java.awt.Graphics g,
java.awt.print.PageFormat pf,
int pageIndex)
印刷する |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
private java.awt.Component component
コンストラクタの詳細 |
---|
public PrintComponent(java.awt.Component component)
component
- 印刷対象コンポーネントメソッドの詳細 |
---|
public int print(java.awt.Graphics g, java.awt.print.PageFormat pf, int pageIndex) throws java.awt.print.PrinterException
java.awt.print.Printable
内の print
g
- ページが描画されるコンテキストpf
- 描画されるページのサイズと印刷方向pageIndex
- 描画されるページのゼロから始まるインデックス
PAGE_EXISTS
,
pageIndex
で指定されたページが存在しない場合は
NO_SUCH_PAGE
java.awt.print.PrinterException
- 印刷が中断された場合
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |