to.tetramorph.starbase
クラス ImageSaveFileChooser

java.lang.Object
  上位を拡張 to.tetramorph.starbase.ImageSaveFileChooser

public class ImageSaveFileChooser
extends Object

画像ファイル保存用チューザー 2011-07-29 レジストリの使用をやめた。


コンストラクタの概要
ImageSaveFileChooser()
          ImageSaveFileChooser オブジェクトを作成する
 
メソッドの概要
 void showSaveDialog(Component owner, File dir, String defaultName, BufferedImage image)
          ファイルチューザーを開き出力ファイル名を入力させ画像を保存する。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ImageSaveFileChooser

public ImageSaveFileChooser()
ImageSaveFileChooser オブジェクトを作成する

メソッドの詳細

showSaveDialog

public void showSaveDialog(Component owner,
                           File dir,
                           String defaultName,
                           BufferedImage image)
ファイルチューザーを開き出力ファイル名を入力させ画像を保存する。

パラメータ:
owner - 親コンポーネント
dir - カレントディレクトリ(nullならデフォルト値を使用)
defaultName - ファイル名のデフォルト値
image - 保存したいイメージオブジェクト