|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.JRcServer.window.BaseWindowItem
com.JRcServer.window.WindowObject
public class WindowObject
ウィンドウオブジェクト.
1つのウィンドウオブジェクトをサポートします.
| フィールドの概要 | |
|---|---|
static java.lang.String |
DEFAULT_MENU_NAME
メニューバーデフォルト名. |
static java.lang.String |
DEFAULT_MVAL
ウィンドウオブジェクトフラグ. |
static int |
TYPE_PANEL
パネルタイプ : パネル. |
static int |
TYPE_SCROLL_PANEL
パネルタイプ : スクロールパネル. |
static int |
TYPE_UNKNOWN
パネルタイプ : パネルタイプ不明. |
| コンストラクタの概要 | |
|---|---|
WindowObject(int type,
java.lang.String name,
java.lang.String title)
コンストラクタ. |
|
| メソッドの概要 | |
|---|---|
void |
addPanel(int type,
java.lang.String name,
int left,
int top,
int right,
int bottom)
対象のパネルを追加. |
void |
addPanel(int type,
java.lang.String name,
int left,
int top,
int right,
int bottom,
int color)
対象のパネルを追加. |
void |
addPanel(java.lang.String name,
int left,
int top,
int right,
int bottom)
対象のパネルを追加. |
void |
addPanel(java.lang.String name,
int left,
int top,
int right,
int bottom,
int color)
対象のパネルを追加. |
void |
clear()
ウィンドウオブジェクトをクリア. |
void |
create(ActionCommon action)
ウィンドウオブジェクトを生成. |
void |
flush()
ウィンドウを更新. |
ActionCommon |
getAction()
格納アクションを取得. |
WindowGroup |
getGroup()
ウィンドウグループオブジェクトを取得. |
WindowItem |
getItem()
ウィンドウアイテムオブジェクトを取得. |
java.awt.Point |
getLocation()
現在のウィンドウ表示位置を取得. |
WindowMenuBar |
getMenuBar()
ウィンドウメニューバーオブジェクトを取得. |
java.lang.String |
getName()
設定ウィンドウ名を取得します. |
WindowComponent |
getPanel(java.lang.String name)
対象パネル情報を取得. |
java.lang.String[] |
getPanelNames()
格納パネル名群を取得. |
int |
getPanelSize()
格納パネル数を取得. |
int |
getPanelType(java.lang.String name)
対象パネルタイプ情報を取得. |
java.awt.Dimension |
getSize()
現在のウィンドウサイズを取得. |
java.awt.Window |
getThisWindow()
ウィンドウオブジェクトを取得. |
java.lang.String |
getTitle()
ウィンドウタイトルを取得. |
int |
getType()
ウィンドウタイプを取得. |
boolean |
isUse()
オブジェクト有効チェック. |
boolean |
isVisible()
ウィンドウ表示/非表示を取得. |
void |
removePanel(java.lang.String name)
対象パネルを削除. |
void |
setLocation(int x,
int y)
ウィンドウ表示位置を設定. |
void |
setSize(int width,
int height)
ウィンドウサイズを設定. |
void |
setTitle(java.lang.String title)
ウィンドウタイトルを設定. |
void |
setVisible(boolean mode)
ウィンドウ表示/非表示設定. |
void |
update()
ウィンドウアップデート. |
void |
updateGroup()
グループをアップデート. |
void |
updateUI()
ルックアンドフィルをアップデート. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final int TYPE_UNKNOWN
public static final int TYPE_PANEL
public static final int TYPE_SCROLL_PANEL
public static final java.lang.String DEFAULT_MVAL
public static final java.lang.String DEFAULT_MENU_NAME
| コンストラクタの詳細 |
|---|
public WindowObject(int type,
java.lang.String name,
java.lang.String title)
throws InputException
type - ウィンドウタイプが返されます.
[CommonWObject.TYPE_FRAME]を設定した場合JFrame属性です.name - 対象のフレーム名を設定します.title - 対象のウィンドウタイトルを設定します.
InputException - 入力例外.| メソッドの詳細 |
|---|
public final void create(ActionCommon action)
throws InputException
action - アクション処理を設定します.
InputException - 入力例外.public final void clear()
public final void flush()
BaseWindowItem 内の flushpublic final void update()
BaseWindowItem 内の updatepublic final void updateGroup()
public final void updateUI()
public final void setTitle(java.lang.String title)
title - 対象のウィンドウタイトルを設定します.
public final void setLocation(int x,
int y)
x - 対象のウィンドウ表示位置X軸を設定します.y - 対象のウィンドウ表示位置Y軸を設定します.
public final void setSize(int width,
int height)
width - 対象のウィンドウWidthを設定します.height - 対象のウィンドウHeightを設定します.public final void setVisible(boolean mode)
mode - ウィンドウオブジェクト表示/非表示を設定します.
public final void addPanel(java.lang.String name,
int left,
int top,
int right,
int bottom)
throws InputException,
SettingException,
AccessException
name - 対象のパネル名を設定します.left - 対象のleft位置を設定します.top - 対象のtop位置を設定します.right - 対象のright位置を設定します.bottom - 対象のbottom位置を設定します.
InputException - 入力例外.
SettingException - 設定例外.
AccessException - アクセス例外.
public final void addPanel(java.lang.String name,
int left,
int top,
int right,
int bottom,
int color)
throws InputException,
SettingException,
AccessException
name - 対象のパネル名を設定します.left - 対象のleft位置を設定します.top - 対象のtop位置を設定します.right - 対象のright位置を設定します.bottom - 対象のbottom位置を設定します.color - 対象のバックグラウンドカラーを設定します.
InputException - 入力例外.
SettingException - 設定例外.
AccessException - アクセス例外.
public final void addPanel(int type,
java.lang.String name,
int left,
int top,
int right,
int bottom)
throws InputException,
SettingException,
AccessException
type - 追加パネルタイプを設定します.name - 対象のパネル名を設定します.left - 対象のleft位置を設定します.top - 対象のtop位置を設定します.right - 対象のright位置を設定します.bottom - 対象のbottom位置を設定します.
InputException - 入力例外.
SettingException - 設定例外.
AccessException - アクセス例外.
public final void addPanel(int type,
java.lang.String name,
int left,
int top,
int right,
int bottom,
int color)
throws InputException,
SettingException,
AccessException
type - 追加パネルタイプを設定します.name - 対象のパネル名を設定します.left - 対象のleft位置を設定します.top - 対象のtop位置を設定します.right - 対象のright位置を設定します.bottom - 対象のbottom位置を設定します.color - 対象のバックグラウンドカラーを設定します.
InputException - 入力例外.
SettingException - 設定例外.
AccessException - アクセス例外.public final void removePanel(java.lang.String name)
name - 削除対象のパネル名を設定します.public final WindowComponent getPanel(java.lang.String name)
name - 対象のパネル名を設定します.
public final int getPanelType(java.lang.String name)
name - 対象のパネル名を設定します.
public final ActionCommon getAction()
public final WindowItem getItem()
public final WindowGroup getGroup()
public final WindowMenuBar getMenuBar()
public final java.lang.String getTitle()
public final java.awt.Point getLocation()
public final java.awt.Dimension getSize()
public final java.lang.String getName()
BaseWindowItem 内の getNamepublic final java.lang.String[] getPanelNames()
public final int getPanelSize()
public final int getType()
public final java.awt.Window getThisWindow()
public final boolean isVisible()
public final boolean isUse()
BaseWindowItem 内の isUse
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||