public class SynthInternalFrameUI extends BasicInternalFrameUI implements SynthUI, PropertyChangeListener
JInternalFrameのSynth L&F UI委譲を提供します。BasicInternalFrameUI.BasicInternalFrameListener, BasicInternalFrameUI.BorderListener, BasicInternalFrameUI.ComponentHandler, BasicInternalFrameUI.GlassPaneDispatcher, BasicInternalFrameUI.InternalFrameLayout, BasicInternalFrameUI.InternalFramePropertyChangeListenerborderListener, componentListener, eastPane, frame, glassPaneDispatcher, internalFrameLayout, northPane, openMenuKey, propertyChangeListener, southPane, titlePane, westPaneDEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
SynthInternalFrameUI(JInternalFrame b) |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected ComponentListener |
createComponentListener() |
protected JComponent |
createNorthPane(JInternalFrame w) |
static ComponentUI |
createUI(JComponent b)
指定されたコンポーネントの新しいUIオブジェクトを作成します。
|
SynthContext |
getContext(JComponent c)
指定されたコンポーネントのコンテキストを返します。
|
void |
installDefaults() |
protected void |
installListeners() |
void |
paint(Graphics g, JComponent c)
Look & Feelに従って、指定されたコンポーネントをペイントします。
|
protected void |
paint(SynthContext context, Graphics g)
指定されたコンポーネントをペイントします。
|
void |
paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
ボーダーをペイントします。
|
void |
propertyChange(PropertyChangeEvent evt)
バウンド・プロパティの変更時に呼び出されます。
|
protected void |
uninstallComponents() |
protected void |
uninstallDefaults() |
protected void |
uninstallListeners() |
void |
update(Graphics g, JComponent c)
このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
|
activateFrame, closeFrame, createBorderListener, createDesktopManager, createEastPane, createGlassPaneDispatcher, createInternalFrameListener, createLayoutManager, createPropertyChangeListener, createSouthPane, createWestPane, deactivateFrame, deiconifyFrame, deinstallMouseHandlers, getDesktopManager, getEastPane, getMaximumSize, getMinimumSize, getNorthPane, getPreferredSize, getSouthPane, getWestPane, iconifyFrame, installComponents, installKeyboardActions, installMouseHandlers, installUI, isKeyBindingActive, isKeyBindingRegistered, maximizeFrame, minimizeFrame, replacePane, setEastPane, setKeyBindingActive, setKeyBindingRegistered, setNorthPane, setSouthPane, setupMenuCloseKey, setupMenuOpenKey, setWestPane, uninstallKeyboardActions, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehaviorprotected SynthInternalFrameUI(JInternalFrame b)
public static ComponentUI createUI(JComponent b)
b - UIオブジェクトを作成するコンポーネントpublic void installDefaults()
installDefaults、クラス: BasicInternalFrameUIprotected void installListeners()
installListeners、クラス: BasicInternalFrameUIprotected void uninstallComponents()
uninstallComponents、クラス: BasicInternalFrameUIprotected void uninstallListeners()
uninstallListeners、クラス: BasicInternalFrameUIprotected void uninstallDefaults()
uninstallDefaults、クラス: BasicInternalFrameUIpublic SynthContext getContext(JComponent c)
getContext、インタフェース: SynthUIc - SynthContextを要求するコンポーネント。protected JComponent createNorthPane(JInternalFrame w)
createNorthPane、クラス: BasicInternalFrameUIprotected ComponentListener createComponentListener()
createComponentListener、クラス: BasicInternalFrameUIpublic void update(Graphics g, JComponent c)
paint(SynthContext,Graphics)メソッドを呼び出します。
一般に、このメソッドはサブクラスによってオーバーライドする必要はありません。すべてのLook & Feelの描画コードをpaintメソッドに入れるようにしてください。
update、クラス: ComponentUIg - ペイントに使用されるGraphicsオブジェクトc - ペイントされるコンポーネントpaint(SynthContext,Graphics)public void paint(Graphics g, JComponent c)
このメソッドは、Synth Look & Feelで使用されません。ペイントはpaint(SynthContext,Graphics)メソッドによって処理されます。
paint、クラス: ComponentUIg - ペイントに使用されるGraphicsオブジェクトc - ペイントされるコンポーネントpaint(SynthContext,Graphics)protected void paint(SynthContext context, Graphics g)
context - ペイントされるコンポーネントのコンテキストg - ペイントに使用されるGraphicsオブジェクトupdate(Graphics,JComponent)public void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
paintBorder、インタフェース: SynthUIcontext - コンポーネント・コンテキストg - ペイントされるGraphicsx - X座標y - Y座標w - ボーダーの幅h - ボーダーの高さpublic void propertyChange(PropertyChangeEvent evt)
propertyChange、インタフェース: PropertyChangeListenerevt - イベント・ソースと変更されたプロパティを記述するPropertyChangeEventオブジェクト。 バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.