- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.DesktopIconUI
-
- javax.swing.plaf.basic.BasicDesktopIconUI
-
- 直系の既知のサブクラス:
MetalDesktopIconUI
,SynthDesktopIconUI
public class BasicDesktopIconUI extends DesktopIconUI
デスクトップ上の最小化されたウィンドウの基本L&Fです。
-
-
ネストされたクラスのサマリー
ネストされたクラス 修飾子と型 クラス 説明 class
BasicDesktopIconUI.MouseInputHandler
マウスの動きを待機し、その動きに合わせて処理を行います。
-
フィールドのサマリー
フィールド 修飾子と型 フィールド 説明 protected JInternalFrame.JDesktopIcon
desktopIcon
JInternalFrame.JDesktopIcon
のインスタンス。protected JInternalFrame
frame
JInternalFrame
のインスタンス。protected JComponent
iconPane
デスクトップ・アイコンで使用されるタイトル・ペインのコンポーネントです。
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 BasicDesktopIconUI()
BasicDesktopIconUI
の新しいインスタンスを構築します。
-
メソッドのサマリー
修飾子と型 メソッド 説明 protected MouseInputListener
createMouseInputListener()
MouseInputListener
の新しいインスタンスを返します。static ComponentUI
createUI(JComponent c)
BasicDesktopIconUI
の新しいインスタンスを構築します。void
deiconize()
内部フレームのアイコン化を解除します。Insets
getInsets(JComponent c)
イン・セットを返します。Dimension
getMaximumSize(JComponent c)
デスクトップ・アイコンはサイズ変更できません。protected void
installComponents()
コンポーネントを登録します。protected void
installDefaults()
デフォルトのプロパティをインストールします。protected void
installListeners()
リスナーを登録します。protected void
uninstallComponents()
コンポーネントの登録を解除します。protected void
uninstallDefaults()
デフォルト・プロパティをアンインストールします。protected void
uninstallListeners()
リスナーの登録を解除します。-
クラス javax.swing.plaf.ComponentUIで宣言されたメソッド
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
-
-
-
フィールドの詳細
-
desktopIcon
protected JInternalFrame.JDesktopIcon desktopIcon
JInternalFrame.JDesktopIcon
のインスタンス。
-
frame
protected JInternalFrame frame
JInternalFrame
のインスタンス。
-
iconPane
protected JComponent iconPane
デスクトップ・アイコンで使用されるタイトル・ペインのコンポーネントです。- 導入されたバージョン:
- 1.5
-
-
メソッドの詳細
-
createUI
public static ComponentUI createUI(JComponent c)
BasicDesktopIconUI
の新しいインスタンスを構築します。- パラメータ:
c
- コンポーネント- 戻り値:
BasicDesktopIconUI
の新しいインスタンス
-
installComponents
protected void installComponents()
コンポーネントを登録します。
-
uninstallComponents
protected void uninstallComponents()
コンポーネントの登録を解除します。
-
installListeners
protected void installListeners()
リスナーを登録します。
-
uninstallListeners
protected void uninstallListeners()
リスナーの登録を解除します。
-
installDefaults
protected void installDefaults()
デフォルトのプロパティをインストールします。
-
uninstallDefaults
protected void uninstallDefaults()
デフォルト・プロパティをアンインストールします。
-
createMouseInputListener
protected MouseInputListener createMouseInputListener()
MouseInputListener
の新しいインスタンスを返します。- 戻り値:
MouseInputListener
の新しいインスタンス
-
getMaximumSize
public Dimension getMaximumSize(JComponent c)
デスクトップ・アイコンはサイズ変更できません。 このため、常にデスクトップ・アイコンの最小サイズを返します。- オーバーライド:
getMaximumSize
、クラス:ComponentUI
- パラメータ:
c
- 最大サイズが照会されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがある- 戻り値:
Dimension
オブジェクトまたはnull
- 関連項目:
ComponentUI.getMinimumSize(javax.swing.JComponent)
-
getInsets
public Insets getInsets(JComponent c)
イン・セットを返します。- パラメータ:
c
- コンポーネント- 戻り値:
- インセット
-
deiconize
public void deiconize()
内部フレームのアイコン化を解除します。
-
-