|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface GLayout
GLayouterはGLabelと同じ仲間の部品でもあって、このレイアウトに、他の レイアウトをaddすることことができる。これにより複雑に入れ子構造を作って、 文字や天体シンボルを自在にレイアウトすることができる。
フィールドの概要 | |
---|---|
static int |
G_BOTTOM
|
static int |
G_CENTER
|
static int |
G_LEFT
|
static int |
G_RIGHT
|
static int |
G_TOP
|
メソッドの概要 | |
---|---|
GComponent |
contains(int x,
int y)
|
void |
draw()
|
GComponentListener |
getGComponentListener()
|
void |
setBasePoint(Point2D basePoint)
原点となる座標を指定する。 |
void |
setBaseWidth(float baseWidth)
基準とする画面幅を指定する。 |
void |
setGraphics(Graphics2D g)
|
void |
setLocation(double x,
double y)
部品の位置を指定する。 |
void |
setup()
|
フィールドの詳細 |
---|
static final int G_CENTER
static final int G_RIGHT
static final int G_BOTTOM
static final int G_LEFT
static final int G_TOP
メソッドの詳細 |
---|
void setLocation(double x, double y)
void setBaseWidth(float baseWidth)
void setBasePoint(Point2D basePoint)
void setGraphics(Graphics2D g)
void setup()
void draw()
GComponentListener getGComponentListener()
GComponent contains(int x, int y)
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |