| パッケージ | 説明 | 
|---|---|
| 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 | JavaBeans(tm)アーキテクチャに基づいたコンポーネントであるBeanの開発に関連したクラスが含まれています。 | 
| javax.accessibility | ユーザー・インタフェース・コンポーネントとそれらのコンポーネントへのアクセスを提供するユーザー補助テクノロジの間の規約を定義します。 | 
| javax.imageio | Java Image I/O APIの基本パッケージです。 | 
| javax.swing | すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。 | 
| javax.swing.border | Swingコンポーネントの周囲に各種ボーダーを描画するためのクラスおよびインタフェースを提供します。 | 
| javax.swing.plaf | SwingがプラガブルなLook & Feel機能を提供するために使用する、1つのインタフェースおよび多くの抽象クラスを提供します。 | 
| javax.swing.plaf.basic | 基本Look & Feelに従って構築されたユーザー・インタフェース・オブジェクトを提供します。 | 
| javax.swing.plaf.metal | デフォルトのLook & FeelであるJava Look & Feel (以前のコード名はMetal)に従って構築されたユーザー・インタフェース・オブジェクトを提供します。 | 
| javax.swing.plaf.multi | 複数のLook & Feelを結合するユーザー・インタフェース・オブジェクトを提供します。 | 
| javax.swing.plaf.synth | 
      Synthは、すべてのペイントが委譲されるスキン設定可能なLook & Feelです。 | 
| javax.swing.table | javax.swing.JTableを処理するためのクラスとインタフェースを提供します。 | 
| javax.swing.text | 編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。 | 
| javax.swing.text.html | HTMLテキスト・エディタを作成するためのクラス HTMLEditorKitとサポート・クラスを提供します。 | 
| javax.swing.tree | javax.swing.JTreeを処理するためのクラスとインタフェースを提供します。 | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| protected Rectangle | Polygon. boundsこの Polygonの境界。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | Component. bounds()非推奨。 
 JDK version 1.1以降は、 getBounds()に置き換えられています。 | 
| Rectangle | Polygon. getBoundingBox()非推奨。 
 JDK version 1.1以降は、 getBounds()に置き換えられています。 | 
| Rectangle | List.AccessibleAWTList.AccessibleAWTListChild. getBounds()オブジェクトの境界を、Rectangleオブジェクトの形式で返します。 | 
| Rectangle | SplashScreen. getBounds()スプラッシュ画面ウィンドウの境界を Rectangleとして返します。 | 
| Rectangle | Shape. getBounds()Shapeを完全に囲む整数のRectangleを返します。 | 
| Rectangle | Rectangle. getBounds()この Rectangleの境界のRectangleを取得します。 | 
| Rectangle | Polygon. getBounds()この Polygonのバウンディング・ボックスを取得します。 | 
| Rectangle | MenuComponent.AccessibleAWTMenuComponent. getBounds()このオブジェクトの境界を Rectangleオブジェクトの形式で取得します。 | 
| abstract Rectangle | GraphicsConfiguration. getBounds()デバイス座標内の GraphicsConfigurationの境界を返します。 | 
| Rectangle | Component. getBounds()このコンポーネントの境界を Rectangleオブジェクトの形式で取得します。 | 
| Rectangle | Component.AccessibleAWTComponent. getBounds()オブジェクトの境界を、Rectangleオブジェクトの形式で返します。 | 
| Rectangle | Component. getBounds(Rectangle rv)このコンポーネントの境界を「戻り値」rvに格納し、rvを返します。 | 
| Rectangle | TextComponent.AccessibleAWTTextComponent. getCharacterBounds(int i)文字列に対する指定されたインデックスで文字のバウンディング・ボックスを決定します。 | 
| abstract Rectangle | Graphics. getClipBounds()現在のクリッピング領域の境界の矩形を返します。 | 
| Rectangle | Graphics. getClipBounds(Rectangle r)現在のクリッピング領域の境界の矩形を返します。 | 
| Rectangle | Graphics. getClipRect()非推奨。 
 JDK version 1.1以降は、 getClipBounds()に置き換えられています。 | 
| Rectangle | Frame. getMaximizedBounds()このフレームの最大化された境界を返します。 | 
| Rectangle | GraphicsEnvironment. getMaximumWindowBounds()中央に配置されたWindowの最大の境界を返します。 | 
| Rectangle | Rectangle. intersection(Rectangle r)この Rectangleと指定されたRectangleの共通部分を計算します。 | 
| Rectangle | Rectangle. union(Rectangle r)この Rectangleと指定されたRectangleの和集合を計算します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| void | Rectangle. add(Rectangle r)RectangleをこのRectangleに追加します。 | 
| protected void | GridBagLayout. adjustForGravity(GridBagConstraints constraints, Rectangle r)x、y、幅、高さフィールドを、制約幾何学的図形およびパッドに応じて正しい値に調整します。 | 
| protected void | GridBagLayout. AdjustForGravity(GridBagConstraints constraints, Rectangle r)このメソッドは廃止されており、下位互換性のためにのみ提供されています。新しいコードは、かわりに adjustForGravityを呼び出すようにしてください。 | 
| boolean | Rectangle. contains(Rectangle r)この Rectangleに、指定されたRectangleが完全に含まれるかどうかをチェックします。 | 
| PaintContext | Paint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)カラー・パターンを生成するために使用される PaintContextを作成して返します。 | 
| PaintContext | Color. createContext(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints hints)塗りつぶした色のフィールド・パターンを生成するために使用される PaintContextを作成して返します。 | 
| PaintContext | LinearGradientPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints)カラーの線形グラデーション・パターンを生成するために使用される PaintContextを作成して返します。 | 
| PaintContext | TexturePaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)タイリングされたイメージ・パターンを生成するために使用される PaintContextを作成して返します。 | 
| PaintContext | GradientPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)カラーの線形グラデーション・パターンを生成するために使用される PaintContextを作成して返します。 | 
| PaintContext | RadialGradientPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints)色の円放射状グラデーション・パターンを生成するために使用される PaintContextを作成して返します。 | 
| BufferedImage | Robot. createScreenCapture(Rectangle screenRect)スクリーンから読み取るピクセルを含むイメージを作成します。 | 
| Rectangle | Component. getBounds(Rectangle rv)このコンポーネントの境界を「戻り値」rvに格納し、rvを返します。 | 
| Rectangle | Graphics. getClipBounds(Rectangle r)現在のクリッピング領域の境界の矩形を返します。 | 
| abstract boolean | Graphics2D. hit(Rectangle rect, Shape s, boolean onStroke)指定された Shapeが、デバイス空間内にある指定されたRectangleと交差しているかどうかをチェックします。 | 
| Rectangle | Rectangle. intersection(Rectangle r)この Rectangleと指定されたRectangleの共通部分を計算します。 | 
| boolean | Rectangle. intersects(Rectangle r)この Rectangleと指定されたRectangleが交差しているかどうかを判定します。 | 
| void | List.AccessibleAWTList.AccessibleAWTListChild. setBounds(Rectangle r)オブジェクトの境界を、Rectangleオブジェクトの形式で設定します。 | 
| void | Window. setBounds(Rectangle r)新しい境界の矩形 rに適合するように、このコンポーネントを移動し、サイズ変更します。 | 
| void | Rectangle. setBounds(Rectangle r)この Rectangleの境界のRectangleを指定されたRectangleに一致するように設定します。 | 
| void | MenuComponent.AccessibleAWTMenuComponent. setBounds(Rectangle r)このオブジェクトの境界を Rectangleオブジェクトの形式で設定します。 | 
| void | Component. setBounds(Rectangle r)新しい境界の矩形 rに適合するように、このコンポーネントを移動し、サイズ変更します。 | 
| void | Component.AccessibleAWTComponent. setBounds(Rectangle r)このオブジェクトの境界を Rectangleオブジェクトの形式で設定します。 | 
| void | Frame. setMaximizedBounds(Rectangle bounds)このフレームの最大化された境界を設定します。 | 
| Rectangle | Rectangle. union(Rectangle r)この Rectangleと指定されたRectangleの和集合を計算します。 | 
| コンストラクタと説明 | 
|---|
| Rectangle(Rectangle r)指定された Rectangleの値に一致するように初期化された新しいRectangleを構築します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | PaintEvent. getUpdateRect()このイベントに応答して再ペイントされる必要のある領域を表す矩形を返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| void | PaintEvent. setUpdateRect(Rectangle updateRect)このイベントに応答して再ペイントされる必要のある領域を表す矩形を設定します。 | 
| コンストラクタと説明 | 
|---|
| PaintEvent(Component source, int id, Rectangle updateRect)指定されたソース・コンポーネントとタイプで、 PaintEventオブジェクトを構築します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | GlyphVector. getGlyphPixelBounds(int index, FontRenderContext renderFRC, float x, float y)指定された位置で指定された FontRenderContextを使ってGraphics内にこのGlyphVectorがレンダリングされるときのインデックスの位置にあるグリフのピクセル境界を返します。 | 
| Rectangle | GlyphVector. getPixelBounds(FontRenderContext renderFRC, float x, float y)指定された位置にある指定された FontRenderContextを使用してグラフィックス内にレンダリングされるときの、このGlyphVectorのピクセル境界を返します。 | 
| Rectangle | TextLayout. getPixelBounds(FontRenderContext frc, float x, float y)指定された位置にある指定された FontRenderContextを使用してグラフィックス内にレンダリングされるときの、このTextLayoutのピクセル境界を返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | Path2D. getBounds()Shapeを完全に囲む整数のRectangleを返します。 | 
| Rectangle | QuadCurve2D. getBounds()Shapeを完全に囲む整数のRectangleを返します。 | 
| Rectangle | Area. getBounds()この Areaを完全に囲むバウンディングRectangleを返します。 | 
| Rectangle | Line2D. getBounds()Shapeを完全に囲む整数のRectangleを返します。 | 
| Rectangle | RectangularShape. getBounds()Shapeを完全に囲む整数のRectangleを返します。 | 
| Rectangle | CubicCurve2D. getBounds()Shapeを完全に囲む整数のRectangleを返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | InputMethodRequests. getTextLocation(TextHitInfo offset)現在の変換テキスト内の指定されたオフセットの場所、または確定テキスト内の選択部分の場所を取得します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| void | InputMethod. notifyClientWindowChange(Rectangle bounds)クライアントのウィンドウ位置または状態の変更を、このインプット・メソッドに通知します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | Raster. getBounds()このRasterの境界のRectangleを返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| WritableRaster | Raster. createCompatibleWritableRaster(Rectangle rect)rectによって指定される位置(minX, minY)とサイズ(width, height)、新しいSampleModel、および初期化された新しいDataBufferを持ち、互換性があるWritableRasterを生成します。 | 
| Raster | BufferedImage. getData(Rectangle rect)BufferedImageの任意の領域を計算して返します。 | 
| Raster | RenderedImage. getData(Rectangle rect)RenderedImageの任意の領域を計算して返します。 | 
| コンストラクタと説明 | 
|---|
| Raster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, Raster parent)指定されたSampleModel、DataBuffer、および親を使ってRasterを構築します。 | 
| WritableRaster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, WritableRaster parent)指定されたSampleModel、DataBuffer、および親を使ってWritableRasterを構築します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| void | PropertyEditor. paintValue(Graphics gfx, Rectangle box)値の表現を画面の指定された領域に描画します。 | 
| void | PropertyEditorSupport. paintValue(Graphics gfx, Rectangle box)値の表現を画面の指定された領域に描画します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | AccessibleComponent. getBounds()オブジェクトの境界を、Rectangleオブジェクトの形式で返します。 | 
| Rectangle | AccessibleText. getCharacterBounds(int i)文字列に対する指定されたインデックスで文字のバウンディング・ボックスを決定します。 | 
| Rectangle | AccessibleExtendedText. getTextBounds(int startIndex, int endIndex)2つのインデックス間のテキストの境界の矩形を返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| void | AccessibleComponent. setBounds(Rectangle r)オブジェクトの境界を、Rectangleオブジェクトの形式で設定します。 | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| protected Rectangle | IIOParam. sourceRegionソース領域、または何も設定されない場合は nullとなります。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | IIOParam. getSourceRegion()使用するソース領域を返します。 | 
| protected static Rectangle | ImageReader. getSourceRegion(ImageReadParam param, int srcWidth, int srcHeight)指定された ImageReadParamのソース領域とサブサンプリングの座標の設定を考慮して、読取り側が読み取るソース・イメージの領域を計算するために使用するユーティリティ・メソッドです。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected static void | ImageReader. computeRegions(ImageReadParam param, int srcWidth, int srcHeight, BufferedImage image, Rectangle srcRegion, Rectangle destRegion)ソース・イメージの幅と高さ、オプションのデスティネーション・イメージ、およびオプションの ImageReadParamを考慮して、対象のソース領域および対象のデスティネーション領域を計算します。 | 
| void | ImageWriter. prepareReplacePixels(int imageIndex, Rectangle region)replacePixelsメソッドの一連の呼出しを処理するために、書込み側を準備します。 | 
| void | IIOParam. setSourceRegion(Rectangle sourceRegion)処理対象のソース領域を設定します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| static Rectangle | SwingUtilities. calculateInnerArea(JComponent c, Rectangle r)指定されたコンポーネントの内部ペイント領域の位置とサイズを rに格納し、rを返します。 | 
| static Rectangle[] | SwingUtilities. computeDifference(Rectangle rectA, Rectangle rectB)rectBとオーバーラップしないrectA内の領域を表す矩形の配列を返すのに便利です。 | 
| 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)新しい矩形を割り当てないで2つの矩形の結合部分を算出する簡易メソッドです。 | 
| static Rectangle | SwingUtilities. convertRectangle(Component source, Rectangle aRectangle, Component destination)source座標系内の矩形aRectangleをdestination座標系に変換します。 | 
| Rectangle | JList.AccessibleJList.AccessibleJListChild. getBounds() | 
| Rectangle | JTree.AccessibleJTree.AccessibleJTreeNode. getBounds() | 
| Rectangle | JTable.AccessibleJTable.AccessibleJTableCell. getBounds() | 
| Rectangle | JComponent. getBounds(Rectangle rv)このコンポーネントの境界を「戻り値」 rvに格納し、rvを返します。 | 
| Rectangle | JTabbedPane. getBoundsAt(int index)indexのタブの境界を返します。 | 
| protected Rectangle | DefaultDesktopManager. getBoundsForIconOf(JInternalFrame f)iconifyFrame()のコードはこのメソッドを呼び出して、desktopIconの適切な境界を指定します。 | 
| Rectangle | JList. getCellBounds(int index0, int index1)2つのインデックスで指定されたセルの範囲を示す、リストの座標系内の境界の矩形を返します。 | 
| Rectangle | JTable. getCellRect(int row, int column, boolean includeSpacing)rowとcolumnが交差する位置のセルの矩形を返します。 | 
| Rectangle | JSpinner.AccessibleJSpinner. getCharacterBounds(int i)文字列に対する指定されたインデックスで文字のバウンディング・ボックスを決定します。 | 
| Rectangle | ProgressMonitor.AccessibleProgressMonitor. getCharacterBounds(int i)文字列に対する指定されたインデックスで文字のバウンディング・ボックスを決定します。 | 
| Rectangle | JLabel.AccessibleJLabel. getCharacterBounds(int i)文字列内の指定されたインデックスにある文字のバウンディング・ボックスを返します。 | 
| Rectangle | AbstractButton.AccessibleAbstractButton. getCharacterBounds(int i)文字列に対する指定されたインデックスで文字のバウンディング・ボックスを決定します。 | 
| Rectangle | DebugGraphics. getClipBounds()Graphics.getClipBoundsをオーバーライドします。 | 
| Rectangle | RepaintManager. getDirtyRegion(JComponent aComponent)コンポーネントの現在のダーティ・リージョンを返します。 | 
| static Rectangle | SwingUtilities. getLocalBounds(Component aComponent)コンポーネント aComponentの矩形(0,0,bounds.width,bounds.height)を返します。 | 
| Rectangle | JInternalFrame. getNormalBounds()JInternalFrameが最大化の状態ではない場合、getBounds()を返します。それ以外の場合は、JInternalFrameが復元される境界を返します。 | 
| Rectangle | JTree. getPathBounds(TreePath path)指定されたノードが描画される Rectangleを返します。 | 
| protected Rectangle | DefaultDesktopManager. getPreviousBounds(JInternalFrame f)コンポーネントの通常の境界をコンポーネント最大化の直前に返します。 | 
| Rectangle | JTree. getRowBounds(int row)指定された行にあるノードが描画される Rectangleを返します。 | 
| Rectangle | JScrollPane. getViewportBorderBounds()ビュー・ポートのボーダーの境界を返します。 | 
| Rectangle | ScrollPaneLayout. getViewportBorderBounds(JScrollPane scrollpane)非推奨。 
 JDKのSwing 1.1以降は、 JScrollPane.getViewportBorderBounds()に置き換えられています。 | 
| Rectangle | JViewport. getViewRect()始点が getViewPosition、サイズがgetExtentSizeである矩形を返します。 | 
| Rectangle | JComponent. getVisibleRect()Componentの「可視矩形」を返します。これは、このコンポーネントの可視矩形、new Rectangle(0, 0, getWidth(), getHeight())、およびそのすべての上位オブジェクトの可視矩形の共通部分です。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| static Rectangle | SwingUtilities. calculateInnerArea(JComponent c, Rectangle r)指定されたコンポーネントの内部ペイント領域の位置とサイズを rに格納し、rを返します。 | 
| protected boolean | JViewport. computeBlit(int dx, int dy, Point blitFrom, Point blitTo, Dimension blitSize, Rectangle blitPaint)バッキング・ストア・イメージの左上隅に現在 oldLocが含まれており、newLocにスクロールしている場合のBlitのパラメータを計算します。 | 
| static Rectangle[] | SwingUtilities. computeDifference(Rectangle rectA, Rectangle rectB)rectBとオーバーラップしないrectA内の領域を表す矩形の配列を返すのに便利です。 | 
| 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)新しい矩形を割り当てないで2つの矩形の結合部分を算出する簡易メソッドです。 | 
| void | JComponent. computeVisibleRect(Rectangle visibleRect)Componentの「可視矩形」を返します。これは、このコンポーネントとそのすべての上位オブジェクトの可視矩形の共通部分です。 | 
| static Rectangle | SwingUtilities. convertRectangle(Component source, Rectangle aRectangle, Component destination)source座標系内の矩形aRectangleをdestination座標系に変換します。 | 
| Rectangle | JComponent. getBounds(Rectangle rv)このコンポーネントの境界を「戻り値」 rvに格納し、rvを返します。 | 
| int | Scrollable. getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)論理行または論理列を表示するコンポーネントは、orientationの値によって、1ブロック分の行または列を完全にエクスポーズするスクロール増分値を計算します。 | 
| int | JList. getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)次または前のブロックを表示するためにスクロールする距離を返します。 | 
| int | JTree. getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)ブロック増分値の量を返します。この量は、 orientationに基づいたvisibleRectの高さまたは幅です。 | 
| int | JTable. getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)この表の方向によって visibleRect.heightまたはvisibleRect.widthを返します。 | 
| int | JLayer. getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)スクロール増分値を返します。スクロール増分値は、orientationの値によって、1ブロック分の行または列を完全に表示するために、論理行または論理列を表示するコンポーネントに必要です。 | 
| int | Scrollable. getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)論理行または論理列を表示するコンポーネントは、orientationの値によって、新しい1行または1列を完全にエクスポーズするスクロール増分値を計算します。 | 
| int | JList. getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)次または前の行(垂直スクロール)または列(水平スクロール)を表示するためにスクロールする距離を返します。 | 
| int | JTree. getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)スクロール時に増分する量を返します。 | 
| int | JTextArea. getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)論理行または論理列を表示するコンポーネントは、orientationの値によって、新しい1行または1列を完全にエクスポーズするスクロール増分値を計算します。 | 
| int | JTable. getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)新しい1行または1列を完全に表示するスクロール増分値を(方向に基づいて)ピクセル単位で返します。 | 
| int | JLayer. getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)スクロール増分値を返します。スクロール増分値は、orientationの値によって、新しい1行または1列を完全に表示するために、論理行または論理列を表示するコンポーネントに必要です。 | 
| static boolean | SwingUtilities. isRectangleContainingRectangle(Rectangle a, Rectangle b)aがbを含む場合にtrueを返します。 | 
| 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(JComponent c, FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)アイコン起点の位置、テキスト・ベースライン起点の位置、および可能であればクリップされた複合ラベル文字列を計算して返します。 | 
| void | CellRendererPane. paintComponent(Graphics g, Component c, Container p, Rectangle r)矩形のx、y、幅、高さの各フィールドを使ってthis.paintComponent()を呼び出します。 | 
| static void | SwingUtilities. paintComponent(Graphics g, Component c, Container p, Rectangle r)指定された Graphicsで、コンポーネントをペイントします。 | 
| void | JComponent. paintImmediately(Rectangle r)指定された領域をすぐにペイントします。 | 
| void | JComponent. repaint(Rectangle r)コンポーネントが表示されている場合に、指定された領域をダーティ・リージョン・リストに追加します。 | 
| void | DefaultListCellRenderer. repaint(Rectangle r)パフォーマンス上の理由でオーバーライドされます。 | 
| void | JViewport. scrollRectToVisible(Rectangle contentRect)ビュー内の Rectangleが可視になるようにビューをスクロールします。 | 
| void | JComponent. scrollRectToVisible(Rectangle aRect)scrollRectToVisible()メッセージをJComponentの親に転送します。 | 
| void | JTextField. scrollRectToVisible(Rectangle r)フィールドを左または右にスクロールします。 | 
| void | JList.AccessibleJList.AccessibleJListChild. setBounds(Rectangle r) | 
| void | JTree.AccessibleJTree.AccessibleJTreeNode. setBounds(Rectangle r) | 
| void | JTable.AccessibleJTable.AccessibleJTableCell. setBounds(Rectangle r) | 
| void | JInternalFrame. setNormalBounds(Rectangle r)この内部フレームの通常の境界、つまりこの内部フレームが最大化の状態から復元される境界を設定します。 | 
| protected void | DefaultDesktopManager. setPreviousBounds(JInternalFrame f, Rectangle r)コンポーネントの境界を、最大呼出しの直前に格納します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| static Rectangle | AbstractBorder. getInteriorRectangle(Component c, Border b, int x, int y, int width, int height)ボーダーのイン・セットから引数の値を減算して矩形を返します。 | 
| Rectangle | AbstractBorder. getInteriorRectangle(Component c, int x, int y, int width, int height)静的メソッドを呼び出す簡易メソッドです。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| abstract Rectangle | ListUI. getCellBounds(JList list, int index1, int index2)2つのインデックスで指定されたセルの範囲を示す、指定されたリストの座標系内の境界矩形を返します。 | 
| abstract Rectangle | TreeUI. getPathBounds(JTree tree, TreePath path)パスの最後の項目が描画されるラベル部分を囲むRectangleを返します。 | 
| abstract Rectangle | TabbedPaneUI. getTabBounds(JTabbedPane pane, int index) | 
| abstract Rectangle | TextUI. modelToView(JTextComponent t, int pos)モデル内の指定された位置を、ビュー座標体系内の場所に変換します。 | 
| abstract Rectangle | TextUI. modelToView(JTextComponent t, int pos, Position.Bias bias)モデル内の指定された位置を、ビュー座標体系内の場所に変換します。 | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| static class  | BasicTextUI.BasicCaret | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| protected Rectangle | BasicProgressBarUI. boxRectペイントされる(getBoxによって返された)バウンシング・ボックスの位置とサイズを保持するために使用します。 | 
| protected Rectangle | BasicTabbedPaneUI. calcRect実行中に多くの新規Rectangleが構築されるのを防ぐため、一般レイアウト計算に使用される矩形です。 | 
| protected Rectangle | BasicSliderUI. contentRect | 
| protected Rectangle | BasicSliderUI. focusRect | 
| protected Rectangle | BasicSliderUI. labelRect | 
| protected Rectangle[] | BasicTabbedPaneUI. rects | 
| protected Rectangle | BasicScrollBarUI. thumbRect | 
| protected Rectangle | BasicSliderUI. thumbRect | 
| protected Rectangle | BasicSliderUI. tickRect | 
| protected Rectangle | BasicScrollBarUI. trackRect | 
| protected Rectangle | BasicSliderUI. trackRect | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected Rectangle | BasicComboPopup. computePopupBounds(int px, int py, int pw, int ph)コンボボックスの位置と画面の囲み境界に基づいて、コンボボックスのポップアップ部分の配置とサイズを計算します。 | 
| protected Rectangle | BasicProgressBarUI. getBox(Rectangle r)現在のアニメーション・インデックス用にペイントされるバウンシング・ボックスの位置とサイズを rに格納し、rを返します。 | 
| Rectangle | BasicListUI. getCellBounds(JList list, int index1, int index2)2つのインデックスで指定されたセルの範囲を示す、指定されたリストの座標系内の境界矩形を返します。 | 
| protected Rectangle | BasicTreeUI. getDropLineRect(JTree.DropLocation loc)ドロップ・ラインのバウンディング・ボックスを返します。 | 
| Rectangle | BasicTreeUI.NodeDimensionsHandler. getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle size)特定のノードのサイズを取得します。 | 
| Rectangle | BasicTreeUI. getPathBounds(JTree tree, TreePath path)パスの最後の項目が描画されるラベル部分を囲むRectangleを返します。 | 
| protected Rectangle | BasicTabbedPaneUI. getTabBounds(int tabIndex, Rectangle dest)JTabbedPaneコンポーネントの座標空間内の、指定されたタブの境界を返します。 | 
| Rectangle | BasicTabbedPaneUI. getTabBounds(JTabbedPane pane, int i)指定されたタブ・インデックスの境界を返します。 | 
| 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)モデル内の指定された位置を、ビュー座標体系内の場所に変換します。 | 
| protected Rectangle | BasicComboBoxUI. rectangleForCurrentValue()現在選択されている項目を描画するために予約されている領域を返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected Rectangle | BasicProgressBarUI. getBox(Rectangle r)現在のアニメーション・インデックス用にペイントされるバウンシング・ボックスの位置とサイズを rに格納し、rを返します。 | 
| Rectangle | BasicTreeUI.NodeDimensionsHandler. getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle size)特定のノードのサイズを取得します。 | 
| protected Rectangle | BasicTabbedPaneUI. getTabBounds(int tabIndex, Rectangle dest)JTabbedPaneコンポーネントの座標空間内の、指定されたタブの境界を返します。 | 
| protected String | BasicLabelUI. layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)呼出しをSwingUtilities.layoutCompoundLabel()に転送します。 | 
| protected void | BasicTabbedPaneUI. layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected) | 
| protected void | BasicListUI. paintCell(Graphics g, int row, Rectangle rowBounds, ListCellRenderer cellRenderer, ListModel dataModel, ListSelectionModel selModel, int leadIndex)1つのListセルをペイントします。適切な状態を計算し、「ラバー・スタンプ」セル・レンダラ・コンポーネントを取得してから、CellRendererPaneを使用してペイントします。 | 
| void | BasicComboBoxUI. paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus)現在選択されている項目をペイントします。 | 
| void | BasicComboBoxUI. paintCurrentValueBackground(Graphics g, Rectangle bounds, boolean hasFocus)現在選択されている項目のバックグラウンドをペイントします。 | 
| protected void | BasicTreeUI. paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)行の展開(切り替え)部分をペイントします。 | 
| protected void | BasicButtonUI. paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) | 
| protected void | BasicRadioButtonUI. paintFocus(Graphics g, Rectangle textRect, Dimension size) | 
| 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 | BasicTreeUI. paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)脚の水平部分をペイントします。 | 
| protected void | BasicToggleButtonUI. paintIcon(Graphics g, AbstractButton b, Rectangle iconRect) | 
| protected void | BasicTabbedPaneUI. paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected) | 
| protected void | BasicButtonUI. paintIcon(Graphics g, JComponent c, Rectangle iconRect) | 
| protected void | BasicSliderUI. paintMajorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x) | 
| protected void | BasicSliderUI. paintMajorTickForVertSlider(Graphics g, Rectangle tickBounds, int y) | 
| protected void | BasicSliderUI. paintMinorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x) | 
| protected void | BasicSliderUI. paintMinorTickForVertSlider(Graphics g, Rectangle tickBounds, int y) | 
| protected void | BasicTreeUI. paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)行のレンダラ部分をペイントします。 | 
| 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 | BasicButtonUI. paintText(Graphics g, AbstractButton b, Rectangle textRect, String text)現在のボタンのテキストをレンダリングするメソッドです。 | 
| protected void | BasicTabbedPaneUI. paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) | 
| protected void | BasicButtonUI. paintText(Graphics g, JComponent c, Rectangle textRect, String text)Java 2プラットフォーム1.4以降では、このメソッドを使用したり、オーバーライドしたりしないようにしてください。 | 
| protected void | BasicMenuItemUI. paintText(Graphics g, JMenuItem menuItem, Rectangle textRect, String text)現在のメニュー項目のテキストをレンダリングします。 | 
| protected void | BasicScrollBarUI. paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) | 
| protected void | BasicScrollBarUI. paintTrack(Graphics g, JComponent c, Rectangle trackBounds) | 
| protected void | BasicTreeUI. paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)脚の垂直部分をペイントします。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| void | MetalComboBoxUI. paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus)必要に応じて、現在選択されている項目をペイントします。 | 
| void | MetalComboBoxUI. paintCurrentValueBackground(Graphics g, Rectangle bounds, boolean hasFocus)必要に応じて、現在選択されている項目のバックグラウンドをペイントします。 | 
| protected void | MetalButtonUI. 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 | 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 | MetalTreeUI. paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) | 
| protected void | MetalToggleButtonUI. paintIcon(Graphics g, AbstractButton b, Rectangle iconRect)ボタン bの適切なアイコンを領域iconRectにペイントします。 | 
| protected void | MetalSliderUI. paintMajorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x) | 
| protected void | MetalSliderUI. paintMajorTickForVertSlider(Graphics g, Rectangle tickBounds, int y) | 
| protected void | MetalSliderUI. paintMinorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x) | 
| protected void | MetalSliderUI. paintMinorTickForVertSlider(Graphics g, Rectangle tickBounds, int y) | 
| protected void | MetalButtonUI. paintText(Graphics g, JComponent c, Rectangle textRect, String text) | 
| protected void | MetalToggleButtonUI. paintText(Graphics g, JComponent c, Rectangle textRect, String text) | 
| protected void | MetalScrollBarUI. paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) | 
| protected void | MetalScrollBarUI. paintTrack(Graphics g, JComponent c, Rectangle trackBounds) | 
| protected void | MetalTreeUI. paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | MultiListUI. getCellBounds(JList a, int b, int c)このオブジェクトで処理されている各UIで getCellBoundsメソッドを呼び出します。 | 
| Rectangle | MultiTreeUI. getPathBounds(JTree a, TreePath b)このオブジェクトで処理されている各UIで getPathBoundsメソッドを呼び出します。 | 
| Rectangle | MultiTabbedPaneUI. getTabBounds(JTabbedPane a, int b)このオブジェクトで処理されている各UIで getTabBoundsメソッドを呼び出します。 | 
| Rectangle | MultiTextUI. modelToView(JTextComponent a, int b)このオブジェクトで処理されている各UIで modelToViewメソッドを呼び出します。 | 
| Rectangle | MultiTextUI. modelToView(JTextComponent a, int b, Position.Bias c)このオブジェクトで処理されている各UIで modelToViewメソッドを呼び出します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected Rectangle | SynthProgressBarUI. getBox(Rectangle r)現在のアニメーション・インデックス用にペイントされるバウンシング・ボックスの位置とサイズを rに格納し、rを返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected Rectangle | SynthProgressBarUI. getBox(Rectangle r)現在のアニメーション・インデックス用にペイントされるバウンシング・ボックスの位置とサイズを rに格納し、rを返します。 | 
| String | SynthGraphicsUtils. layoutText(SynthContext ss, FontMetrics fm, String text, Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int iconTextGap)テキストとアイコンを配置する位置を参照で返すテキストとアイコンをレイアウトします。 | 
| protected void | SynthToolBarUI. paintContent(SynthContext context, Graphics g, Rectangle bounds)ツールバーの内容をペイントします。 | 
| void | SynthComboBoxUI. paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus)現在選択されている項目をペイントします。 | 
| protected void | SynthTreeUI. paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)行の展開(切り替え)部分をペイントします。 | 
| protected void | SynthTreeUI. paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)脚の水平部分をペイントします。 | 
| void | SynthGraphicsUtils. paintText(SynthContext ss, Graphics g, String text, Rectangle bounds, int mnemonicIndex)指定された位置にテキストをペイントします。 | 
| protected void | SynthSliderUI. paintThumb(SynthContext context, Graphics g, Rectangle thumbBounds)スライダのつまみをペイントします。 | 
| protected void | SynthScrollBarUI. paintThumb(SynthContext context, Graphics g, Rectangle thumbBounds)スクロール・バーのつまみをペイントします。 | 
| protected void | SynthSliderUI. paintTrack(SynthContext context, Graphics g, Rectangle trackBounds)スライダのトラックをペイントします。 | 
| protected void | SynthScrollBarUI. paintTrack(SynthContext context, Graphics g, Rectangle trackBounds)スクロール・バーのトラックをペイントします。 | 
| protected void | SynthTreeUI. paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)脚の垂直部分をペイントします。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry. getBounds() | 
| Rectangle | JTableHeader. getHeaderRect(int column)columnにヘッダー・タイルがある矩形を返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| void | DefaultTableCellRenderer. repaint(Rectangle r)パフォーマンス上の理由でオーバーライドされます。 | 
| void | JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry. setBounds(Rectangle r) | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | DefaultCaretCaretのデフォルトの実装です。 | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| protected Rectangle | AsyncBoxView.ChildLocator. childAllocガベージを多く生成することを避けるために、子の割当てに使う形状です。 | 
| protected Rectangle | AsyncBoxView.ChildLocator. lastAlloc変更が上方にフラッシュされた場合に、最後に見られる再ペイントのための割当てです。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | JTextComponent.AccessibleJTextComponent. getCharacterBounds(int i)文字列に対する指定されたインデックスで文字のバウンディング・ボックスを決定します。 | 
| protected Rectangle | CompositeView. getInsideAllocation(Shape a)ビューに指定された不変の割り当てを、内部割り当てを表す可変割当てに変換します。 | 
| Rectangle | JTextComponent.AccessibleJTextComponent. getTextBounds(int startIndex, int endIndex)2つのインデックス間のテキストを囲む Rectangleを返します。 | 
| protected Rectangle | PlainView. lineToRect(Shape a, int line)指定した行を表す矩形を判別します。 | 
| Rectangle | JTextComponent. modelToView(int pos)モデル内の指定された位置を、ビュー座標体系内の場所に変換します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected void | DefaultCaret. adjustVisibility(Rectangle nloc)必要に応じて、関連するビューをスクロールして、キャレットを表示します。 | 
| void | FlowView.FlowStrategy. changedUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)このビューが扱う位置で属性が変更されたことをドキュメントから通知します。 | 
| protected abstract void | CompositeView. childAllocation(int index, Rectangle a)指定された子への割り当てを返します。 | 
| protected void | BoxView. childAllocation(int index, Rectangle alloc)子ビューに領域を割り当てます。 | 
| protected void | DefaultCaret. damage(Rectangle r)キャレットを囲む領域を壊して、新しい位置に再ペイントされるようにします。 | 
| int | JTextComponent. getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)論理行または論理列を表示するコンポーネントは、orientationの値によって、1ブロック分の行または列を完全にエクスポーズするスクロール増分値を計算します。 | 
| int | JTextComponent. getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)論理行または論理列を表示するコンポーネントは、orientationの値によって、新しい1行または1列を完全にエクスポーズするスクロール増分値を計算します。 | 
| protected abstract View | CompositeView. getViewAtPoint(int x, int y, Rectangle alloc)指定された座標の子ビューを取得します。 | 
| protected View | BoxView. getViewAtPoint(int x, int y, Rectangle alloc)指定された座標の子ビューを取得します。 | 
| protected View | CompositeView. getViewAtPosition(int pos, Rectangle a)モデル内で指定された位置を表す子ビューを取得します。 | 
| protected View | TableView. getViewAtPosition(int pos, Rectangle a)モデル内で指定された位置を表す子ビューを取得します。 | 
| protected View | TableView.TableRow. getViewAtPosition(int pos, Rectangle a)モデル内で指定された位置を表す子ビューを取得します。 | 
| void | FlowView.FlowStrategy. insertUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)このビューが担当する位置でドキュメントに何かが挿入されたことを通知します。 | 
| protected abstract boolean | CompositeView. isAfter(int x, int y, Rectangle alloc)ある点が、矩形範囲の後ろにあるかどうかを判定します。 | 
| protected boolean | BoxView. isAfter(int x, int y, Rectangle innerAlloc)ある点が、割り当てられた領域のあとにあるかどうかを判定します。 | 
| protected abstract boolean | CompositeView. isBefore(int x, int y, Rectangle alloc)ある点が、矩形範囲の前にあるかどうかを判定します。 | 
| protected boolean | BoxView. isBefore(int x, int y, Rectangle innerAlloc)ある点が、割り当てられた領域の前にあるかどうかを判定します。 | 
| protected void | BoxView. paintChild(Graphics g, Rectangle alloc, int index)子をペイントします。 | 
| void | FlowView.FlowStrategy. removeUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)このビューが担当するドキュメント内の位置から何かが削除されたということを通知します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected void | ListView. paintChild(Graphics g, Rectangle alloc, int index)子の1つをペイントします。paint()で呼び出されます。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | FixedHeightLayoutCache. getBounds(TreePath path, Rectangle placeIn)パスを描画するのに必要な境界を指定する矩形を返します。 | 
| abstract Rectangle | AbstractLayoutCache. getBounds(TreePath path, Rectangle placeIn)パスを描画するのに必要な境界を指定する矩形を返します。 | 
| Rectangle | VariableHeightLayoutCache. getBounds(TreePath path, Rectangle placeIn)pathで識別される項目が描画されるラベル部分を囲むRectangleを返します。 | 
| protected Rectangle | AbstractLayoutCache. getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle placeIn)valueを表すために必要なサイズをplaceIn内の参照によって返します。 | 
| abstract Rectangle | AbstractLayoutCache.NodeDimensions. getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle bounds)サイズと値を置くX原点を、境界内の参照によって返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Rectangle | FixedHeightLayoutCache. getBounds(TreePath path, Rectangle placeIn)パスを描画するのに必要な境界を指定する矩形を返します。 | 
| abstract Rectangle | AbstractLayoutCache. getBounds(TreePath path, Rectangle placeIn)パスを描画するのに必要な境界を指定する矩形を返します。 | 
| Rectangle | VariableHeightLayoutCache. getBounds(TreePath path, Rectangle placeIn)pathで識別される項目が描画されるラベル部分を囲むRectangleを返します。 | 
| protected Rectangle | AbstractLayoutCache. getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle placeIn)valueを表すために必要なサイズをplaceIn内の参照によって返します。 | 
| abstract Rectangle | AbstractLayoutCache.NodeDimensions. getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle bounds)サイズと値を置くX原点を、境界内の参照によって返します。 | 
| int | AbstractLayoutCache. getPreferredWidth(Rectangle bounds)渡された領域の推奨する幅を返します。 | 
| int | VariableHeightLayoutCache. getPreferredWidth(Rectangle bounds)visibleRegion内の領域の推奨する幅と高さを返します。 | 
| void | DefaultTreeCellRenderer. repaint(Rectangle r)パフォーマンス上の理由でオーバーライドされます。 | 
 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
 Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.