gui.print
クラス PrintComponentAction

java.lang.Object
  上位を拡張 javax.swing.AbstractAction
      上位を拡張 gui.print.PrintAction
          上位を拡張 gui.print.PrintComponentAction
すべての実装されたインタフェース:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class PrintComponentAction
extends PrintAction

コンポーネント印刷アクション

関連項目:
直列化された形式

フィールドの概要
 
クラス gui.print.PrintAction から継承されたフィールド
base, manager
 
クラス javax.swing.AbstractAction から継承されたフィールド
changeSupport, enabled
 
インタフェース javax.swing.Action から継承されたフィールド
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
コンストラクタの概要
PrintComponentAction(java.awt.Component base)
          アクションオブジェクトを構築する
PrintComponentAction(java.awt.Component base, javax.swing.Icon icon)
          アイコンを指定してアクションオブジェクトを構築する
 
メソッドの概要
protected  javax.print.DocFlavor getDocFlavor()
          印刷データ形式を返す
protected  java.lang.Object getPrintData()
          印刷対象データを返す
 
クラス gui.print.PrintAction から継承されたメソッド
actionName, actionPerformed, showErrorMessage
 
クラス javax.swing.AbstractAction から継承されたメソッド
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
クラス java.lang.Object から継承されたメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PrintComponentAction

public PrintComponentAction(java.awt.Component base)
アクションオブジェクトを構築する

パラメータ:
base - 印刷対象コンポーネント

PrintComponentAction

public PrintComponentAction(java.awt.Component base,
                            javax.swing.Icon icon)
アイコンを指定してアクションオブジェクトを構築する

パラメータ:
base - 印刷対象コンポーネント
icon - アイコン
メソッドの詳細

getDocFlavor

protected javax.print.DocFlavor getDocFlavor()
印刷データ形式を返す

定義:
クラス PrintAction 内の getDocFlavor
戻り値:
印刷データ形式

getPrintData

protected java.lang.Object getPrintData()
印刷対象データを返す

定義:
クラス PrintAction 内の getPrintData
戻り値:
印刷対象データ