クラスBasicColorChooserUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ColorChooserUI
javax.swing.plaf.basic.BasicColorChooserUI
- 直系の既知のサブクラス:
SynthColorChooserUI
public class BasicColorChooserUI extends ColorChooserUI
JColorChooserの基本Look & Feelを提供します。
-
ネストされたクラスのサマリー
ネストされたクラス -
フィールドのサマリー
フィールド修飾子と型フィールド説明protected JColorChooserこのBasicColorChooserUIがインストールされているJColorChooserです。protected AbstractColorChooserPanel[]デフォルトの色選択の配列。protected ChangeListenerChangeListenerのインスタンス。protected PropertyChangeListenerPropertyChangeListenerのインスタンス。 -
コンストラクタのサマリー
コンストラクタ -
メソッドのサマリー
修飾子と型メソッド説明protected AbstractColorChooserPanel[]デフォルトの色選択の配列を返します。protected PropertyChangeListenerPropertyChangeListenerのインスタンスを返します。static ComponentUIBasicColorChooserUIの新しいインスタンスを返します。protected voidデフォルトのプロパティをインストールします。protected voidリスナーを登録します。protected voidプレビュー・パネルをインストールします。protected voidデフォルトのカラー・チューザをアンインストールします。protected void既定のプロパティをアンインストールします。protected voidリスナーを登録解除します。protected voidUI委譲からインストールされているプレビュー・パネルを削除します。クラスで宣言されたメソッド ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update修飾子と型メソッド説明booleancontains(JComponent c, int x, int y) 指定された x,yの位置が、指定されたコンポーネントのLook & Feel定義の形状内にある場合は、trueを返します。getAccessibleChild(JComponent c, int i) オブジェクトのi番目のAccessibleの子を返します。intオブジェクト内のアクセシビリティ対応の子の数を返します。intgetBaseline(JComponent c, int width, int height) ベースラインを返します。サイズの変化に合わせてコンポーネントのベースラインがどのように変化するかを示す列挙を返します。指定されたコンポーネントの、Look & Feelに適した最大サイズを返します。指定されたコンポーネントの、Look & Feelに適した最小サイズを返します。指定されたコンポーネントの、Look & Feelに適した推奨サイズを返します。void指定されたコンポーネントをLook & Feelに応じて適切に構成します。voidpaint(Graphics g, JComponent c) 指定されたコンポーネントをLook & Feelに合わせてペイントします。voidinstallUI時に、指定されたコンポーネントに対して行われた構成を取り消します。voidupdate(Graphics g, JComponent c) 指定されたコンポーネントをペイントする時間になったことを、このUI委譲に通知します。クラスオブジェクトで宣言されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait修飾子と型メソッド説明protected Objectclone()このオブジェクトのコピーを作成して、返します。booleanこのオブジェクトと他のオブジェクトが等しいかどうかを示します。protected voidfinalize()削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。最終決定は非推奨であり、将来のリリースで削除される可能性があります。final Class<?> getClass()このObjectの実行時クラスを返します。inthashCode()このオブジェクトに対するハッシュ・コード値を返します。final voidnotify()このオブジェクトのモニターで待機中のスレッドを1つ再開します。final voidこのオブジェクトのモニターで待機中のすべてのスレッドを再開します。toString()オブジェクトの文字列表現を返します。final voidwait()現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。final voidwait(long timeoutMillis) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。final voidwait(long timeoutMillis, int nanos) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
-
フィールド詳細
-
chooser
-
defaultChoosers
protected AbstractColorChooserPanel[] defaultChoosersデフォルトの色選択の配列。 -
previewListener
protected ChangeListener previewListenerChangeListenerのインスタンス。 -
propertyChangeListener
protected PropertyChangeListener propertyChangeListenerPropertyChangeListenerのインスタンス。
-
-
コンストラクタの詳細
-
BasicColorChooserUI
public BasicColorChooserUI()BasicColorChooserUIを構築します。
-
-
メソッドの詳細
-
createUI
public static ComponentUI createUI(JComponent c) BasicColorChooserUIの新しいインスタンスを返します。- パラメータ:
c- コンポーネント- 戻り値:
BasicColorChooserUIの新しいインスタンス
-
createDefaultChoosers
protected AbstractColorChooserPanel[] createDefaultChoosers()デフォルトの色選択の配列を返します。- 戻り値:
- デフォルトのカラー・チューザの配列
-
uninstallDefaultChoosers
protected void uninstallDefaultChoosers()デフォルトのカラー・チューザをアンインストールします。 -
installPreviewPanel
protected void installPreviewPanel()プレビュー・パネルをインストールします。 -
uninstallPreviewPanel
protected void uninstallPreviewPanel()UI委譲からインストールされているプレビュー・パネルを削除します。- 導入されたバージョン:
- 1.7
-
installDefaults
protected void installDefaults()デフォルトのプロパティをインストールします。 -
uninstallDefaults
protected void uninstallDefaults()既定のプロパティをアンインストールします。 -
installListeners
protected void installListeners()リスナーを登録します。 -
createPropertyChangeListener
protected PropertyChangeListener createPropertyChangeListener()PropertyChangeListenerのインスタンスを返します。- 戻り値:
PropertyChangeListenerのインスタンス
-
uninstallListeners
protected void uninstallListeners()リスナーを登録解除します。
-