|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--javax.swing.DefaultDesktopManager
DesktopManager の実装です。これは現在、任意の親で JInternalFrame を管理するために基本動作を実装します。JDesktop の子でない JInternalFrame は、このコンポーネントを使ってそのデスクトップ様式のアクションを処理します。
JDesktopPane
,
JInternalFrame
, 直列化された形式コンストラクタの概要 | |
DefaultDesktopManager()
|
メソッドの概要 | |
void |
activateFrame(JInternalFrame f)
f をアクティブにして、フロントに移動します。 |
void |
beginDraggingFrame(JComponent f)
|
void |
beginResizingFrame(JComponent f,
int direction)
|
void |
closeFrame(JInternalFrame f)
フレームを削除し、必要に応じてその親から desktopIcon を削除します。 |
void |
deactivateFrame(JInternalFrame f)
|
void |
deiconifyFrame(JInternalFrame f)
desktopIcon をその親から削除して、そのフレームを親に追加します。 |
void |
dragFrame(JComponent f,
int newX,
int newY)
新しい値で setBoundsForFrame() を呼び出します。 |
void |
endDraggingFrame(JComponent f)
|
void |
endResizingFrame(JComponent f)
|
protected Rectangle |
getBoundsForIconOf(JInternalFrame f)
iconifyFrame() のコードはこのメソッドを呼び出して、desktopIcon の適切な境界を指定します。 |
protected Rectangle |
getPreviousBounds(JInternalFrame f)
|
void |
iconifyFrame(JInternalFrame f)
フレームをその親から削除して、その desktopIcon を親に追加します。 |
void |
maximizeFrame(JInternalFrame f)
その親の境界を満たすように、フレームのサイズを変更します。 |
void |
minimizeFrame(JInternalFrame f)
maximizeFrame() の呼び出し前のサイズと位置にフレームを復元します。 |
void |
openFrame(JInternalFrame f)
このメソッドは通常は呼び出されません。 |
protected void |
removeIconFor(JInternalFrame f)
f の desktopIcon を削除する簡易メソッドが必要です。 |
void |
resizeFrame(JComponent f,
int newX,
int newY,
int newWidth,
int newHeight)
新しい値で setBoundsForFrame() を呼び出します。 |
void |
setBoundsForFrame(JComponent f,
int newX,
int newY,
int newWidth,
int newHeight)
JComponent を移動して、影響を受けた領域を再描画します。 |
protected void |
setPreviousBounds(JInternalFrame f,
Rectangle r)
コンポーネントの境界を、最大表示呼び出しの直前に格納します。 |
protected void |
setWasIcon(JInternalFrame f,
Boolean value)
コンポーネントがアイコン化されて desktopIcon の境界が有効であるように設定します。 |
protected boolean |
wasIcon(JInternalFrame f)
|
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
コンストラクタの詳細 |
public DefaultDesktopManager()
メソッドの詳細 |
public void openFrame(JInternalFrame f)
public void closeFrame(JInternalFrame f)
public void maximizeFrame(JInternalFrame f)
public void minimizeFrame(JInternalFrame f)
public void iconifyFrame(JInternalFrame f)
public void deiconifyFrame(JInternalFrame f)
public void activateFrame(JInternalFrame f)
public void deactivateFrame(JInternalFrame f)
public void beginDraggingFrame(JComponent f)
public void dragFrame(JComponent f, int newX, int newY)
public void endDraggingFrame(JComponent f)
public void beginResizingFrame(JComponent f, int direction)
public void resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
public void endResizingFrame(JComponent f)
public void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
protected void removeIconFor(JInternalFrame f)
protected Rectangle getBoundsForIconOf(JInternalFrame f)
protected void setPreviousBounds(JInternalFrame f, Rectangle r)
protected Rectangle getPreviousBounds(JInternalFrame f)
protected void setWasIcon(JInternalFrame f, Boolean value)
protected boolean wasIcon(JInternalFrame f)
|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |