Uses of Interface
java.awt.Shape
-
Packages that use Shape 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.font 提供与字体相关的类和界面。java.awt.geom 提供Java 2D类,用于定义和执行与二维几何体相关的对象的操作。java.awt.image.renderable 提供用于生成与渲染无关的图像的类和接口。javax.swing 提供一组“轻量级”(全Java语言)组件,这些组件在所有平台上尽可能地工作。javax.swing.plaf.basic 提供根据Basic外观构建的用户界面对象。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。javax.swing.text.html 提供类HTMLEditorKit以及用于创建HTML文本编辑器的支持类。 -
-
Uses of Shape in java.awt
Classes in java.awt that implement Shape 变量和类型 类 描述 classPolygonPolygon类封装了坐标空间内封闭的二维区域的描述。classRectangleRectangle指定坐标空间中的区域,该区域由坐标空间中的Rectangle对象的左上角点(x,y),其宽度和高度包围。Methods in java.awt that return Shape 变量和类型 方法 描述 ShapeBasicStroke. createStrokedShape(Shape s)返回Shape其内部定义指定的Shape的描边轮廓。ShapeStroke. createStrokedShape(Shape p)返回轮廓Shape,该轮廓包含根据实现Stroke接口的对象定义的规则描绘Shape时应绘制的区域。abstract ShapeGraphics. getClip()获取当前剪切区域。ShapeWindow. getShape()返回窗口的形状。Methods in java.awt with parameters of type Shape 变量和类型 方法 描述 abstract voidGraphics2D. clip(Shape s)将当前Clip与指定的Shape的内部Shape,并将Clip设置为生成的交点。ShapeBasicStroke. createStrokedShape(Shape s)返回Shape其内部定义指定的Shape的描边轮廓。ShapeStroke. createStrokedShape(Shape p)返回轮廓Shape,该轮廓包含根据实现Stroke接口的对象定义的规则描绘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是否与设备空间中指定的Shape相交。abstract voidGraphics. setClip(Shape clip)将当前剪切区域设置为任意剪辑形状。voidComponent. setMixingCutoutShape(Shape shape)为这个轻量级组件设置“混合切口”形状。voidWindow. setShape(Shape shape)设置窗口的形状。 -
Uses of Shape in java.awt.font
Methods in java.awt.font that return Shape 变量和类型 方法 描述 ShapeTextLayout. getBlackBoxBounds(int firstEndpoint, int secondEndpoint)返回指定范围内字符的黑框边界。ShapeTextLayout. getCaretShape(TextHitInfo hit)返回Shape代表在指定的打这个的自然边界中插入符号TextLayout。ShapeTextLayout. getCaretShape(TextHitInfo hit, Rectangle2D bounds)Shape[]TextLayout. getCaretShapes(int offset)返回与强插入符号和弱插入符号对应的两个路径。Shape[]TextLayout. getCaretShapes(int offset, Rectangle2D bounds)返回与强插入符号和弱插入符号对应的两个路径。Shape[]TextLayout. getCaretShapes(int offset, Rectangle2D bounds, TextLayout.CaretPolicy policy)返回与强插入符号和弱插入符号对应的两个路径。abstract ShapeGlyphVector. getGlyphLogicalBounds(int glyphIndex)返回此GlyphVector指定字形的逻辑边界。abstract ShapeGlyphVector. getGlyphOutline(int glyphIndex)返回Shape其内部对应于此GlyphVector指定字形的可视表示GlyphVector。ShapeGlyphVector. getGlyphOutline(int glyphIndex, float x, float y)返回Shape其内部对应于此GlyphVector指定字形的可视表示GlyphVector,偏移到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()返回Shape其内部对应于此GlyphVector的可视化表示GlyphVector。abstract ShapeGlyphVector. getOutline(float x, float y)返回Shape其内部对应于在x,y渲染时此GlyphVector的可视表示形式。ShapeGraphicAttribute. getOutline(AffineTransform tx)返回Shape,表示此GraphicAttribute渲染的区域。ShapeShapeGraphicAttribute. getOutline(AffineTransform tx)返回Shape,表示此ShapeGraphicAttribute呈现的区域。ShapeTextLayout. getOutline(AffineTransform tx)返回Shape表示此TextLayout的轮廓。ShapeTextLayout. getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint)返回一个Shape包含指定范围内的视觉选择,扩展到边界。ShapeTextLayout. getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint, Rectangle2D bounds)返回包含指定范围内的可视选择的路径,扩展为bounds。Constructors in java.awt.font with parameters of type Shape 构造器 描述 ShapeGraphicAttribute(Shape shape, int alignment, boolean stroke)构造一个ShapeGraphicAttribute指定的Shape。 -
Uses of Shape in java.awt.geom
Classes in java.awt.geom that implement Shape 变量和类型 类 描述 classArc2DArc2D是用于存储由边界矩形限定的2D弧的所有对象的抽象超,起始角度,角跨越(弧的长度),和一个闭合型(OPEN,CHORD,或PIE)。static classArc2D.Double此类定义以double精度指定的弧。static classArc2D.Float此类定义以float精度指定的弧。classAreaArea对象存储和操作二维空间的封闭区域的与分辨率无关的描述。classCubicCurve2DCubicCurve2D类在(x,y)坐标空间中定义了三次参数曲线段。static classCubicCurve2D.Double用double坐标指定的三次参数曲线段。static classCubicCurve2D.Float用float坐标指定的三次参数曲线段。classEllipse2DEllipse2D类描述了由框架矩形定义的椭圆。static classEllipse2D.DoubleDouble类定义以double精度指定的椭圆。static classEllipse2D.FloatFloat类定义以float精度指定的椭圆。classGeneralPathGeneralPath类表示由直线和二次和三次(B?zier)曲线构成的几何路径。classLine2D此Line2D表示(x,y)坐标空间中的线段。static classLine2D.Double用双坐标指定的线段。static classLine2D.Float用浮点坐标指定的线段。classPath2DPath2D类提供简单而灵活的形状,表示任意几何路径。static classPath2D.DoubleDouble类定义了一个几何路径,其坐标以双精度浮点存储。static classPath2D.FloatFloat类定义了一个几何路径,其坐标存储在单精度浮点中。classQuadCurve2DQuadCurve2D类定义(x,y)坐标空间中的二次参数曲线段。static classQuadCurve2D.Double用double坐标指定的二次参数曲线段。static classQuadCurve2D.Float用float坐标指定的二次参数曲线段。classRectangle2DRectangle2D类描述由位置(x,y)和尺寸(w x h)定义的矩形。static classRectangle2D.DoubleDouble类定义以双坐标指定的矩形。static classRectangle2D.FloatFloat类定义以float坐标指定的矩形。classRectangularShapeRectangularShape是许多Shape对象的基类,其几何形状由矩形框架定义。classRoundRectangle2DRoundRectangle2D类定义了一个矩形,其圆角由位置(x,y),尺寸(w x h)以及(w x h)的宽度和高度定义。static classRoundRectangle2D.DoubleDouble类定义了一个圆角矩形,全部在double坐标中指定。static classRoundRectangle2D.FloatFloat类定义了一个圆角矩形,全部在float坐标中指定。Methods in java.awt.geom that return Shape 变量和类型 方法 描述 ShapeAffineTransform. createTransformedShape(Shape pSrc)返回由此变换转换后由指定的Shape的几何定义的新Shape对象。ShapePath2D. createTransformedShape(AffineTransform at)返回一个新Shape表示此的转换版本Path2D。Methods in java.awt.geom with parameters of type Shape 变量和类型 方法 描述 voidPath2D. append(Shape s, boolean connect)将指定的Shape对象的几何附加到路径,可能将新几何图形连接到具有线段的现有路径段。ShapeAffineTransform. createTransformedShape(Shape pSrc)返回由此变换转换后由指定的Shape的几何定义的新Shape对象。Constructors in java.awt.geom with parameters of type Shape 构造器 描述 Area(Shape s)Area类从指定的Shape对象创建区域几何。Double(Shape s)构造一个新的双精度Path2D从任意对象Shape对象。Double(Shape s, AffineTransform at)构造一个新的单精度Path2D从任意物体Shape对象,由一个转化AffineTransform对象。Float(Shape s)构造一个新的单精度Path2D从任意对象Shape对象。Float(Shape s, AffineTransform at)构造一个新的单精度Path2D从任意物体Shape对象,由一个转化AffineTransform对象。GeneralPath(Shape s)构造一个新GeneralPath从任意对象Shape对象。 -
Uses of Shape in java.awt.image.renderable
Methods in java.awt.image.renderable that return Shape 变量和类型 方法 描述 ShapeRenderContext. getAreaOfInterest()获取RenderContext中当前包含的感兴趣的ares。Methods in java.awt.image.renderable with parameters of type Shape 变量和类型 方法 描述 voidRenderContext. setAreaOfInterest(Shape newAoi)设置当前感兴趣的区域。Constructors in java.awt.image.renderable with parameters of type Shape 构造器 描述 RenderContext(AffineTransform usr2dev, Shape aoi)构造具有给定变换和感兴趣区域的RenderContext。RenderContext(AffineTransform usr2dev, Shape aoi, RenderingHints hints)使用给定的转换构造RenderContext。 -
Uses of Shape in javax.swing
Methods in javax.swing that return Shape 变量和类型 方法 描述 ShapeDebugGraphics. getClip()覆盖Graphics.getClip。Methods in javax.swing with parameters of type Shape 变量和类型 方法 描述 voidDebugGraphics. setClip(Shape clip)覆盖Graphics.setClip。 -
Uses of Shape in javax.swing.plaf.basic
Classes in javax.swing.plaf.basic that implement Shape 变量和类型 类 描述 static classBasicTextUI.BasicCaret接口Caret默认实现。 -
Uses of Shape in javax.swing.text
Classes in javax.swing.text that implement Shape 变量和类型 类 描述 classDefaultCaretCaret的默认实现。Methods in javax.swing.text that return Shape 变量和类型 方法 描述 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)Methods in javax.swing.text with parameters of type Shape 变量和类型 方法 描述 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 voidView. forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f)将给定的DocumentEvent转发到需要通知模型更改的子视图。protected voidView. forwardUpdateToView(View v, DocumentEvent e, Shape a, ViewFactory f)将DocumentEvent转发到给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)返回光标的下一个视觉位置,在东或西方向。protected intCompositeView. getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)返回光标的下一个视觉位置,在北或南方向。protected intParagraphView. getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)返回光标的下一个视觉位置,在东或西方向。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)当叶子视图(例如LabelView)呈现时,它们应调用此方法。abstract voidLayeredHighlighter. paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, 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)将当前分配的形状复制到用于存储当前分配的Rectangle中。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)提供从视图坐标空间到模型的逻辑坐标空间的映射。 -
Uses of Shape in javax.swing.text.html
Methods in javax.swing.text.html that return Shape 变量和类型 方法 描述 ShapeImageView. modelToView(int pos, Shape a, Position.Bias b)提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。Methods in javax.swing.text.html with parameters of type Shape 变量和类型 方法 描述 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)绘制视图。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)提供从视图坐标空间到模型的逻辑坐标空间的映射。
-