Kagetaka

net.hizlab.kagetaka.awt
クラス ImageCreatorComponent

java.lang.Object
  拡張net.hizlab.kagetaka.awt.ImageCreatorComponent
すべての実装インタフェース:
ImageCreator

public class ImageCreatorComponent
extends Object
implements ImageCreator

コンポーネントから、イメージを作成する機能を提供するためのクラスです。

バージョン:
$Revision: 1.1 $

コンストラクタの概要
ImageCreatorComponent(Component c)
          新しいインスタンスを作成します。
 
メソッドの概要
 Image createImage(int width, int height)
          イメージ処理に利用するイメージを返します。
 Toolkit getToolkit()
          ツールキットを返します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ImageCreatorComponent

public ImageCreatorComponent(Component c)
新しいインスタンスを作成します。

パラメータ:
c - コンポーネント
メソッドの詳細

createImage

public Image createImage(int width,
                         int height)
イメージ処理に利用するイメージを返します。

定義:
インタフェース ImageCreator 内の createImage
パラメータ:
width - 幅
height - 高さ
戻り値:
イメージ

getToolkit

public Toolkit getToolkit()
ツールキットを返します。

定義:
インタフェース ImageCreator 内の getToolkit
戻り値:
ツールキット

Kagetaka

Copyright (c) 2002-2003 The Kagetaka Project 'December 16, 2003'