インタフェースjava.awt.Shape
の使用
-
Shapeを使用するパッケージ パッケージ 説明 java.awt ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。java.awt.font フォント関連のクラスおよびインタフェースを提供します。java.awt.geom 2次元幾何学的図形に関連するオブジェクトで処理を定義および実行するJava 2Dクラスを提供します。java.awt.image.renderable レンダリングに依存しないイメージを作成するためのクラスおよびインタフェースを提供します。javax.swing すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。javax.swing.plaf.basic 基本Look & Feelに従って構築されたユーザー・インタフェース・オブジェクトを提供します。javax.swing.text 編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。javax.swing.text.html HTMLテキスト・エディタを作成するためのクラスHTMLEditorKitとサポート・クラスを提供します。 -
-
java.awtでのShapeの使用
Shapeを実装するjava.awtのクラス 修飾子と型 クラス 説明 classPolygonPolygonクラスは、座標空間内の閉じられた2次元領域の記述をカプセル化します。classRectangleRectangleは、座標空間内のRectangleオブジェクトの左上の点(x,y)、その幅、およびその高さで囲まれた座標空間内の領域を指定します。Shapeを返すjava.awtのメソッド 修飾子と型 メソッド 説明 ShapeBasicStroke. createStrokedShape(Shape s)指定されたShapeのストロークで描画された輪郭が内部で定義されているShapeを返します。ShapeStroke. createStrokedShape(Shape p)Strokeインタフェースを実装するオブジェクトによって定義されたルールに従ってShapeがストロークで描画されるときにペイントされるべき領域を囲む輪郭Shapeを返します。abstract ShapeGraphics. getClip()現在のクリッピング領域を返します。ShapeWindow. getShape()ウィンドウの形状を返します。Shape型のパラメータを持つjava.awtのメソッド 修飾子と型 メソッド 説明 abstract voidGraphics2D. clip(Shape s)現在のClipを指定されたShapeの内部と交差させ、そのClipを結果として得られる共通部分に設定します。ShapeBasicStroke. createStrokedShape(Shape s)指定されたShapeのストロークで描画された輪郭が内部で定義されているShapeを返します。ShapeStroke. createStrokedShape(Shape p)Strokeインタフェースを実装するオブジェクトによって定義されたルールに従ってShapeがストロークで描画されるときにペイントされるべき領域を囲む輪郭Shapeを返します。abstract voidGraphics2D. draw(Shape s)現在のGraphics2Dコンテキストの設定を使用して、Shapeの輪郭をストロークで描画します。abstract voidGraphics2D. fill(Shape s)Graphics2Dコンテキストの設定を使用して、Shapeの内部を塗りつぶします。abstract booleanGraphics2D. hit(Rectangle rect, Shape s, boolean onStroke)指定されたShapeが、デバイス空間内にある指定されたRectangleと交差しているかどうかをチェックします。abstract voidGraphics. setClip(Shape clip)現在のクリッピング領域を任意のクリップ形状に設定します。voidComponent. setMixingCutoutShape(Shape shape)この軽量コンポーネントの'mixing-cutout'シェイプを設定します。voidDialog. setShape(Shape shape)ウィンドウの形状を設定します。voidFrame. setShape(Shape shape)ウィンドウの形状を設定します。voidWindow. setShape(Shape shape)ウィンドウの形状を設定します。 -
java.awt.fontでのShapeの使用
Shapeを返すjava.awt.fontのメソッド 修飾子と型 メソッド 説明 ShapeTextLayout. getBlackBoxBounds(int firstEndpoint, int secondEndpoint)指定された範囲にあるすべての文字のブラック・ボックス境界を返します。ShapeTextLayout. getCaretShape(TextHitInfo hit)このTextLayoutの自然境界内の指定されたヒットにあるキャレットを表すShapeを返します。ShapeTextLayout. getCaretShape(TextHitInfo hit, Rectangle2D bounds)指定された境界内の指定されたヒットにあるキャレットを表すShapeを返します。Shape[]TextLayout. getCaretShapes(int offset)強いキャレットと弱いキャレットに対応する2つの輪郭線を返します。Shape[]TextLayout. getCaretShapes(int offset, Rectangle2D bounds)強いキャレットと弱いキャレットに対応する2つの輪郭線を返します。Shape[]TextLayout. getCaretShapes(int offset, Rectangle2D bounds, TextLayout.CaretPolicy policy)強いキャレットと弱いキャレットに対応する2つの輪郭線を返します。abstract ShapeGlyphVector. getGlyphLogicalBounds(int glyphIndex)このGlyphVector内の指定されたグリフの論理境界を返します。abstract ShapeGlyphVector. getGlyphOutline(int glyphIndex)その内部がこのGlyphVector内の指定されたグリフの視覚表現に対応するShapeを返します。ShapeGlyphVector. getGlyphOutline(int glyphIndex, float x, float y)その内部がこのGlyphVector内の指定されたグリフの視覚表現に対応するShapeを、x,y からの位置のオフセットとして返します。abstract ShapeGlyphVector. getGlyphVisualBounds(int glyphIndex)GlyphVector内の指定されたグリフの視覚境界を返します。ShapeTextLayout. getLogicalHighlightShape(int firstEndpoint, int secondEndpoint)指定された範囲の論理的な選択範囲を囲むShapeを、このTextLayoutの自然境界まで拡張して返します。ShapeTextLayout. getLogicalHighlightShape(int firstEndpoint, int secondEndpoint, Rectangle2D bounds)指定された範囲の論理的な選択範囲を囲むShapeを、指定されたboundsまで拡張して返します。abstract ShapeGlyphVector. getOutline()その内部がこのGlyphVectorの視覚表現に対応するShapeを返します。abstract ShapeGlyphVector. getOutline(float x, float y)x, yでレンダリングされたときに、その内部がこのGlyphVectorの視覚表現に対応するShapeを返します。ShapeGraphicAttribute. getOutline(AffineTransform tx)このGraphicAttributeによってレンダリングされる領域を表すShapeを返します。ShapeShapeGraphicAttribute. getOutline(AffineTransform tx)このShapeGraphicAttributeによってレンダリングされる領域を表すShapeを返します。ShapeTextLayout. getOutline(AffineTransform tx)このTextLayoutの輪郭を表すShapeを返します。ShapeTextLayout. getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint)指定された範囲の視覚的な選択範囲を囲むShapeを、境界まで拡張して返します。ShapeTextLayout. getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint, Rectangle2D bounds)指定された範囲の視覚的な選択範囲を囲む輪郭線を、boundsまで拡張して返します。Shape型のパラメータを持つjava.awt.fontのコンストラクタ コンストラクタ 説明 ShapeGraphicAttribute(Shape shape, int alignment, boolean stroke)指定されたShapeのShapeGraphicAttributeを構築します。 -
java.awt.geomでのShapeの使用
Shapeを実装するjava.awt.geomのクラス 修飾子と型 クラス 説明 classArc2DArc2Dは、表示枠の矩形、始角、角の大きさ(弧の長さ)、および閉じ方の種類(OPEN、CHORD、またはPIE)によって定義される2次元の弧を格納するすべてのオブジェクトの抽象スーパー・クラスです。static classArc2D.Doubleこのクラスは、double精度で指定された弧を定義します。static classArc2D.Floatこのクラスは、float精度で指定された弧を定義します。classAreaAreaオブジェクトは、2次元空間の閉じた領域について解像度に依存しない記述を格納および操作します。classCubicCurve2DCubicCurve2Dクラスは、(x,y)座標空間の3次パラメトリック曲線セグメントを定義します。static classCubicCurve2D.Doubledouble座標で指定された3次パラメトリック曲線セグメント。static classCubicCurve2D.Floatfloat座標で指定された3次パラメトリック曲線セグメント。classEllipse2DEllipse2Dクラスは、表示枠矩形によって定義される楕円を記述します。static classEllipse2D.DoubleDoubleクラスは、double精度で指定された楕円を定義します。static classEllipse2D.FloatFloatクラスは、float精度で指定された楕円を定義します。classGeneralPathGeneralPathクラスは、直線、2次曲線、および3次(ベジェ)曲線から作成された幾何学的パスを表します。classLine2DLine2Dクラスは、(x,y)座標空間のライン・セグメントを表します。static classLine2D.Doubledouble座標で指定されたライン・セグメントです。static classLine2D.Floatfloat座標で指定されたライン・セグメントです。classPath2DPath2Dクラスは、単純ですが柔軟性のある、任意の幾何学的パスを表す形状を提供します。static classPath2D.DoubleDoubleクラスは、座標が倍精度浮動小数点で格納される幾何学的パスを定義します。static classPath2D.FloatFloatクラスは、座標が単精度浮動小数点で格納される幾何学的パスを定義します。classQuadCurve2DQuadCurve2Dクラスは、(x,y)座標空間の2次パラメトリック曲線セグメントを定義します。static classQuadCurve2D.Doubledouble座標で指定された2次パラメトリック曲線セグメント。static classQuadCurve2D.Floatfloat座標で指定された2次パラメトリック曲線セグメント。classRectangle2DRectangle2Dクラスは、位置(x,y)およびサイズ(w x h)で定義される矩形を記述します。static classRectangle2D.DoubleDoubleクラスは、double座標で指定される矩形を定義します。static classRectangle2D.FloatFloatクラスは、float座標で指定される矩形を定義します。classRectangularShapeRectangularShapeは、幾何学的図形が矩形フレームによって定義される多くのShapeオブジェクトの基底クラスです。classRoundRectangle2DRoundRectangle2Dクラスは、位置(x,y)、サイズ(w x h)、および角を丸める弧の幅と高さで定義される丸みを付けた角を持つ矩形を定義します。static classRoundRectangle2D.DoubleDoubleクラスは、すべてがdouble座標で指定された、丸みを付けた角を持つ矩形を定義します。static classRoundRectangle2D.FloatFloatクラスは、すべてがfloat座標で指定された、丸みを付けた角を持つ矩形を定義します。Shapeを返すjava.awt.geomのメソッド 修飾子と型 メソッド 説明 ShapeAffineTransform. createTransformedShape(Shape pSrc)指定されたShapeがこの変換によって変換されたあと、その幾何学的図形で定義された新しいShapeオブジェクトを返します。ShapePath2D. createTransformedShape(AffineTransform at)このPath2Dの変換されたあとのバージョンを表す、新しいShapeを返します。Shape型のパラメータを持つjava.awt.geomのメソッド 修飾子と型 メソッド 説明 voidPath2D. append(Shape s, boolean connect)指定されたShapeオブジェクトの幾何学的図形をパスに追加します。その新しい幾何学的図形をライン・セグメントで既存のパス・セグメントに接続することも可能です。ShapeAffineTransform. createTransformedShape(Shape pSrc)指定されたShapeがこの変換によって変換されたあと、その幾何学的図形で定義された新しいShapeオブジェクトを返します。Shape型のパラメータを持つjava.awt.geomのコンストラクタ コンストラクタ 説明 Area(Shape s)Areaクラスは、指定されたShapeオブジェクトから領域幾何学的図形を作成します。Double(Shape s)任意のShapeオブジェクトから、新しい倍精度Path2Dオブジェクトを構築します。Double(Shape s, AffineTransform at)AffineTransformオブジェクトによって変換される、任意のShapeオブジェクトから新しい倍精度Path2Dオブジェクトを構築します。Float(Shape s)任意のShapeオブジェクトから、新しい単精度Path2Dを構築します。Float(Shape s, AffineTransform at)AffineTransformオブジェクトによって変換される、任意のShapeオブジェクトから新しい単精度Path2Dオブジェクトを構築します。GeneralPath(Shape s)任意のShapeオブジェクトから、新しいGeneralPathオブジェクトを構築します。 -
java.awt.image.renderableでのShapeの使用
Shapeを返すjava.awt.image.renderableのメソッド 修飾子と型 メソッド 説明 ShapeRenderContext. getAreaOfInterest()現在RenderContextに格納されている処理対象範囲を返します。Shape型のパラメータを持つjava.awt.image.renderableのメソッド 修飾子と型 メソッド 説明 voidRenderContext. setAreaOfInterest(Shape newAoi)現在の処理対象範囲を設定します。Shape型のパラメータを持つjava.awt.image.renderableのコンストラクタ コンストラクタ 説明 RenderContext(AffineTransform usr2dev, Shape aoi)指定された変換および処理対象範囲を使ってRenderContextを構築します。RenderContext(AffineTransform usr2dev, Shape aoi, RenderingHints hints)指定された変換を使ってRenderContextを構築します。 -
javax.swingでのShapeの使用
Shapeを返すjavax.swingのメソッド 修飾子と型 メソッド 説明 ShapeDebugGraphics. getClip()Graphics.getClipをオーバーライドします。Shape型のパラメータを持つjavax.swingのメソッド 修飾子と型 メソッド 説明 voidDebugGraphics. setClip(Shape clip)Graphics.setClipをオーバーライドします。 -
javax.swing.plaf.basicでのShapeの使用
Shapeを実装するjavax.swing.plaf.basicのクラス 修飾子と型 クラス 説明 static classBasicTextUI.BasicCaretインタフェースCaretのデフォルト実装。 -
javax.swing.textでのShapeの使用
Shapeを実装するjavax.swing.textのクラス 修飾子と型 クラス 説明 classDefaultCaretCaretのデフォルトの実装です。Shapeを返すjavax.swing.textのメソッド 修飾子と型 メソッド 説明 protected ShapeFieldView. adjustAllocation(Shape a)ビューに指定された割り当てを調整して、テキスト・フィールドに適した割当てにします。protected ShapeAsyncBoxView.ChildLocator. getChildAllocation(int index)子ビューに使う割り当てを取得します。ShapeAsyncBoxView.ChildLocator. getChildAllocation(int index, Shape a)子ビューに使う割り当てを取得します。ShapeAsyncBoxView. getChildAllocation(int index, Shape a)指定された子ビューの割り当てを取得します。ShapeBoxView. getChildAllocation(int index, Shape a)指定された子ビューの割り当てを取得します。ShapeCompositeView. getChildAllocation(int index, Shape a)指定された、レンダリングする子ビューへの割り当てを取得します。ShapeView. getChildAllocation(int index, Shape a)指定された子ビューの割り当てを取得します。ShapeAsyncBoxView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeBoxView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeComponentView. modelToView(int pos, Shape a, Position.Bias b)モデルの座標空間から、ビューの座標空間へのマッピングを提供します。ShapeCompositeView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeCompositeView. modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeFieldView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。abstract ShapeGlyphView.GlyphPainter. modelToView(GlyphView v, int pos, Position.Bias bias, Shape a)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeGlyphView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeIconView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapePasswordView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapePlainView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeView. modelToView(int pos, Shape a)非推奨。abstract ShapeView. modelToView(int pos, Shape a, Position.Bias b)指定した文字について、ドキュメント・モデル座標空間からビュー座標空間へのマッピングを提供します。ShapeView. modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a)指定した範囲について、ドキュメント・モデル座標空間からビュー座標空間へのマッピングを提供します。ShapeDefaultHighlighter.DefaultHighlightPainter. paintLayer(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view)ハイライトの一部分をペイントします。abstract ShapeLayeredHighlighter.LayerPainter. paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)Shape型のパラメータを持つjavax.swing.textのメソッド 修飾子と型 メソッド 説明 protected ShapeFieldView. adjustAllocation(Shape a)ビューに指定された割り当てを調整して、テキスト・フィールドに適した割当てにします。ViewParagraphView. breakView(int axis, float len, Shape a)指定された軸および指定された長さでこのビューを分割します。voidFlowView. changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)このビューが扱う位置で属性が変更されたことをドキュメントから通知します。voidGlyphView. changedUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱う位置で属性が変更されたことをドキュメントから通知します。voidLabelView. changedUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱う位置で属性が変更されたことをドキュメントから通知します。voidParagraphView. changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)このビューが扱う位置で属性が変更されたことをドキュメントから通知します。voidPlainView. changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)このビューが扱う位置で属性が変更されたことをドキュメントから通知します。voidView. changedUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱う位置で属性が変更されたことをドキュメントから通知します。voidWrappedPlainView. changedUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱う位置で属性が変更されたことをドキュメントから通知します。protected voidPlainView. damageLineRange(int line0, int line1, Shape a, Component host)指定された行範囲を再ペイントします。protected voidBoxView. forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f)指定されたDocumentEventを、モデルへの変更について通知する必要のある子ビューに転送します。protected voidTableView. forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f)protected voidView. forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f)指定されたDocumentEventを、モデルへの変更について通知する必要のある子ビューに転送します。protected voidView. forwardUpdateToView(View v, DocumentEvent e, Shape a, ViewFactory f)指定された子ビューにDocumentEventを転送します。ShapeAsyncBoxView.ChildLocator. getChildAllocation(int index, Shape a)子ビューに使う割り当てを取得します。ShapeAsyncBoxView. getChildAllocation(int index, Shape a)指定された子ビューの割り当てを取得します。ShapeBoxView. getChildAllocation(int index, Shape a)指定された子ビューの割り当てを取得します。ShapeCompositeView. getChildAllocation(int index, Shape a)指定された、レンダリングする子ビューへの割り当てを取得します。ShapeView. getChildAllocation(int index, Shape a)指定された子ビューの割り当てを取得します。protected intParagraphView. getClosestPositionTo(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet, int rowIndex, int x)xにもっとも近接したモデル内の位置を返します。protected RectangleCompositeView. getInsideAllocation(Shape a)ビューに指定された不変の割当てを、内部割当てを表す可変の割当てに変換します(上、左、下、右のインセットで指定された割当ての境界を削除する場合など)。protected intCompositeView. getNextEastWestVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)カーソルを置くことのできる、次の視覚的な位置を返します。方向は右(east)または左(west)になります。protected intCompositeView. getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)カーソルを置くことのできる、次の視覚的な位置を返します。方向は上(north)または下(south)になります。protected intParagraphView. getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)カーソルを置くことのできる、次の視覚的な位置を返します。方向は右(east)または左(west)になります。intAsyncBoxView. getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)キャレットが配置される可能性のある、視覚的に表された次のモデル位置を決定する手段を提供します。intCompositeView. getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)キャレットが配置される可能性のある、視覚的に表された次のモデル位置を決定する手段を提供します。intGlyphView. getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)キャレットが配置される可能性のある、視覚的に表された次のモデル位置を決定する手段を提供します。intGlyphView.GlyphPainter. getNextVisualPositionFrom(GlyphView v, int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)キャレットが配置される可能性のある、視覚的に表された次のモデル位置を決定する手段を提供します。intView. getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)キャレットが配置される可能性のある、視覚的に表された次のモデル位置を決定する手段を提供します。StringView. getToolTipText(float x, float y, Shape allocation)指定された位置にあるツールヒントのテキストを返します。intView. getViewIndex(float x, float y, Shape allocation)ビュー内の指定された位置を表す子ビュー・インデックスを返します。intAsyncBoxView.ChildLocator. getViewIndexAtPoint(float x, float y, Shape a)指定されたポイントの子ビュー・インデックスを取得します。voidFieldView. insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)このビューが扱う位置でドキュメントに何かが挿入されたことを通知します。voidFlowView. insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)このビューが扱う位置でドキュメントに何かが挿入されたことを通知します。voidGlyphView. insertUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱う位置でドキュメントに何かが挿入されたことを通知します。voidPlainView. insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)このビューが扱う位置でドキュメントに何かが挿入されたことを通知します。voidView. insertUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱う位置でドキュメントに何かが挿入されたことを通知します。voidWrappedPlainView. insertUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱う位置でドキュメントに何かが挿入されたことを通知します。voidZoneView. insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)このビューが扱う位置でドキュメントに何かが挿入されたことを通知します。protected RectanglePlainView. lineToRect(Shape a, int line)指定した行を表す矩形を判別します。ShapeAsyncBoxView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeBoxView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeComponentView. modelToView(int pos, Shape a, Position.Bias b)モデルの座標空間から、ビューの座標空間へのマッピングを提供します。ShapeCompositeView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeCompositeView. modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeFieldView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。abstract ShapeGlyphView.GlyphPainter. modelToView(GlyphView v, int pos, Position.Bias bias, Shape a)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeGlyphView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeIconView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapePasswordView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapePlainView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。ShapeView. modelToView(int pos, Shape a)非推奨。abstract ShapeView. modelToView(int pos, Shape a, Position.Bias b)指定した文字について、ドキュメント・モデル座標空間からビュー座標空間へのマッピングを提供します。ShapeView. modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a)指定した範囲について、ドキュメント・モデル座標空間からビュー座標空間へのマッピングを提供します。voidAsyncBoxView. paint(Graphics g, Shape alloc)指定された割当ておよびレンダリング表面を使って、ビューをレンダリングします。voidBoxView. paint(Graphics g, Shape allocation)特定のレンダリング表面とその表面上の領域を使用してBoxViewをレンダリングします。voidComponentView. paint(Graphics g, Shape a)実際のペイントの動作は通常、コンポーネントがその親コンテナ(このビューを収容するコンテナ)との関連付けから発生します。voidDefaultHighlighter.DefaultHighlightPainter. paint(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c)ハイライトをペイントします。voidFieldView. paint(Graphics g, Shape a)指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。abstract voidGlyphView.GlyphPainter. paint(GlyphView v, Graphics g, Shape a, int p0, int p1)指定された範囲を表すグリフをペイントします。voidGlyphView. paint(Graphics g, Shape a)一連のテキスト・スタイルの一部をレンダリングします。voidHighlighter.HighlightPainter. paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c)ハイライトをレンダリングします。voidIconView. paint(Graphics g, Shape a)アイコンをペイントします。voidParagraphView. paint(Graphics g, Shape a)指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。voidPlainView. paint(Graphics g, Shape a)指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。abstract voidView. paint(Graphics g, Shape allocation)指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。voidWrappedPlainView. paint(Graphics g, Shape a)指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。ShapeDefaultHighlighter.DefaultHighlightPainter. paintLayer(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view)ハイライトの一部分をペイントします。abstract ShapeLayeredHighlighter.LayerPainter. paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)voidDefaultHighlighter. paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)このメソッドは、葉View (LabelViewなど)のレンダリング中に呼び出されます。abstract voidLayeredHighlighter. paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)このメソッドは、葉View (LabelViewなど)のレンダリング中に呼び出されます。voidFieldView. removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)このビューが扱うドキュメント内の位置から何かが削除されたということを通知します。voidFlowView. removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)このビューが扱うドキュメント内の位置から何かが削除されたということを通知します。voidGlyphView. removeUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱うドキュメント内の位置から何かが削除されたということを通知します。voidPlainView. removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)このビューが扱うドキュメント内の位置から何かが削除されたということを通知します。voidView. removeUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱うドキュメント内の位置から何かが削除されたということを通知します。voidWrappedPlainView. removeUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱うドキュメント内の位置から何かが削除されたということを通知します。voidZoneView. removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)このビューが扱うドキュメント内の位置から何かが削除されたということを通知します。protected voidAsyncBoxView.ChildLocator. setAllocation(Shape a)現在割り当てられている形状を、現在の割り当てを格納するのに使用する矩形にコピーします。protected voidPlainView. updateDamage(DocumentEvent changes, Shape a, ViewFactory f)指定されたドキュメント・イベントでカバーされる変更領域を再ペイントします。protected voidAsyncBoxView. updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a)モデルから変更の通知を受け取った場合に、レイアウトを更新します。protected voidView. updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a)モデルから変更の通知を受け取った場合に、レイアウトを更新します。intAsyncBoxView. viewToModel(float x, float y, Shape a, Position.Bias[] biasReturn)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。intBoxView. viewToModel(float x, float y, Shape a, Position.Bias[] bias)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。intComponentView. viewToModel(float x, float y, Shape a, Position.Bias[] bias)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。intCompositeView. viewToModel(float x, float y, Shape a, Position.Bias[] bias)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。intFieldView. viewToModel(float fx, float fy, Shape a, Position.Bias[] bias)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。abstract intGlyphView.GlyphPainter. viewToModel(GlyphView v, float x, float y, Shape a, Position.Bias[] biasReturn)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。intGlyphView. viewToModel(float x, float y, Shape a, Position.Bias[] biasReturn)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。intIconView. viewToModel(float x, float y, Shape a, Position.Bias[] bias)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。intPasswordView. viewToModel(float fx, float fy, Shape a, Position.Bias[] bias)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。intPlainView. viewToModel(float x, float y, Shape a, Position.Bias[] bias)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。intView. viewToModel(float x, float y, Shape a)非推奨。abstract intView. viewToModel(float x, float y, Shape a, Position.Bias[] biasReturn)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。 -
javax.swing.text.htmlでのShapeの使用
Shapeを返すjavax.swing.text.htmlのメソッド 修飾子と型 メソッド 説明 ShapeImageView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。Shape型のパラメータを持つjavax.swing.text.htmlのメソッド 修飾子と型 メソッド 説明 voidBlockView. changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)voidImageView. changedUpdate(DocumentEvent e, Shape a, ViewFactory f)Elements属性の変更時に呼び出されます。voidInlineView. changedUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱う位置で属性が変更されたことをドキュメントから通知します。StringImageView. getToolTipText(float x, float y, Shape allocation)イメージの場合、ツールヒントのテキストは、ALT属性で指定したテキストになります。voidInlineView. insertUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱う位置でドキュメントに何かが挿入されたことを通知します。ShapeImageView. modelToView(int pos, Shape a, Position.Bias b)ドキュメント・モデルの座標空間からビューの座標空間へのマッピングを提供します。voidBlockView. paint(Graphics g, Shape allocation)指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。voidImageView. paint(Graphics g, Shape a)Viewをペイントします。voidListView. paint(Graphics g, Shape allocation)指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。voidParagraphView. paint(Graphics g, Shape a)指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。voidInlineView. removeUpdate(DocumentEvent e, Shape a, ViewFactory f)このビューが扱うドキュメント内の位置から何かが削除されたということを通知します。intImageView. viewToModel(float x, float y, Shape a, Position.Bias[] bias)ビューの座標空間からモデルの論理座標空間へのマッピングを提供します。
-