public class MultiTextUI extends TextUI
TextUIを組み合わせるために使用する多重UIです。
このファイルは、AutoMultiによって自動生成されたものです。
| コンストラクタ | 説明 |
|---|---|
MultiTextUI() |
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
boolean |
contains(JComponent a, int b, int c) |
このオブジェクトで処理されている各UIで
containsメソッドを呼び出します。 |
static ComponentUI |
createUI(JComponent a) |
補助的な
LookAndFeelのいずれかがこのUIをサポートする場合は、多重UIインスタンスを返します。 |
void |
damageRange(JTextComponent a, int b, int c) |
このオブジェクトで処理されている各UIで
damageRangeメソッドを呼び出します。 |
void |
damageRange(JTextComponent a, int b, int c, Position.Bias d, Position.Bias e) |
このオブジェクトで処理されている各UIで
damageRangeメソッドを呼び出します。 |
Accessible |
getAccessibleChild(JComponent a, int b) |
このオブジェクトで処理されている各UIで
getAccessibleChildメソッドを呼び出します。 |
int |
getAccessibleChildrenCount(JComponent a) |
このオブジェクトで処理されている各UIで
getAccessibleChildrenCountメソッドを呼び出します。 |
EditorKit |
getEditorKit(JTextComponent a) |
このオブジェクトで処理されている各UIで
getEditorKitメソッドを呼び出します。 |
Dimension |
getMaximumSize(JComponent a) |
このオブジェクトで処理されている各UIで
getMaximumSizeメソッドを呼び出します。 |
Dimension |
getMinimumSize(JComponent a) |
このオブジェクトで処理されている各UIで
getMinimumSizeメソッドを呼び出します。 |
int |
getNextVisualPositionFrom(JTextComponent a, int b, Position.Bias c, int d, Position.Bias[] e) |
このオブジェクトで処理されている各UIで
getNextVisualPositionFromメソッドを呼び出します。 |
Dimension |
getPreferredSize(JComponent a) |
このオブジェクトで処理されている各UIで
getPreferredSizeメソッドを呼び出します。 |
View |
getRootView(JTextComponent a) |
このオブジェクトで処理されている各UIで
getRootViewメソッドを呼び出します。 |
String |
getToolTipText(JTextComponent a, Point b) |
このオブジェクトで処理されている各UIで
getToolTipTextメソッドを呼び出します。 |
ComponentUI[] |
getUIs() |
この多重UIに関連付けられたUIのリストを返します。
|
void |
installUI(JComponent a) |
このオブジェクトで処理されている各UIで
installUIメソッドを呼び出します。 |
Rectangle |
modelToView(JTextComponent a, int b) |
このオブジェクトで処理されている各UIで
modelToViewメソッドを呼び出します。 |
Rectangle |
modelToView(JTextComponent a, int b, Position.Bias c) |
このオブジェクトで処理されている各UIで
modelToViewメソッドを呼び出します。 |
void |
paint(Graphics a, JComponent b) |
このオブジェクトで処理されている各UIで
paintメソッドを呼び出します。 |
void |
uninstallUI(JComponent a) |
このオブジェクトで処理されている各UIで
uninstallUIメソッドを呼び出します。 |
void |
update(Graphics a, JComponent b) |
このオブジェクトで処理されている各UIで
updateメソッドを呼び出します。 |
int |
viewToModel(JTextComponent a, Point b) |
このオブジェクトで処理されている各UIで
viewToModelメソッドを呼び出します。 |
int |
viewToModel(JTextComponent a, Point b, Position.Bias[] c) |
このオブジェクトで処理されている各UIで
viewToModelメソッドを呼び出します。 |
getBaseline, getBaselineResizeBehaviorprotected Vector uis
createUIの呼出しによって作成され、getUIsメソッドを呼び出すことで取得できます。 最初の要素は、デフォルトのLook & Feelから得られた実際のUIであることが保証されます。 public ComponentUI[] getUIs()
public String getToolTipText(JTextComponent a, Point b)
getToolTipTextメソッドを呼び出します。getToolTipText、クラスTextUILookAndFeelから取得されたUIと等しいJTextComponent.getToolTipText(java.awt.event.MouseEvent)public Rectangle modelToView(JTextComponent a, int b) throws BadLocationException
modelToViewメソッドを呼び出します。modelToView、クラスTextUIb - 変換対象のモデル内でのローカル位置>= 0LookAndFeelから取得されたUIと等しいBadLocationException - 指定された位置が、関連するドキュメント内の有効な位置を示さない場合public Rectangle modelToView(JTextComponent a, int b, Position.Bias c) throws BadLocationException
modelToViewメソッドを呼び出します。modelToView、クラスTextUIb - 変換対象のモデル内でのローカル位置>= 0LookAndFeelから取得されたUIと等しいBadLocationException - 指定された位置が、関連するドキュメント内の有効な位置を示さない場合public int viewToModel(JTextComponent a, Point b)
viewToModelメソッドを呼び出します。viewToModel、クラスTextUIb - 変換対象のビューの座標系での位置。 この場合の座標系は、マウス・イベントと同じ座標系であるべきである。 LookAndFeelから取得されたUIと等しいpublic int viewToModel(JTextComponent a, Point b, Position.Bias[] c)
viewToModelメソッドを呼び出します。viewToModel、クラスTextUIb - 変換対象のビューの座標系での位置。 この場合の座標系は、マウス・イベントと同じ座標系であるべきである。 c - 指定された点がモデル内の前の文字と次の文字のどちらに近いのかを示すため、このメソッドによって書き込まれるLookAndFeelから取得されたUIと等しいpublic int getNextVisualPositionFrom(JTextComponent a, int b, Position.Bias c, int d, Position.Bias[] e) throws BadLocationException
getNextVisualPositionFromメソッドを呼び出します。getNextVisualPositionFrom、クラスTextUIa - このUIがインストールされているテキスト・コンポーネントb - 変換対象の位置>= 0c - 位置のバイアスd - 現在位置からの方向。これは、キーボードに通常存在する矢印キーと見なすことができます。 SwingConstants.WEST、SwingConstants.EAST、SwingConstants.NORTHまたはSwingConstants.SOUTHの場合があります e - 返される位置のバイアスを含む配列LookAndFeelから取得されたUIと等しいBadLocationExceptionpublic void damageRange(JTextComponent a, int b, int c)
damageRangeメソッドを呼び出します。damageRange、クラスTextUIb - 範囲の始点>= 0c - 範囲の終点>= p0public void damageRange(JTextComponent a, int b, int c, Position.Bias d, Position.Bias e)
damageRangeメソッドを呼び出します。damageRange、クラスTextUIb - 範囲の始点>= 0c - 範囲の終点>= p0public EditorKit getEditorKit(JTextComponent a)
getEditorKitメソッドを呼び出します。getEditorKit、クラスTextUILookAndFeelから取得されたUIと等しいpublic View getRootView(JTextComponent a)
getRootViewメソッドを呼び出します。getRootView、クラスTextUILookAndFeelから取得された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も参照してください。