|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.TreeUI
javax.swing.plaf.multi.MultiTreeUI
public class MultiTreeUI
TreeUI の結合に使用する多重 UI です。
このファイルは、AutoMulti によって自動生成されたものです。
| フィールドの概要 | |
|---|---|
protected Vector |
uis
実際の UI が格納されているベクタです。 |
| コンストラクタの概要 | |
|---|---|
MultiTreeUI()
|
|
| メソッドの概要 | |
|---|---|
void |
cancelEditing(JTree a)
このオブジェクトが扱う各 UI で cancelEditing メソッドを呼び出します。 |
boolean |
contains(JComponent a,
int b,
int c)
このオブジェクトが扱う各 UI で contains メソッドを呼び出します。 |
static ComponentUI |
createUI(JComponent a)
補助 LookAndFeel のどれかがこの UI をサポートする場合は、多重 UI インスタンスを返します。 |
Accessible |
getAccessibleChild(JComponent a,
int b)
このオブジェクトが扱う各 UI で getAccessibleChild メソッドを呼び出します。 |
int |
getAccessibleChildrenCount(JComponent a)
このオブジェクトが扱う各 UI で getAccessibleChildrenCount メソッドを呼び出します。 |
TreePath |
getClosestPathForLocation(JTree a,
int b,
int c)
このオブジェクトが扱う各 UI で getClosestPathForLocation メソッドを呼び出します。 |
TreePath |
getEditingPath(JTree a)
このオブジェクトが扱う各 UI で getEditingPath メソッドを呼び出します。 |
Dimension |
getMaximumSize(JComponent a)
このオブジェクトが扱う各 UI で getMaximumSize メソッドを呼び出します。 |
Dimension |
getMinimumSize(JComponent a)
このオブジェクトが扱う各 UI で getMinimumSize メソッドを呼び出します。 |
Rectangle |
getPathBounds(JTree a,
TreePath b)
このオブジェクトが扱う各 UI で getPathBounds メソッドを呼び出します。 |
TreePath |
getPathForRow(JTree a,
int b)
このオブジェクトが扱う各 UI で getPathForRow メソッドを呼び出します。 |
Dimension |
getPreferredSize(JComponent a)
このオブジェクトが扱う各 UI で getPreferredSize メソッドを呼び出します。 |
int |
getRowCount(JTree a)
このオブジェクトが扱う各 UI で getRowCount メソッドを呼び出します。 |
int |
getRowForPath(JTree a,
TreePath b)
このオブジェクトが扱う各 UI で getRowForPath メソッドを呼び出します。 |
ComponentUI[] |
getUIs()
この多重 UI に関連付けられた UI のリストを返します。 |
void |
installUI(JComponent a)
このオブジェクトが扱う各 UI で installUI メソッドを呼び出します。 |
boolean |
isEditing(JTree a)
このオブジェクトが扱う各 UI で isEditing メソッドを呼び出します。 |
void |
paint(Graphics a,
JComponent b)
このオブジェクトが扱う各 UI で paint メソッドを呼び出します。 |
void |
startEditingAtPath(JTree a,
TreePath b)
このオブジェクトが扱う各 UI で startEditingAtPath メソッドを呼び出します。 |
boolean |
stopEditing(JTree a)
このオブジェクトが扱う各 UI で stopEditing メソッドを呼び出します。 |
void |
uninstallUI(JComponent a)
このオブジェクトが扱う各 UI で uninstallUI メソッドを呼び出します。 |
void |
update(Graphics a,
JComponent b)
このオブジェクトが扱う各 UI で update メソッドを呼び出します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected Vector uis
createUI の呼び出しによって作成され、getUIs メソッドを呼び出すことで取得できます。最初の要素は、デフォルトの Look & Feel から得られた実際の UI であることが保証されます。
| コンストラクタの詳細 |
|---|
public MultiTreeUI()
| メソッドの詳細 |
|---|
public ComponentUI[] getUIs()
public Rectangle getPathBounds(JTree a,
TreePath b)
getPathBounds メソッドを呼び出します。
TreeUI 内の getPathBoundsLookAndFeel から取得される UI
public TreePath getPathForRow(JTree a,
int b)
getPathForRow メソッドを呼び出します。
TreeUI 内の getPathForRowLookAndFeel から取得される UI
public int getRowForPath(JTree a,
TreePath b)
getRowForPath メソッドを呼び出します。
TreeUI 内の getRowForPathLookAndFeel から取得される UIpublic int getRowCount(JTree a)
getRowCount メソッドを呼び出します。
TreeUI 内の getRowCountLookAndFeel から取得される UI
public TreePath getClosestPathForLocation(JTree a,
int b,
int c)
getClosestPathForLocation メソッドを呼び出します。
TreeUI 内の getClosestPathForLocationLookAndFeel から取得される UIpublic boolean isEditing(JTree a)
isEditing メソッドを呼び出します。
TreeUI 内の isEditingLookAndFeel から取得される UIpublic boolean stopEditing(JTree a)
stopEditing メソッドを呼び出します。
TreeUI 内の stopEditingLookAndFeel から取得される UIpublic void cancelEditing(JTree a)
cancelEditing メソッドを呼び出します。
TreeUI 内の cancelEditing
public void startEditingAtPath(JTree a,
TreePath b)
startEditingAtPath メソッドを呼び出します。
TreeUI 内の startEditingAtPathpublic TreePath getEditingPath(JTree a)
getEditingPath メソッドを呼び出します。
TreeUI 内の getEditingPathLookAndFeel から取得される UI
public boolean contains(JComponent a,
int b,
int c)
contains メソッドを呼び出します。
ComponentUI 内の containsa - x,y の位置が照会されるコンポーネント。この引数はしばしば無視されるが、UI オブジェクトが状態なしで複数のコンポーネントに共有される場合に使用されることがあるb - 点の x 座標c - 点の y 座標
LookAndFeel から取得される UIJComponent.contains(int, int),
Component.contains(int, int)
public void update(Graphics a,
JComponent b)
update メソッドを呼び出します。
ComponentUI 内の updatea - ペイント対象の Graphics コンテキストb - ペイントされるコンポーネント。この引数はしばしば無視されるが、UI オブジェクトが状態なしで複数のコンポーネントに共有される場合に使用されることがあるComponentUI.paint(java.awt.Graphics, javax.swing.JComponent),
JComponent.paintComponent(java.awt.Graphics)public static ComponentUI createUI(JComponent a)
LookAndFeel のどれかがこの UI をサポートする場合は、多重 UI インスタンスを返します。そうでない場合は、デフォルト LookAndFeel から取得された UI オブジェクトだけを返します。
public void installUI(JComponent a)
installUI メソッドを呼び出します。
ComponentUI 内の installUIa - UI 委譲がインストールされているコンポーネントComponentUI.uninstallUI(javax.swing.JComponent),
JComponent.setUI(javax.swing.plaf.ComponentUI),
JComponent.updateUI()public void uninstallUI(JComponent a)
uninstallUI メソッドを呼び出します。
ComponentUI 内の uninstallUIa - この UI 委譲が削除されるコンポーネント。この引数はしばしば無視されるが、UI オブジェクトが状態なしで複数のコンポーネントに共有される場合に使用されることがあるComponentUI.installUI(javax.swing.JComponent),
JComponent.updateUI()
public void paint(Graphics a,
JComponent b)
paint メソッドを呼び出します。
ComponentUI 内の painta - ペイント対象の Graphics コンテキストb - ペイントされるコンポーネント。この引数はしばしば無視されるが、UI オブジェクトが状態なしで複数のコンポーネントに共有される場合に使用されることがあるComponentUI.update(java.awt.Graphics, javax.swing.JComponent)public Dimension getPreferredSize(JComponent a)
getPreferredSize メソッドを呼び出します。
ComponentUI 内の getPreferredSizea - 適切なサイズが照会されるコンポーネント。この引数はしばしば無視されるが、UI オブジェクトが状態なしで複数のコンポーネントに共有される場合に使用されることがある
LookAndFeel から取得される UIJComponent.getPreferredSize(),
LayoutManager.preferredLayoutSize(java.awt.Container)public Dimension getMinimumSize(JComponent a)
getMinimumSize メソッドを呼び出します。
ComponentUI 内の getMinimumSizea - 最小サイズが照会されるコンポーネント。この引数はしばしば無視されるが、UI オブジェクトが状態なしで複数のコンポーネントに共有される場合に使用されることがある
LookAndFeel から取得される UIJComponent.getMinimumSize(),
LayoutManager.minimumLayoutSize(java.awt.Container),
ComponentUI.getPreferredSize(javax.swing.JComponent)public Dimension getMaximumSize(JComponent a)
getMaximumSize メソッドを呼び出します。
ComponentUI 内の getMaximumSizea - 最大サイズが照会されるコンポーネント。この引数はしばしば無視されるが、UI オブジェクトが状態なしで複数のコンポーネントに共有される場合に使用されることがある
LookAndFeel から取得される UIJComponent.getMaximumSize(),
LayoutManager2.maximumLayoutSize(java.awt.Container)public int getAccessibleChildrenCount(JComponent a)
getAccessibleChildrenCount メソッドを呼び出します。
ComponentUI 内の getAccessibleChildrenCountLookAndFeel から取得される UIComponentUI.getAccessibleChild(javax.swing.JComponent, int)
public Accessible getAccessibleChild(JComponent a,
int b)
getAccessibleChild メソッドを呼び出します。
ComponentUI 内の getAccessibleChildb - ゼロから始まる子のインデックス
LookAndFeel から取得される UIComponentUI.getAccessibleChildrenCount(javax.swing.JComponent)
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。