public class MultiTreeUI extends TreeUI
TreeUIを組み合わせるために使用する多重UIです。
 このファイルは、AutoMultiによって自動生成されたものです。
| コンストラクタ | 説明 | 
|---|---|
| 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メソッドを呼び出します。 | 
getBaseline, getBaselineResizeBehaviorprotected Vector uis
createUIの呼出しによって作成され、getUIsメソッドを呼び出すことで取得できます。 最初の要素は、デフォルトのLook & Feelから得られた実際のUIであることが保証されます。 public ComponentUI[] getUIs()
public Rectangle getPathBounds(JTree a, TreePath b)
getPathBoundsメソッドを呼び出します。getPathBounds、クラスTreeUILookAndFeelから取得されたUIと等しいpublic TreePath getPathForRow(JTree a, int b)
getPathForRowメソッドを呼び出します。getPathForRow、クラスTreeUILookAndFeelから取得されたUIと等しいpublic int getRowForPath(JTree a, TreePath b)
getRowForPathメソッドを呼び出します。getRowForPath、クラスTreeUILookAndFeelから取得されたUIと等しいpublic int getRowCount(JTree a)
getRowCountメソッドを呼び出します。getRowCount、クラスTreeUILookAndFeelから取得されたUIと等しいpublic TreePath getClosestPathForLocation(JTree a, int b, int c)
getClosestPathForLocationメソッドを呼び出します。getClosestPathForLocation、クラスTreeUILookAndFeelから取得されたUIと等しいpublic boolean isEditing(JTree a)
isEditingメソッドを呼び出します。public boolean stopEditing(JTree a)
stopEditingメソッドを呼び出します。stopEditing、クラスTreeUILookAndFeelから取得されたUIと等しいpublic void cancelEditing(JTree a)
cancelEditingメソッドを呼び出します。cancelEditing、クラスTreeUIpublic void startEditingAtPath(JTree a, TreePath b)
startEditingAtPathメソッドを呼び出します。startEditingAtPath、クラスTreeUIpublic TreePath getEditingPath(JTree a)
getEditingPathメソッドを呼び出します。getEditingPath、クラスTreeUILookAndFeelから取得されたUIと等しいpublic boolean contains(JComponent a, int b, int c)
containsメソッドを呼び出します。contains、クラスComponentUIa - x,yの位置が照会されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントに共有されている場合は使用されることがあるb - 点のx座標c - 点のy座標LookAndFeelから取得されたUIと等しいJComponent.contains(int, int), Component.contains(int, int)public void update(Graphics a, JComponent b)
updateメソッドを呼び出します。update、クラスComponentUIa - ペイント対象の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メソッドを呼び出します。installUI、クラスComponentUIa - UI委譲がインストールされるコンポーネントComponentUI.uninstallUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()public void uninstallUI(JComponent a)
uninstallUIメソッドを呼び出します。uninstallUI、クラスComponentUIa - このUI委譲が削除されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるComponentUI.installUI(javax.swing.JComponent), JComponent.updateUI()public void paint(Graphics a, JComponent b)
paintメソッドを呼び出します。paint、クラスComponentUIa - ペイント対象のGraphicsコンテキストb - ペイントされるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるComponentUI.update(java.awt.Graphics, javax.swing.JComponent)public Dimension getPreferredSize(JComponent a)
getPreferredSizeメソッドを呼び出します。getPreferredSize、クラスComponentUIa - 適切なサイズが照会されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるLookAndFeelから取得されたUIと等しいJComponent.getPreferredSize(), LayoutManager.preferredLayoutSize(java.awt.Container)public Dimension getMinimumSize(JComponent a)
getMinimumSizeメソッドを呼び出します。getMinimumSize、クラスComponentUIa - 最小サイズが照会されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるLookAndFeelから取得されたUIと等しいJComponent.getMinimumSize(), LayoutManager.minimumLayoutSize(java.awt.Container), ComponentUI.getPreferredSize(javax.swing.JComponent)public Dimension getMaximumSize(JComponent a)
getMaximumSizeメソッドを呼び出します。getMaximumSize、クラスComponentUIa - 最大サイズが照会されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるLookAndFeelから取得されたUIと等しいJComponent.getMaximumSize(), LayoutManager2.maximumLayoutSize(java.awt.Container)public int getAccessibleChildrenCount(JComponent a)
getAccessibleChildrenCountメソッドを呼び出します。getAccessibleChildrenCount、クラスComponentUILookAndFeelから取得されたUIと等しいComponentUI.getAccessibleChild(javax.swing.JComponent, int)public Accessible getAccessibleChild(JComponent a, int b)
getAccessibleChildメソッドを呼び出します。getAccessibleChild、クラスComponentUIb - 子のゼロから始まるインデックスLookAndFeelから取得されたUIと等しいComponentUI.getAccessibleChildrenCount(javax.swing.JComponent) バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。 
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved.  Use is subject to license terms.  Documentation Redistribution Policyも参照してください。