jp.co.isic.HoroScope
クラス ImageReader

java.lang.Object
  拡張jp.co.isic.HoroScope.ImageReader
すべての実装インタフェース:
ImageObserver

public class ImageReader
extends Object
implements ImageObserver

ホロスコープ画像生成クラス jp.co.isic.HoroScope.ImageReader

作成者:
Atsuji Okuyama

フィールドの概要
 
インタフェース java.awt.image.ImageObserver から継承したフィールド
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
コンストラクタの概要
ImageReader()
          コンストラクタ
 
メソッドの概要
 BufferedImage getBase()
          ホロスコープイメージを取得
 boolean imageUpdate(Image theimg, int infoflags, int x, int y, int w, int h)
          (non-Javadoc)
static void main(String[] args)
          テスト用 main
 void putCusp(int location, String str)
          カスプの角度を描画
 void putStar(int location, int star)
          惑星イメージを描画
 void putZodiac(int location, int zodiac)
          星座イメージを描画
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ImageReader

public ImageReader()
            throws IOException
コンストラクタ

メソッドの詳細

putStar

public void putStar(int location,
                    int star)
惑星イメージを描画

パラメータ:
location - 描画位置
star - 惑星番号

putZodiac

public void putZodiac(int location,
                      int zodiac)
星座イメージを描画

パラメータ:
location - 描画位置
zodiac - 星座番号

putCusp

public void putCusp(int location,
                    String str)
カスプの角度を描画

パラメータ:
location - 描画位置
str - 角度

getBase

public BufferedImage getBase()
ホロスコープイメージを取得

戻り値:
BufferedImage ホロスコープイメージ

imageUpdate

public boolean imageUpdate(Image theimg,
                           int infoflags,
                           int x,
                           int y,
                           int w,
                           int h)
(non-Javadoc)

定義:
インタフェース ImageObserver 内の imageUpdate
関連項目:
ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)

main

public static void main(String[] args)
                 throws Exception
テスト用 main

パラメータ:
args -
例外:
Exception