JavaTM 2
Platform
Std. Ed. v1.4.0

クラス
java.awt.Rectangle の使用

Rectangle を使用しているパッケージ
java.awt ユーザインタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。 
java.awt.event AWT コンポーネントによってトリガされる各種のイベントを処理するためのインタフェース、およびクラスを提供します。 
java.awt.font フォント関連のクラスおよびインタフェースを提供します。 
java.awt.geom 2 次元ジオメトリに関連するオブジェクトで処理を定義および実行する Java 2D クラスを提供します。 
java.awt.im インプットメソッドフレームワークのためのクラスおよびインタフェースを提供します。 
java.awt.im.spi あらゆる Java 実行時環境で使用できるインプットメソッドの開発を可能にするインタフェースを提供します。 
java.awt.image イメージの作成や変更を行うクラスを提供します。 
java.beans Bean (JavaBeansTM アーキテクチャに基づいたコンポーネント) の開発に関連するクラスが含まれています。 
javax.accessibility コンポーネントにアクセスできるユーザ補助機能とユーザインタフェースコンポーネント間の規則を定義します。 
javax.imageio Java Image I/O API の基本パッケージです。  
javax.swing すべてのプラットフォームで可能なかぎり同じように機能する、「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
javax.swing.border Swing コンポーネントの周囲に各種のボーダを描画するための、クラスおよびインタフェースを提供します。 
javax.swing.plaf 1 つのインタフェースおよび多くの抽象クラスを提供しており、Swing は、プラグイン可能な Look & Feel 機能を実現するためにこれらのクラスを利用します。 
javax.swing.plaf.basic 基本 Look & Feel に従って作成されたユーザインタフェースオブジェクトを提供します。 
javax.swing.plaf.metal デフォルトの Look & Feel である Java Look & Feel (コード名は Metal) に従って作成されたユーザインタフェースオブジェクトを提供します。  
javax.swing.plaf.multi 2 つ以上の Look & Feel を結合するユーザインタフェースオブジェクトを提供します。 
javax.swing.table javax.swing.JTable を処理するためのクラスおよびインタフェースを提供します。 
javax.swing.text 編集可能/編集不能テキストコンポーネントを処理するクラスとインタフェースを提供します。 
javax.swing.text.html HTML テキストエディタを作成するための HTMLEditorKit クラスとサポートクラスを提供します。  
javax.swing.tree javax.swing.JTree を処理するためのクラスとインタフェースを提供します。 
 

java.awt での Rectangle の使用
 

Rectangle として宣言されている java.awt のフィールド
protected  Rectangle Polygon.bounds
          多角形の境界です。
 

Rectangle を返す java.awt のメソッド
 Rectangle Polygon.getBounds()
          この Polygon のバウンディングボックスを返します。
 Rectangle Polygon.getBoundingBox()
          推奨されていません。 JDK バージョン 1.1 以降は、getBounds() を使用
 Rectangle Component.AccessibleAWTComponent.getBounds()
          オブジェクトの境界を、Rectangle オブジェクトの形式で返します。
abstract  Rectangle Graphics.getClipBounds()
          現在のクリッピング領域の境界の矩形を返します。
 Rectangle Graphics.getClipRect()
          推奨されていません。 JDK バージョン 1.1 以降は、getClipBounds() に置き換えられました。
 Rectangle Graphics.getClipBounds(Rectangle r)
          現在のクリッピング領域の境界の矩形を返します。
 Rectangle Rectangle.getBounds()
          この Rectangle の境界の Rectangle 領域を返します。
 Rectangle Rectangle.intersection(Rectangle r)
          この Rectangle と指定された Rectangle との共通部分を算出します。
 Rectangle Rectangle.union(Rectangle r)
          この Rectangle と指定された Rectangle との結合部分を算出します。
 Rectangle Shape.getBounds()
          Shape を完全に囲む整数型の Rectangle を返します。
 Rectangle MenuComponent.AccessibleAWTMenuComponent.getBounds()
          オブジェクトの境界を、Rectangle オブジェクトの形式で返します。
 Rectangle Frame.getMaximizedBounds()
          このフレームの最大化された境界を返します。
 Rectangle Component.getBounds()
          このコンポーネントの境界を Rectangle オブジェクトとして返します。
 Rectangle Component.bounds()
          推奨されていません。 JDK バージョン 1.1 以降は、getBounds() を使用
 Rectangle Component.getBounds(Rectangle rv)
          このコンポーネントの境界を「戻り値」rv に格納し、rv を返します。
abstract  Rectangle GraphicsConfiguration.getBounds()
          デバイスの座標の GraphicsConfiguration の境界を返します。
 Rectangle GraphicsEnvironment.getMaximumWindowBounds()
          中央に配置された Windows の最大の境界を返します。
 Rectangle TextComponent.AccessibleAWTTextComponent.getCharacterBounds(int i)
          文字列に対する指定されたインデックスで文字のバウンディングボックスを決定します。
 Rectangle List.AccessibleAWTList.AccessibleAWTListChild.getBounds()
          オブジェクトの境界を、Rectangle オブジェクトの形式で返します。
 

Rectangle 型のパラメータを持つ java.awt のメソッド
 void Component.AccessibleAWTComponent.setBounds(Rectangle r)
          オブジェクトの境界を、Rectangle オブジェクトの形式で設定します。
abstract  boolean Graphics2D.hit(Rectangle rect, Shape s, boolean onStroke)
          指定された Shape が指定された Rectangle (デバイス空間にある) と交差するかどうかを判定します。
 Rectangle Graphics.getClipBounds(Rectangle r)
          現在のクリッピング領域の境界の矩形を返します。
 PaintContext SystemColor.createContext(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints hints)
          ソリッドカラーパターンを作成するために使用される PaintContext を作成して返します。
 PaintContext Color.createContext(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints hints)
          ソリッドカラーパターンを生成するために使用される PaintContext を生成して返します。
 PaintContext Paint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
          カラーパターンを生成するために使用する PaintContext を作成して返します。
 void Rectangle.setBounds(Rectangle r)
          この Rectangle の境界の Rectangle 領域を、指定された Rectangle に一致するように設定します。
 boolean Rectangle.contains(Rectangle r)
          この Rectangle が、指定された Rectangle を完全に含むかどうかを判定します。
 boolean Rectangle.intersects(Rectangle r)
          この Rectangle と指定された Rectangle とが交差するかどうかを判定します。
 Rectangle Rectangle.intersection(Rectangle r)
          この Rectangle と指定された Rectangle との共通部分を算出します。
 Rectangle Rectangle.union(Rectangle r)
          この Rectangle と指定された Rectangle との結合部分を算出します。
 void Rectangle.add(Rectangle r)
          Rectangle をこの Rectangle に追加します。
 void MenuComponent.AccessibleAWTMenuComponent.setBounds(Rectangle r)
          オブジェクトの境界を、Rectangle オブジェクトの形式で設定します。
 void Frame.setMaximizedBounds(Rectangle bounds)
          このフレームの最大化された境界を設定します。
 void Component.setBounds(Rectangle r)
          新しい境界の矩形 r に適合するようにこのコンポーネントを移動し、サイズ変更します。
 Rectangle Component.getBounds(Rectangle rv)
          このコンポーネントの境界を「戻り値」rv に格納し、rv を返します。
 PaintContext TexturePaint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
          カラーパターンを生成するために使用されるコンテキストを作成して返します。
 BufferedImage Robot.createScreenCapture(Rectangle screenRect)
          スクリーンから読み取るピクセルイメージを作成します。
 void List.AccessibleAWTList.AccessibleAWTListChild.setBounds(Rectangle r)
          オブジェクトの境界を、Rectangle オブジェクトの形式で設定します。
protected  void GridBagLayout.adjustForGravity(GridBagConstraints constraints, Rectangle r)
          x、y、幅、高さフィールドを、制約ジオメトリおよびパッドに応じて正しい値に調整します。
protected  void GridBagLayout.AdjustForGravity(GridBagConstraints constraints, Rectangle r)
          このメソッドは下位互換性のためだけに提供されます。
 PaintContext GradientPaint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
          カラーパターンを生成するために使用されるコンテキストを作成して返します。
 

Rectangle 型のパラメータを持つ java.awt のコンストラクタ
Rectangle(Rectangle r)
          指定された Rectangle の値に一致するように初期化された新しい Rectangle を構築します。
 

java.awt.event での Rectangle の使用
 

Rectangle を返す java.awt.event のメソッド
 Rectangle PaintEvent.getUpdateRect()
          このイベントに応答して再描画される必要のある領域を表す矩形を返します。
 

Rectangle 型のパラメータを持つ java.awt.event のメソッド
 void PaintEvent.setUpdateRect(Rectangle updateRect)
          このイベントに応答して再描画される必要のある領域を表す矩形を設定します。
 

Rectangle 型のパラメータを持つ java.awt.event のコンストラクタ
PaintEvent(Component source, int id, Rectangle updateRect)
          指定された発生元のコンポーネントとタイプで、PaintEvent オブジェクトを構築します。
 

java.awt.font での Rectangle の使用
 

Rectangle を返す java.awt.font のメソッド
 Rectangle GlyphVector.getPixelBounds(FontRenderContext renderFRC, float x, float y)
          指定された位置で指定された FontRenderContext を使って Graphics 内にこの GlyphVector が描画されるときのインデックスの位置にあるグリフのピクセル境界を返します。
 Rectangle GlyphVector.getGlyphPixelBounds(int index, FontRenderContext renderFRC, float x, float y)
          指定された位置で指定された FontRenderContext を使って Graphics 内にこの GlyphVector が描画されるときのインデックスの位置にあるグリフのピクセル境界を返します。
 

java.awt.geom での Rectangle の使用
 

Rectangle を返す java.awt.geom のメソッド
 Rectangle GeneralPath.getBounds()
          パスのバウンディングボックスを返します。
 Rectangle RectangularShape.getBounds()
          Shape のバウンディングボックスを返します。
 Rectangle QuadCurve2D.getBounds()
          この QuadCurve2D のバウンディングボックスを返します。
 Rectangle Line2D.getBounds()
          この Line2D のバウンディングボックスを返します。
 Rectangle CubicCurve2D.getBounds()
          形状のバウンディングボックスを返します。
 Rectangle Area.getBounds()
          この Area を完全に囲むバウンディング Rectangle を返します。
 

java.awt.im での Rectangle の使用
 

Rectangle を返す java.awt.im のメソッド
 Rectangle InputMethodRequests.getTextLocation(TextHitInfo offset)
          現在の変換テキストでの指定されたオフセットの位置、または確定テキストでの選択範囲の位置を返します。
 

java.awt.im.spi での Rectangle の使用
 

Rectangle 型のパラメータを持つ java.awt.im.spi のメソッド
 void InputMethod.notifyClientWindowChange(Rectangle bounds)
          クライアントのウィンドウ位置または状態の変更を、このインプットメソッドに通知します。
 

java.awt.image での Rectangle の使用
 

Rectangle を返す java.awt.image のメソッド
 Rectangle Raster.getBounds()
          この Raster の境界の Rectangle を返します。
 

Rectangle 型のパラメータを持つ java.awt.image のメソッド
 Raster BufferedImage.getData(Rectangle rect)
          BufferedImage の任意の領域を計算して返します。
 Raster RenderedImage.getData(Rectangle rect)
          RenderedImage の任意の領域を計算して返します。
 WritableRaster Raster.createCompatibleWritableRaster(Rectangle rect)
          rect によって指定される位置 (minX, minY) とサイズ (width, height)、新しい SampleModel、および初期化された新しい DataBuffer を持ち、互換性がある WritableRaster を生成します。
 

Rectangle 型のパラメータを持つ java.awt.image のコンストラクタ
WritableRaster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, WritableRaster parent)
          指定された SampleModel、DataBuffer、および親を持つ WritableRaster を構築します。
Raster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, Raster parent)
          指定された SampleModel、DataBuffer、および親を持つ Raster を構築します。
 

java.beans での Rectangle の使用
 

Rectangle 型のパラメータを持つ java.beans のメソッド
 void PropertyEditorSupport.paintValue(Graphics gfx, Rectangle box)
          値の表現を画面の指定された領域に描画します。
 void PropertyEditor.paintValue(Graphics gfx, Rectangle box)
          値の表現を画面の指定された領域に描画します。
 

javax.accessibility での Rectangle の使用
 

Rectangle を返す javax.accessibility のメソッド
 Rectangle AccessibleText.getCharacterBounds(int i)
          指定された文字列のインデックスの位置にある文字のバウンディングボックスを判定します。
 Rectangle AccessibleComponent.getBounds()
          オブジェクトの境界を、Rectangle オブジェクトの形式で取得します。
 

Rectangle 型のパラメータを持つ javax.accessibility のメソッド
 void AccessibleComponent.setBounds(Rectangle r)
          オブジェクトの境界を、Rectangle オブジェクトの形式で設定します。
 

javax.imageio での Rectangle の使用
 

Rectangle として宣言されている javax.imageio のフィールド
protected  Rectangle IIOParam.sourceRegion
          ソース領域、または何も設定されない場合は null となリます。
 

Rectangle を返す javax.imageio のメソッド
protected static Rectangle ImageReader.getSourceRegion(ImageReadParam param, int srcWidth, int srcHeight)
          指定された ImageReadParam のソース領域とサブサンプリングの座標の設定を考慮して、リーダが読み取るソースイメージの領域を計算するために使用するユーティリティメソッドです。
 Rectangle IIOParam.getSourceRegion()
          使用するソース領域を返します。
 

Rectangle 型のパラメータを持つ javax.imageio のメソッド
 void ImageWriter.prepareReplacePixels(int imageIndex, Rectangle region)
          replacePixels メソッドの一連の呼び出しを処理するために、書き込み側を準備します。
protected static void ImageReader.computeRegions(ImageReadParam param, int srcWidth, int srcHeight, BufferedImage image, Rectangle srcRegion, Rectangle destRegion)
          ソースイメージの幅と高さ、オプションのデスティネーションイメージ、およびオプションの ImageReadParam を考慮して、対象のソース領域および対象のデスティネーション領域を計算します。
protected static void ImageReader.computeRegions(ImageReadParam param, int srcWidth, int srcHeight, BufferedImage image, Rectangle srcRegion, Rectangle destRegion)
          ソースイメージの幅と高さ、オプションのデスティネーションイメージ、およびオプションの ImageReadParam を考慮して、対象のソース領域および対象のデスティネーション領域を計算します。
 void IIOParam.setSourceRegion(Rectangle sourceRegion)
          処理対象のソース領域を設定します。
 

javax.swing での Rectangle の使用
 

Rectangle を返す javax.swing のメソッド
 Rectangle JTree.getPathBounds(TreePath path)
          指定されたノードが描画される Rectangle を返します。
 Rectangle JTree.getRowBounds(int row)
          指定された行にあるノードが描画される Rectangle を返します。
 Rectangle JTree.AccessibleJTree.AccessibleJTreeNode.getBounds()
           
 Rectangle JTable.getCellRect(int row, int column, boolean includeSpacing)
          rowcolumn が交差する位置のセルの矩形を返します。
 Rectangle JTable.AccessibleJTable.AccessibleJTableCell.getBounds()
           
 Rectangle JLabel.AccessibleJLabel.getCharacterBounds(int i)
          指定された文字列のインデックスの位置にある文字のバウンディングボックスを判定します。
 Rectangle JList.getCellBounds(int index0, int index1)
          JList 座標で指定された項目範囲の境界を返します。
 Rectangle JList.AccessibleJList.AccessibleJListChild.getBounds()
           
protected  Rectangle DefaultDesktopManager.getBoundsForIconOf(JInternalFrame f)
          iconifyFrame() のコードはこのメソッドを呼び出して、desktopIcon の適切な境界を指定します。
protected  Rectangle DefaultDesktopManager.getPreviousBounds(JInternalFrame f)
          コンポーネントの通常の境界をコンポーネント最大化の直前に返します。
 Rectangle JInternalFrame.getNormalBounds()
          JInternalFrame が最大化の状態ではない場合、getBounds() を返します。
 Rectangle JViewport.getViewRect()
          起点が getViewPosition、サイズが getExtentSize である矩形を返します。
 Rectangle ScrollPaneLayout.getViewportBorderBounds(JScrollPane scrollpane)
          推奨されていません。 JDK バージョン Swing1.1 以降は、JScrollPane.getViewportBorderBounds() に置き換えられました。
 Rectangle AbstractButton.AccessibleAbstractButton.getCharacterBounds(int i)
          文字列内のインデックス位置の文字のバウンディングボックスを返します。
 Rectangle JScrollPane.getViewportBorderBounds()
          ビューポートのボーダの境界を返します。
 Rectangle JTabbedPane.getBoundsAt(int index)
          index のタブの境界を返します。
 Rectangle DebugGraphics.getClipBounds()
          Graphics.getClipBounds をオーバーライドします。
 Rectangle RepaintManager.getDirtyRegion(JComponent aComponent)
          コンポーネントの現在のダーティーリージョンを返します。
static Rectangle SwingUtilities.getLocalBounds(Component aComponent)
          aComponent コンポーネントの矩形 (0,0,bounds.width,bounds.height) を返します。
static Rectangle SwingUtilities.convertRectangle(Component source, Rectangle aRectangle, Component destination)
          source 座標体系の aRectangledestination 座標体系に変換します。
static Rectangle SwingUtilities.computeIntersection(int x, int y, int width, int height, Rectangle dest)
          新しい矩形を割り当てずに、2 つの矩形の共通部分を計算するのに便利です。
static Rectangle SwingUtilities.computeUnion(int x, int y, int width, int height, Rectangle dest)
          新しい矩形 dest を割り当てずに、2 つの矩形の和集合を計算するのに便利です。
static Rectangle[] SwingUtilities.computeDifference(Rectangle rectA, Rectangle rectB)
          rectA 内で rectB とオーバーラップしない領域を表現する矩形の配列を返すのに便利です。
static Rectangle SwingUtilities.calculateInnerArea(JComponent c, Rectangle r)
          r 内で指定されたコンポーネントの内部ペイント領域の位置とサイズを格納し、r を返します。
 Rectangle JComponent.getBounds(Rectangle rv)
          このコンポーネントの境界を「戻り値」rv に格納し、rv を返します。
 Rectangle JComponent.getVisibleRect()
          Component の「可視矩形」を返します。
 

Rectangle 型のパラメータを持つ javax.swing のメソッド
 int JTree.getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)
          スクロール時に増分する量を返します。
 int JTree.getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)
          「ブロック」増分値の量を返します。
 void JTree.AccessibleJTree.AccessibleJTreeNode.setBounds(Rectangle r)
           
 int JTable.getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)
          新しい 1 行または 1 列を完全に表示するスクロール増分値を (方向に基づいて) ピクセル単位で返します。
 int JTable.getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)
          このテーブルの方向によって visibleRect.height または visibleRect.width を返します。
 void JTable.AccessibleJTable.AccessibleJTableCell.setBounds(Rectangle r)
           
 int JTextArea.getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)
          論理行または列を表示するコンポーネントは、方向の値に基づいて、新しい行または列を完全に表示するスクロール増分値を計算します。
 int JList.getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)
          前または次の行 (垂直スクロール)、または文字 (水平スクロール) を表示するためにスクロールする距離を返します。
 int JList.getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)
          次または前のブロックを表示するためにスクロールする距離を返します。
 void JList.AccessibleJList.AccessibleJListChild.setBounds(Rectangle r)
           
 void DefaultListCellRenderer.repaint(Rectangle r)
          パフォーマンス上の理由でオーバーライドされます。
 void CellRendererPane.paintComponent(Graphics g, Component c, Container p, Rectangle r)
          矩形の x、y、幅、高さの各フィールドを使って this.paintComponent() を呼び出します。
protected  void DefaultDesktopManager.setPreviousBounds(JInternalFrame f, Rectangle r)
          コンポーネントの境界を、最大表示呼び出しの直前に格納します。
 void JInternalFrame.setNormalBounds(Rectangle r)
          この内部フレームの通常の境界、つまりこの内部フレームが最大化の状態から復元される境界を設定します。
 void JViewport.scrollRectToVisible(Rectangle contentRect)
          ビュー内の Rectangle が可視になるようにビューをスクロールします。
protected  boolean JViewport.computeBlit(int dx, int dy, Point blitFrom, Point blitTo, Dimension blitSize, Rectangle blitPaint)
          Blit のパラメータを計算します。
 void JTextField.scrollRectToVisible(Rectangle r)
          フィールドを左または右にスクロールします。
 int Scrollable.getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)
          論理行または論理列を表示するコンポーネントは、orientation の値によって、新しい 1 行または 1 列を完全にエクスポーズするスクロール増分値を計算します。
 int Scrollable.getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)
          論理行または論理列を表示するコンポーネントは、orientation の値によって、1 ブロック分の行または列を完全にエクスポーズするスクロール増分値を計算します。
static boolean SwingUtilities.isRectangleContainingRectangle(Rectangle a, Rectangle b)
          ab を保持する場合に true を返します。
static boolean SwingUtilities.isRectangleContainingRectangle(Rectangle a, Rectangle b)
          ab を保持する場合に true を返します。
static Rectangle SwingUtilities.convertRectangle(Component source, Rectangle aRectangle, Component destination)
          source 座標体系の aRectangledestination 座標体系に変換します。
static Rectangle SwingUtilities.computeIntersection(int x, int y, int width, int height, Rectangle dest)
          新しい矩形を割り当てずに、2 つの矩形の共通部分を計算するのに便利です。
static Rectangle SwingUtilities.computeUnion(int x, int y, int width, int height, Rectangle dest)
          新しい矩形 dest を割り当てずに、2 つの矩形の和集合を計算するのに便利です。
static Rectangle[] SwingUtilities.computeDifference(Rectangle rectA, Rectangle rectB)
          rectA 内で rectB とオーバーラップしない領域を表現する矩形の配列を返すのに便利です。
static Rectangle[] SwingUtilities.computeDifference(Rectangle rectA, Rectangle rectB)
          rectA 内で rectB とオーバーラップしない領域を表現する矩形の配列を返すのに便利です。
static String SwingUtilities.layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)
          アイコンの起点位置、テキストのベースラインの起点位置、および可能であればクリップしたバージョンの複合ラベル文字列を計算して返します。
static String SwingUtilities.layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)
          アイコンの起点位置、テキストのベースラインの起点位置、および可能であればクリップしたバージョンの複合ラベル文字列を計算して返します。
static String SwingUtilities.layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)
          アイコンの起点位置、テキストのベースラインの起点位置、および可能であればクリップしたバージョンの複合ラベル文字列を計算して返します。
static String SwingUtilities.layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)
          アイコンの起点位置、テキストのベースラインの起点位置、および可能であればクリップしたバージョンの複合ラベル文字列を計算して返します。
static String SwingUtilities.layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)
          アイコンの起点位置、テキストのベースラインの起点位置、および可能であればクリップしたバージョンの複合ラベル文字列を計算して返します。
static String SwingUtilities.layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)
          アイコンの起点位置、テキストのベースラインの起点位置、および可能であればクリップしたバージョンの複合ラベル文字列を計算して返します。
static void SwingUtilities.paintComponent(Graphics g, Component c, Container p, Rectangle r)
          Rectangle オブジェクトを指定して、指定された矩形内の任意のグラフィックス g でコンポーネント c をペイントします。
static Rectangle SwingUtilities.calculateInnerArea(JComponent c, Rectangle r)
          r 内で指定されたコンポーネントの内部ペイント領域の位置とサイズを格納し、r を返します。
 void JComponent.scrollRectToVisible(Rectangle aRect)
          scrollRectToVisible() メッセージを JComponent の親に転送します。
 Rectangle JComponent.getBounds(Rectangle rv)
          このコンポーネントの境界を「戻り値」rv に格納し、rv を返します。
 void JComponent.computeVisibleRect(Rectangle visibleRect)
          Component の「可視矩形」を返します。
 void JComponent.repaint(Rectangle r)
          コンポーネントが表示されている場合に、指定された領域をダーティーリージョンリストに追加します。
 void JComponent.paintImmediately(Rectangle r)
          指定された領域をすぐにペイントします。
 

javax.swing.border での Rectangle の使用
 

Rectangle を返す javax.swing.border のメソッド
 Rectangle AbstractBorder.getInteriorRectangle(Component c, int x, int y, int width, int height)
          静的メソッドを呼び出す簡易メソッドです。
static Rectangle AbstractBorder.getInteriorRectangle(Component c, Border b, int x, int y, int width, int height)
          ボーダのインセットから引数の値を減算して矩形を返します。
 

javax.swing.plaf での Rectangle の使用
 

Rectangle を返す javax.swing.plaf のメソッド
abstract  Rectangle TreeUI.getPathBounds(JTree tree, TreePath path)
          パスの最後の項目が描画されるラベル部分を囲む Rectangle を返します。
abstract  Rectangle ListUI.getCellBounds(JList list, int index1, int index2)
          指定された項目の JList 座標における境界を返します。
abstract  Rectangle TextUI.modelToView(JTextComponent t, int pos)
          モデル内の指定された位置を、ビュー座標体系内の場所に変換します。
abstract  Rectangle TextUI.modelToView(JTextComponent t, int pos, Position.Bias bias)
          モデル内の指定された位置を、ビュー座標体系内の場所に変換します。
abstract  Rectangle TabbedPaneUI.getTabBounds(JTabbedPane pane, int index)
           
 

javax.swing.plaf.basic での Rectangle の使用
 

javax.swing.plaf.basic での Rectangle のサブクラス
static class BasicTextUI.BasicCaret
           
 

Rectangle として宣言されている javax.swing.plaf.basic のフィールド
protected  Rectangle BasicSliderUI.focusRect
           
protected  Rectangle BasicSliderUI.contentRect
           
protected  Rectangle BasicSliderUI.labelRect
           
protected  Rectangle BasicSliderUI.tickRect
           
protected  Rectangle BasicSliderUI.trackRect
           
protected  Rectangle BasicSliderUI.thumbRect
           
protected  Rectangle BasicScrollBarUI.thumbRect
           
protected  Rectangle BasicScrollBarUI.trackRect
           
protected  Rectangle[] BasicTabbedPaneUI.rects
           
protected  Rectangle BasicTabbedPaneUI.calcRect
          実行中に多くの新規 Rectangles が構築されるのを防ぐため、一般のレイアウト計算に使用される矩形です。
 

Rectangle を返す javax.swing.plaf.basic のメソッド
 Rectangle BasicTreeUI.NodeDimensionsHandler.getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle size)
          特定のノードのサイズを取得します。
 Rectangle BasicTreeUI.getPathBounds(JTree tree, TreePath path)
          パスの最後の項目が描画されるラベル部分を囲む Rectangle を返します。
protected  Rectangle BasicProgressBarUI.getBox(Rectangle r)
          現在のアニメーションインデックスのために r でペイントされ、r を返すバウンシングボックスの位置とサイズを格納します。
 Rectangle BasicListUI.getCellBounds(JList list, int index1, int index2)
           
protected  Rectangle BasicComboPopup.computePopupBounds(int px, int py, int pw, int ph)
           
protected  Rectangle BasicComboBoxUI.rectangleForCurrentValue()
          現在選択されている項目を描画するために予約されている領域を返します。
protected  Rectangle BasicScrollBarUI.getThumbBounds()
          サムの現在のサイズおよび位置を返します。
protected  Rectangle BasicScrollBarUI.getTrackBounds()
          トラックの現在の境界を返します。
protected  Rectangle BasicTextUI.getVisibleEditorRect()
          ルート View に指定する割り当てを取得します。
 Rectangle BasicTextUI.modelToView(JTextComponent tc, int pos)
          モデル内の指定された位置を、ビュー座標体系内の場所に変換します。
 Rectangle BasicTextUI.modelToView(JTextComponent tc, int pos, Position.Bias bias)
          モデル内の指定された位置を、ビュー座標体系内の場所に変換します。
 Rectangle BasicTabbedPaneUI.getTabBounds(JTabbedPane pane, int i)
          指定されたタブインデックスの境界を返します。
protected  Rectangle BasicTabbedPaneUI.getTabBounds(int tabIndex, Rectangle dest)
          JTabbedPane コンポーネントの座標空間内の、指定されたタブの境界を返します。
 

Rectangle 型のパラメータを持つ javax.swing.plaf.basic のメソッド
 Rectangle BasicTreeUI.NodeDimensionsHandler.getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle size)
          特定のノードのサイズを取得します。
protected  void BasicTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
          脚の水平部分をペイントします。
protected  void BasicTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
          脚の水平部分をペイントします。
protected  void BasicTreeUI.paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)
          脚の垂直部分をペイントします。
protected  void BasicTreeUI.paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
          行の展開 (切り替え) 部分をペイントします。
protected  void BasicTreeUI.paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
          行の展開 (切り替え) 部分をペイントします。
protected  void BasicTreeUI.paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
          行のレンダリング部分をペイントします。
protected  void BasicTreeUI.paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
          行のレンダリング部分をペイントします。
protected  void BasicSliderUI.paintMinorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
           
protected  void BasicSliderUI.paintMajorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
           
protected  void BasicSliderUI.paintMinorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
           
protected  void BasicSliderUI.paintMajorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
           
protected  Rectangle BasicProgressBarUI.getBox(Rectangle r)
          現在のアニメーションインデックスのために r でペイントされ、r を返すバウンシングボックスの位置とサイズを格納します。
protected  void BasicListUI.paintCell(Graphics g, int row, Rectangle rowBounds, ListCellRenderer cellRenderer, ListModel dataModel, ListSelectionModel selModel, int leadIndex)
          List のセルを 1 つペイントします。
 void BasicComboBoxUI.paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus)
          現在選択されている項目を描画します。
 void BasicComboBoxUI.paintCurrentValueBackground(Graphics g, Rectangle bounds, boolean hasFocus)
          現在選択されている項目のバックグラウンドを描画します。
protected  void BasicRadioButtonUI.paintFocus(Graphics g, Rectangle textRect, Dimension size)
           
protected  void BasicToggleButtonUI.paintIcon(Graphics g, AbstractButton b, Rectangle iconRect)
           
protected  void BasicButtonUI.paintIcon(Graphics g, JComponent c, Rectangle iconRect)
           
protected  void BasicButtonUI.paintText(Graphics g, JComponent c, Rectangle textRect, String text)
          Java 2 プラットフォーム v 1.4 以降では、このメソッドを使用したり、オーバーライドしたりしないでください。
protected  void BasicButtonUI.paintText(Graphics g, AbstractButton b, Rectangle textRect, String text)
          現在のボタンのテキストを描画するメソッドです。
protected  void BasicButtonUI.paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
           
protected  void BasicButtonUI.paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
           
protected  void BasicButtonUI.paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
           
protected  void BasicScrollBarUI.paintTrack(Graphics g, JComponent c, Rectangle trackBounds)
           
protected  void BasicScrollBarUI.paintThumb(Graphics g, JComponent c, Rectangle thumbBounds)
           
protected  void BasicTabbedPaneUI.paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect)
           
protected  void BasicTabbedPaneUI.paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect)
           
protected  void BasicTabbedPaneUI.paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect)
           
protected  void BasicTabbedPaneUI.layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
protected  void BasicTabbedPaneUI.layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
protected  void BasicTabbedPaneUI.layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
protected  void BasicTabbedPaneUI.paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected)
           
protected  void BasicTabbedPaneUI.paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected)
           
protected  void BasicTabbedPaneUI.paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
protected  void BasicTabbedPaneUI.paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
protected  void BasicTabbedPaneUI.paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
protected  Rectangle BasicTabbedPaneUI.getTabBounds(int tabIndex, Rectangle dest)
          JTabbedPane コンポーネントの座標空間内の、指定されたタブの境界を返します。
protected  void BasicMenuItemUI.paintText(Graphics g, JMenuItem menuItem, Rectangle textRect, String text)
          現在のメニュー項目のテキストを描画します。
protected  String BasicLabelUI.layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)
          SwingUtilities.layoutCompoundLabel() への呼び出しを転送します。
protected  String BasicLabelUI.layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)
          SwingUtilities.layoutCompoundLabel() への呼び出しを転送します。
protected  String BasicLabelUI.layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)
          SwingUtilities.layoutCompoundLabel() への呼び出しを転送します。
 

javax.swing.plaf.metal での Rectangle の使用
 

Rectangle 型のパラメータを持つ javax.swing.plaf.metal のメソッド
protected  void MetalTreeUI.paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)
           
protected  void MetalTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
           
protected  void MetalTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
           
protected  void MetalSliderUI.paintMinorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
           
protected  void MetalSliderUI.paintMajorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
           
protected  void MetalSliderUI.paintMinorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
           
protected  void MetalSliderUI.paintMajorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
           
protected  void MetalToggleButtonUI.paintText(Graphics g, JComponent c, Rectangle textRect, String text)
           
protected  void MetalToggleButtonUI.paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
           
protected  void MetalToggleButtonUI.paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
           
protected  void MetalToggleButtonUI.paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
           
protected  void MetalRadioButtonUI.paintFocus(Graphics g, Rectangle t, Dimension d)
           
protected  void MetalButtonUI.paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
           
protected  void MetalButtonUI.paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
           
protected  void MetalButtonUI.paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
           
protected  void MetalButtonUI.paintText(Graphics g, JComponent c, Rectangle textRect, String text)
           
protected  void MetalScrollBarUI.paintTrack(Graphics g, JComponent c, Rectangle trackBounds)
           
protected  void MetalScrollBarUI.paintThumb(Graphics g, JComponent c, Rectangle thumbBounds)
           
protected  void MetalTabbedPaneUI.paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
protected  void MetalTabbedPaneUI.paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
protected  void MetalTabbedPaneUI.paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
           
 

javax.swing.plaf.multi での Rectangle の使用
 

Rectangle を返す javax.swing.plaf.multi のメソッド
 Rectangle MultiTreeUI.getPathBounds(JTree a, TreePath b)
          このオブジェクトが扱う各 UI で getPathBounds メソッドを呼び出します。
 Rectangle MultiTextUI.modelToView(JTextComponent a, int b)
          このオブジェクトが扱う各 UI で modelToView メソッドを呼び出します。
 Rectangle MultiTextUI.modelToView(JTextComponent a, int b, Position.Bias c)
          このオブジェクトが扱う各 UI で modelToView メソッドを呼び出します。
 Rectangle MultiTabbedPaneUI.getTabBounds(JTabbedPane a, int b)
          このオブジェクトが扱う各 UI で getTabBounds メソッドを呼び出します。
 Rectangle MultiListUI.getCellBounds(JList a, int b, int c)
          このオブジェクトが扱う各 UI で getCellBounds メソッドを呼び出します。
 

javax.swing.table での Rectangle の使用
 

Rectangle を返す javax.swing.table のメソッド
 Rectangle JTableHeader.getHeaderRect(int column)
          column にヘッダタイルがある矩形を返します。
 Rectangle JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getBounds()
           
 

Rectangle 型のパラメータを持つ javax.swing.table のメソッド
 void JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setBounds(Rectangle r)
           
 void DefaultTableCellRenderer.repaint(Rectangle r)
          パフォーマンス上の理由でオーバーライドされます。
 

javax.swing.text での Rectangle の使用
 

javax.swing.text での Rectangle のサブクラス
 class DefaultCaret
          Caret のデフォルトの実装です。
 

Rectangle として宣言されている javax.swing.text のフィールド
protected  Rectangle AsyncBoxView.ChildLocator.lastAlloc
          変更が上方にフラッシュされた場合に、最後に見られるペイントし直しのための割り当てです。
protected  Rectangle AsyncBoxView.ChildLocator.childAlloc
          ガベージを多く生成することを避けるために、子の割り当てに使う形状です。
 

Rectangle を返す javax.swing.text のメソッド
 Rectangle JTextComponent.AccessibleJTextComponent.getCharacterBounds(int i)
          文字列に対する指定されたインデックスで文字のバウンディングボックスを決定します。
protected  Rectangle CompositeView.getInsideAllocation(Shape a)
          ビューに指定された不変の割り当てを、内部割り当てを表す可変割り当てに変更します。
protected  Rectangle PlainView.lineToRect(Shape a, int line)
          指定した行を表す矩形を判別します。
 Rectangle JTextComponent.modelToView(int pos)
          モデル内の指定された位置を、ビュー座標系内の場所に変換します。
 

Rectangle 型のパラメータを持つ javax.swing.text のメソッド
 void FlowView.FlowStrategy.insertUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)
          このビューが担当する位置でドキュメントに何かが挿入されたことを通知します。
 void FlowView.FlowStrategy.removeUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)
          このビューが担当するドキュメント内の位置から何かが削除されたということを通知します。
 void FlowView.FlowStrategy.changedUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)
          このビューが扱う位置で属性が変更されたことをドキュメントから通知します。
protected  void BoxView.paintChild(Graphics g, Rectangle alloc, int index)
          子を描画します。
protected  boolean BoxView.isBefore(int x, int y, Rectangle innerAlloc)
          ある点が、割り当てられた領域の前にあるかどうかを判定します。
protected  boolean BoxView.isAfter(int x, int y, Rectangle innerAlloc)
          ある点が、割り当てられた領域の後にあるかどうかを判定します。
protected  View BoxView.getViewAtPoint(int x, int y, Rectangle alloc)
          指定された座標の子ビューを取り出します。
protected  void BoxView.childAllocation(int index, Rectangle alloc)
          子ビューに領域を割り当てます。
protected abstract  boolean CompositeView.isBefore(int x, int y, Rectangle alloc)
          ある点が、矩形範囲の前にあるかどうかを判定します。
protected abstract  boolean CompositeView.isAfter(int x, int y, Rectangle alloc)
          ある点が、矩形範囲の後にあるかどうかを判定します。
protected abstract  View CompositeView.getViewAtPoint(int x, int y, Rectangle alloc)
          指定された座標の子ビューを取り出します。
protected abstract  void CompositeView.childAllocation(int index, Rectangle a)
          指定された子への割り当てを返します。
protected  View CompositeView.getViewAtPosition(int pos, Rectangle a)
          モデル内の指定された位置を示す子ビューを取り出します。
protected  void DefaultCaret.damage(Rectangle r)
          キャレットを囲む領域を壊して、新しい位置に描画し直されるようにします。
protected  void DefaultCaret.adjustVisibility(Rectangle nloc)
          必要に応じて、関連するビューをスクロールして、キャレットが見えるようにします。
 int JTextComponent.getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)
          論理行または論理列を表示するコンポーネントは、orientation の値によって、新しい 1 行または 1 列を完全にエクスポーズするスクロール増分値を計算します。
 int JTextComponent.getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)
          論理行または論理列を表示するコンポーネントは、orientation の値によって、1 ブロック分の行または列を完全にエクスポーズするスクロール増分値を計算します。
protected  View TableView.getViewAtPosition(int pos, Rectangle a)
          モデル内で指定された位置を表す子ビューを取得します。
protected  View TableView.TableRow.getViewAtPosition(int pos, Rectangle a)
          モデル内で指定された位置を表す子ビューを取得します。
 

javax.swing.text.html での Rectangle の使用
 

Rectangle 型のパラメータを持つ javax.swing.text.html のメソッド
protected  void ListView.paintChild(Graphics g, Rectangle alloc, int index)
          子の 1 つを描画します。
 

javax.swing.tree での Rectangle の使用
 

Rectangle を返す javax.swing.tree のメソッド
abstract  Rectangle AbstractLayoutCache.NodeDimensions.getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle bounds)
          サイズと値を置く X 原点を、境界内の参照によって返します。
 Rectangle VariableHeightLayoutCache.getBounds(TreePath path, Rectangle placeIn)
          path で識別される項目を描画し、ラベル部分を囲む Rectangle を返します。
abstract  Rectangle AbstractLayoutCache.getBounds(TreePath path, Rectangle placeIn)
          パスを描画するのに必要な境界を指定する矩形を返します。
protected  Rectangle AbstractLayoutCache.getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle placeIn)
          value を表すのに必要なサイズを、placeIn 内の参照によって返します。
 Rectangle FixedHeightLayoutCache.getBounds(TreePath path, Rectangle placeIn)
          パスを描画するのに必要な境界を指定する矩形を返します。
 

Rectangle 型のパラメータを持つ javax.swing.tree のメソッド
abstract  Rectangle AbstractLayoutCache.NodeDimensions.getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle bounds)
          サイズと値を置く X 原点を、境界内の参照によって返します。
 Rectangle VariableHeightLayoutCache.getBounds(TreePath path, Rectangle placeIn)
          path で識別される項目を描画し、ラベル部分を囲む Rectangle を返します。
 int VariableHeightLayoutCache.getPreferredWidth(Rectangle bounds)
          visibleRegion 内の領域の適切な幅と高さを返します。
 int AbstractLayoutCache.getPreferredWidth(Rectangle bounds)
          渡された領域の望ましい幅を返します。
abstract  Rectangle AbstractLayoutCache.getBounds(TreePath path, Rectangle placeIn)
          パスを描画するのに必要な境界を指定する矩形を返します。
protected  Rectangle AbstractLayoutCache.getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle placeIn)
          value を表すのに必要なサイズを、placeIn 内の参照によって返します。
 void DefaultTreeCellRenderer.repaint(Rectangle r)
          パフォーマンス上の理由でオーバーライドされます。
 Rectangle FixedHeightLayoutCache.getBounds(TreePath path, Rectangle placeIn)
          パスを描画するのに必要な境界を指定する矩形を返します。
 


JavaTM 2
Platform
Std. Ed. v1.4.0

バグの報告と機能のリクエスト
これ以外の API リファレンスおよび開発者用ドキュメントについては、 Java 2 SDK SE 開発者用ドキュメントを参照してください。 開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、 およびコード実例が含まれています。

Java、Java 2D、および JDBC は米国ならびにその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.