软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.font |
提供有关字体的类和接口。
|
java.awt.geom |
定义在二维几何相关的对象执行操作提供java 2D类。
|
java.awt.image.renderable |
提供用于生成渲染独立图像的类和接口。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
Modifier and Type | Class and Description |
---|---|
class |
Polygon
的
Polygon 类封装了一个描述一个封闭区域内,二维坐标空间。
|
class |
Rectangle
一个
Rectangle 指定一个坐标空间是由
Rectangle 对象的左上点
(x,y) 在坐标空间,封闭区域的宽度和高度。
|
Modifier and Type | Method and Description |
---|---|
Shape |
BasicStroke.createStrokedShape(Shape s)
返回一个
Shape 其内部定义的抚摸轮廓指定
Shape 。
|
Shape |
Stroke.createStrokedShape(Shape p)
返回一个轮廓
Shape 包围的地区,应该画在
Shape 时根据对象实施
Stroke 接口定义的规则。
|
abstract Shape |
Graphics.getClip()
获取当前剪辑区域。
|
Shape |
Window.getShape()
返回窗口的形状。
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Graphics2D.clip(Shape s)
与目前的
Clip 与指定的
Shape 室内设置产生的交叉
Clip 。
|
Shape |
BasicStroke.createStrokedShape(Shape s)
返回一个
Shape 其内部定义的抚摸轮廓指定
Shape 。
|
Shape |
Stroke.createStrokedShape(Shape p)
返回一个轮廓
Shape 包围的地区,应该画在
Shape 时根据对象实施
Stroke 接口定义的规则。
|
abstract void |
Graphics2D.draw(Shape s)
下一
Shape 使用当前
Graphics2D 语境设置的轮廓。
|
abstract void |
Graphics2D.fill(Shape s)
填补了一
Shape 使用的
Graphics2D 语境设置的内部。
|
abstract boolean |
Graphics2D.hit(Rectangle rect, Shape s, boolean onStroke)
检查是否
Shape 相交的指定
Rectangle ,这是设备空间。
|
abstract void |
Graphics.setClip(Shape clip)
将当前剪辑区域设置为任意形状的剪辑区域。
|
void |
Dialog.setShape(Shape shape)
设置窗口的形状。
|
void |
Window.setShape(Shape shape)
设置窗口的形状。
|
void |
Frame.setShape(Shape shape)
设置窗口的形状。
|
Modifier and Type | Method and Description |
---|---|
Shape |
TextLayout.getBlackBoxBounds(int firstEndpoint, int secondEndpoint)
返回指定范围内的字符的黑框范围。
|
Shape |
TextLayout.getCaretShape(TextHitInfo hit)
返回一个
Shape 代表在指定的打在这
TextLayout 自然界的符号。
|
Shape |
TextLayout.getCaretShape(TextHitInfo hit, Rectangle2D bounds)
返回一个
Shape 代表在指定的打在指定边界的符号。
|
Shape[] |
TextLayout.getCaretShapes(int offset)
返回两个路径对应的强与弱符号。
|
Shape[] |
TextLayout.getCaretShapes(int offset, Rectangle2D bounds)
返回两个路径对应的强与弱符号。
|
Shape[] |
TextLayout.getCaretShapes(int offset, Rectangle2D bounds, TextLayout.CaretPolicy policy)
返回两个路径对应的强与弱符号。
|
abstract Shape |
GlyphVector.getGlyphLogicalBounds(int glyphIndex)
返回指定符号的逻辑范围内这
GlyphVector 。
|
abstract Shape |
GlyphVector.getGlyphOutline(int glyphIndex)
返回一个
Shape 其内部对应于指定的符号的视觉表现在这
GlyphVector 。
|
Shape |
GlyphVector.getGlyphOutline(int glyphIndex, float x, float y)
返回一个
Shape 其内部对应于指定的符号的视觉表现在这
GlyphVector ,抵消X, Y.
|
abstract Shape |
GlyphVector.getGlyphVisualBounds(int glyphIndex)
返回指定符号的视觉范围内的
GlyphVector 。
|
Shape |
TextLayout.getLogicalHighlightShape(int firstEndpoint, int secondEndpoint)
返回一个
Shape 外围逻辑选择在规定的范围内,延伸到这
TextLayout 自然界限。
|
Shape |
TextLayout.getLogicalHighlightShape(int firstEndpoint, int secondEndpoint, Rectangle2D bounds)
返回一个
Shape 外围逻辑选择在规定的范围内,扩展到指定的
bounds 。
|
abstract Shape |
GlyphVector.getOutline()
返回一个
Shape 其内部对应于该
GlyphVector 视觉表现。
|
Shape |
ShapeGraphicAttribute.getOutline(AffineTransform tx)
返回一个
Shape 代表区域,这
ShapeGraphicAttribute 呈现。
|
Shape |
GraphicAttribute.getOutline(AffineTransform tx)
返回一个
Shape 代表区域,这
GraphicAttribute 呈现。
|
Shape |
TextLayout.getOutline(AffineTransform tx)
返回一个
Shape 表示此
TextLayout 概述。
|
abstract Shape |
GlyphVector.getOutline(float x, float y)
返回一个
Shape 其内部对应于该
GlyphVector 视觉表现呈现在X,Y
|
Shape |
TextLayout.getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint)
返回一个
Shape 内附视觉选择在指定的范围,扩展到边界。
|
Shape |
TextLayout.getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint, Rectangle2D bounds)
返回一个路径包围的视觉选择指定的范围,扩展到
bounds 。
|
Constructor and Description |
---|
ShapeGraphicAttribute(Shape shape, int alignment, boolean stroke)
构建了一个指定的
Shape
ShapeGraphicAttribute 。
|
Modifier and Type | Class and Description |
---|---|
class |
Arc2D
Arc2D 是所有对象的框架矩形,定义二维圆弧型存储抽象父类的起始角度,角度范围(弧长),和一个封闭式(
OPEN ,
CHORD ,或
PIE )。
|
static class |
Arc2D.Double
这个类定义了一个弧
double 指定精度。
|
static class |
Arc2D.Float
这个类定义了一个弧
float 指定精度。
|
class |
Area
一个
Area 对象存储和操纵一个分辨率独立描述封闭区域的二维空间。
|
class |
CubicCurve2D
的
CubicCurve2D 类
(x,y) 坐标空间中定义了一个三次参数曲线段。
|
static class |
CubicCurve2D.Double
三次参数曲线段指定
double 坐标。
|
static class |
CubicCurve2D.Float
三次参数曲线段指定
float 坐标。
|
class |
Ellipse2D
的
Ellipse2D 类描述了一个椭圆,是由一个框架矩形定义。
|
static class |
Ellipse2D.Double
的
Double 类定义了一个在
double 精度指定椭圆。
|
static class |
Ellipse2D.Float
的
Float 类定义了一个在
float 精度指定椭圆。
|
class |
GeneralPath
GeneralPath 类表示的几何路径由直线和二次和三次(Bézier曲线é)。
|
class |
Line2D
这
Line2D 代表
(x,y) 坐标空间线段。
|
static class |
Line2D.Double
指定有双坐标的线段。
|
static class |
Line2D.Float
用浮坐标指定的线段。
|
class |
Path2D
的
Path2D 类提供了一个简单而灵活的形状,表示一个任意的几何路径。
|
static class |
Path2D.Double
Double 类定义的几何路径存储在双精度浮点坐标。
|
static class |
Path2D.Float
Float 类定义的几何路径存储在单精度浮点坐标。
|
class |
QuadCurve2D
的
QuadCurve2D 类
(x,y) 坐标空间中定义了一个二次参数曲线段。
|
static class |
QuadCurve2D.Double
二次参数曲线段指定
double 坐标。
|
static class |
QuadCurve2D.Float
二次参数曲线段指定
float 坐标。
|
class |
Rectangle2D
的
Rectangle2D 类描述了一个矩形的位置和尺寸
(w x h)
(x,y) 。
|
static class |
Rectangle2D.Double
的
Double 类定义了一个矩形的双坐标指定。
|
static class |
Rectangle2D.Float
的
Float 类定义了一个矩形指定浮点坐标。
|
class |
RectangularShape
RectangularShape 是一些
Shape 物体的几何是由一个矩形框定义的基类。
|
class |
RoundRectangle2D
的
RoundRectangle2D 类定义了一个圆角矩形的位置
(x,y) 定义、维度和
(w x h) ,与弧的宽度和高度的角轮。
|
static class |
RoundRectangle2D.Double
的
Double 类定义了一个圆角矩形都指定
double 坐标。
|
static class |
RoundRectangle2D.Float
的
Float 类定义了一个圆角矩形都指定
float 坐标。
|
Modifier and Type | Method and Description |
---|---|
Shape |
Path2D.createTransformedShape(AffineTransform at)
返回表示这
Path2D 转换版本的新
Shape 。
|
Shape |
AffineTransform.createTransformedShape(Shape pSrc)
返回由指定的
Shape 几何后已由该变换新的
Shape 对象。
|
Modifier and Type | Method and Description |
---|---|
void |
Path2D.append(Shape s, boolean connect)
追加指定的
Shape 对象的几何路径,可能是连接新几何到现有的路径段与直线段。
|
Shape |
AffineTransform.createTransformedShape(Shape pSrc)
返回由指定的
Shape 几何后已由该变换新的
Shape 对象。
|
Constructor and Description |
---|
Area(Shape s)
Area 类创建的对象从指定的
Shape 面积几何。
|
Double(Shape s)
构建了一种新的双精度
Path2D 对象从任意
Shape 对象。
|
Double(Shape s, AffineTransform at)
|
Float(Shape s)
构建了一种新的单精度
Path2D 对象从任意
Shape 对象。
|
Float(Shape s, AffineTransform at)
|
GeneralPath(Shape s)
构建了一种新的
GeneralPath 对象从任意
Shape 对象。
|
Modifier and Type | Method and Description |
---|---|
Shape |
RenderContext.getAreaOfInterest()
获取利益包含在当前rendercontext战神。
|
Modifier and Type | Method and Description |
---|---|
void |
RenderContext.setAreaOfInterest(Shape newAoi)
设置当前的兴趣区域。
|
Constructor and Description |
---|
RenderContext(AffineTransform usr2dev, Shape aoi)
构建一个与给定的变换和感兴趣的领域rendercontext。
|
RenderContext(AffineTransform usr2dev, Shape aoi, RenderingHints hints)
构建一个与给定的变换rendercontext。
|
Modifier and Type | Method and Description |
---|---|
Shape |
DebugGraphics.getClip()
覆盖
Graphics.getClip 。
|
Modifier and Type | Method and Description |
---|---|
void |
DebugGraphics.setClip(Shape clip)
覆盖
Graphics.setClip 。
|
Modifier and Type | Class and Description |
---|---|
static class |
BasicTextUI.BasicCaret |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCaret
卡雷特的默认实现。
|
Modifier and Type | Method and Description |
---|---|
protected Shape |
FieldView.adjustAllocation(Shape a)
调整给定视图的分配,以成为文本字段的一个合适的分配。
|
protected Shape |
AsyncBoxView.ChildLocator.getChildAllocation(int index)
获取用于子视图的分配。
|
Shape |
View.getChildAllocation(int index, Shape a)
获取给定的子视图的配置。
|
Shape |
CompositeView.getChildAllocation(int index, Shape a)
获取给定的子视图渲染成分配。
|
Shape |
AsyncBoxView.getChildAllocation(int index, Shape a)
获取给定的子视图的配置。
|
Shape |
AsyncBoxView.ChildLocator.getChildAllocation(int index, Shape a)
获取用于子视图的分配。
|
Shape |
BoxView.getChildAllocation(int index, Shape a)
获取给定的子视图的配置。
|
abstract Shape |
GlyphView.GlyphPainter.modelToView(GlyphView v, int pos, Position.Bias bias, Shape a)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
View.modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a)
提供了一个映射,对于一个给定区域,从文档模型坐标空间到视图坐标空间。
|
Shape |
CompositeView.modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
View.modelToView(int pos, Shape a)
过时的。
|
Shape |
PasswordView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
abstract Shape |
View.modelToView(int pos, Shape a, Position.Bias b)
提供了一个映射,对于一个给定的字符,从文档模型坐标空间到视图坐标空间。
|
Shape |
CompositeView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
PlainView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
AsyncBoxView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
FieldView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
ComponentView.modelToView(int pos, Shape a, Position.Bias b)
从模型的坐标空间提供了一个映射到视图的映射。
|
Shape |
GlyphView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
BoxView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
IconView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
DefaultHighlighter.DefaultHighlightPainter.paintLayer(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view)
描绘突出的一部分。
|
abstract Shape |
LayeredHighlighter.LayerPainter.paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view) |
Modifier and Type | Method and Description |
---|---|
protected Shape |
FieldView.adjustAllocation(Shape a)
调整给定视图的分配,以成为文本字段的一个合适的分配。
|
View |
ParagraphView.breakView(int axis, float len, Shape a)
将此视图在给定长度上打破这个视图。
|
void |
WrappedPlainView.changedUpdate(DocumentEvent e, Shape a, ViewFactory f)
从该视图负责的位置上更改属性的文档的通知。
|
void |
View.changedUpdate(DocumentEvent e, Shape a, ViewFactory f)
从该视图负责的位置上更改属性的文档的通知。
|
void |
PlainView.changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)
从该视图负责的位置上更改属性的文档的通知。
|
void |
ParagraphView.changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)
从该视图负责的位置上更改属性的文档的通知。
|
void |
GlyphView.changedUpdate(DocumentEvent e, Shape a, ViewFactory f)
从该视图负责的位置上更改属性的文档的通知。
|
void |
FlowView.changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)
从该视图负责的位置上更改属性的文档的通知。
|
void |
LabelView.changedUpdate(DocumentEvent e, Shape a, ViewFactory f)
从该视图负责的位置上更改属性的文档的通知。
|
protected void |
PlainView.damageLineRange(int line0, int line1, Shape a, Component host)
油漆线范围。
|
protected void |
View.forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f)
提出了
DocumentEvent ,需要通知的变化对模型的子视图。
|
protected void |
BoxView.forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f)
提出了
DocumentEvent ,需要通知的变化对模型的子视图。
|
protected void |
TableView.forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f) |
protected void |
View.forwardUpdateToView(View v, DocumentEvent e, Shape a, ViewFactory f)
将
DocumentEvent 去给孩子看。
|
Shape |
View.getChildAllocation(int index, Shape a)
获取给定的子视图的配置。
|
Shape |
CompositeView.getChildAllocation(int index, Shape a)
获取给定的子视图渲染成分配。
|
Shape |
AsyncBoxView.getChildAllocation(int index, Shape a)
获取给定的子视图的配置。
|
Shape |
AsyncBoxView.ChildLocator.getChildAllocation(int index, Shape a)
获取用于子视图的分配。
|
Shape |
BoxView.getChildAllocation(int index, Shape a)
获取给定的子视图的配置。
|
protected int |
ParagraphView.getClosestPositionTo(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet, int rowIndex, int x)
返回最近的位置
x 模型。
|
protected Rectangle |
CompositeView.getInsideAllocation(Shape a)
翻译给视图一个可变分配代表的内部分配不分配(即
|
protected int |
CompositeView.getNextEastWestVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
返回光标的下一个视觉位置,无论是在东部或西部方向。
|
protected int |
CompositeView.getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
返回光标的下一个视觉位置,无论是在北部或南方向。
|
protected int |
ParagraphView.getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
返回光标的下一个视觉位置,无论是在东部或西部方向。
|
int |
GlyphView.GlyphPainter.getNextVisualPositionFrom(GlyphView v, int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
提供了一种方法来确定下一步的直观模型,一个可能的地方插入位置。
|
int |
View.getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
提供了一种方法来确定下一个直观模型的位置在哪一个可能的地方插入。
|
int |
CompositeView.getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
提供了一种方法来确定下一步的直观模型,一个可能的地方插入位置。
|
int |
AsyncBoxView.getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
提供了一种方法来确定下一步的直观模型,一个可能的地方插入位置。
|
int |
GlyphView.getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
提供了一种方法来确定下一步的直观模型,一个可能的地方插入位置。
|
String |
View.getToolTipText(float x, float y, Shape allocation)
返回指定位置的工具提示文本。
|
int |
View.getViewIndex(float x, float y, Shape allocation)
返回表示视图中给定位置的子视图索引。
|
int |
AsyncBoxView.ChildLocator.getViewIndexAtPoint(float x, float y, Shape a)
取子视图索引在给定的点。
|
void |
WrappedPlainView.insertUpdate(DocumentEvent e, Shape a, ViewFactory f)
给出了一个在该视图负责的位置上插入到文档中的通知。
|
void |
View.insertUpdate(DocumentEvent e, Shape a, ViewFactory f)
给出了一个在该视图负责的位置上插入到文档中的通知。
|
void |
PlainView.insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)
给出了一个在该视图负责的位置上插入到文档中的通知。
|
void |
FieldView.insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)
给出了一个在该视图负责的位置上插入到文档中的通知。
|
void |
ZoneView.insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)
给出了一个在该视图负责的位置上插入到文档中的通知。
|
void |
GlyphView.insertUpdate(DocumentEvent e, Shape a, ViewFactory f)
给出了一个在该视图负责的位置上插入到文档中的通知。
|
void |
FlowView.insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)
给出了一个在该视图负责的位置上插入到文档中的通知。
|
protected Rectangle |
PlainView.lineToRect(Shape a, int line)
确定表示给定行的矩形。
|
abstract Shape |
GlyphView.GlyphPainter.modelToView(GlyphView v, int pos, Position.Bias bias, Shape a)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
View.modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a)
提供了一个映射,对于一个给定区域,从文档模型坐标空间到视图坐标空间。
|
Shape |
CompositeView.modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
View.modelToView(int pos, Shape a)
过时的。
|
Shape |
PasswordView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
abstract Shape |
View.modelToView(int pos, Shape a, Position.Bias b)
提供了一个映射,对于一个给定的字符,从文档模型坐标空间到视图坐标空间。
|
Shape |
CompositeView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
PlainView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
AsyncBoxView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
FieldView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
ComponentView.modelToView(int pos, Shape a, Position.Bias b)
从模型的坐标空间提供了一个映射到视图的映射。
|
Shape |
GlyphView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
BoxView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Shape |
IconView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
abstract void |
GlyphView.GlyphPainter.paint(GlyphView v, Graphics g, Shape a, int p0, int p1)
涂料代表给定的范围内的符号。
|
void |
DefaultHighlighter.DefaultHighlightPainter.paint(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c)
油漆一个亮点。
|
void |
Highlighter.HighlightPainter.paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c)
呈现突出。
|
void |
WrappedPlainView.paint(Graphics g, Shape a)
使用给定的渲染表面和表面上的区域。
|
abstract void |
View.paint(Graphics g, Shape allocation)
使用给定的渲染表面和表面上的区域。
|
void |
PlainView.paint(Graphics g, Shape a)
使用给定的渲染表面和表面上的区域。
|
void |
AsyncBoxView.paint(Graphics g, Shape alloc)
使用给定的分配和渲染表面渲染视图。
|
void |
FieldView.paint(Graphics g, Shape a)
使用给定的渲染表面和表面上的区域。
|
void |
ComponentView.paint(Graphics g, Shape a)
真正的油漆行为自然发生的关联,该组件已与它的父容器(同一个容器承载此视图)。
|
void |
ParagraphView.paint(Graphics g, Shape a)
使用给定的渲染表面和表面上的区域。
|
void |
GlyphView.paint(Graphics g, Shape a)
渲染一个文本样式运行的一部分。
|
void |
BoxView.paint(Graphics g, Shape allocation)
使
BoxView 使用给定的表面绘制和面积,表面。
|
void |
IconView.paint(Graphics g, Shape a)
油漆图标。
|
Shape |
DefaultHighlighter.DefaultHighlightPainter.paintLayer(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view)
描绘突出的一部分。
|
abstract Shape |
LayeredHighlighter.LayerPainter.paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view) |
void |
DefaultHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
当叶子视图(如labelview)绘制他们应该调用这个方法。
|
abstract void |
LayeredHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
当叶子视图(如labelview)绘制他们应该调用这个方法。
|
void |
WrappedPlainView.removeUpdate(DocumentEvent e, Shape a, ViewFactory f)
给予通知,该视图是由该视图负责的位置中的某个文件被删除的。
|
void |
View.removeUpdate(DocumentEvent e, Shape a, ViewFactory f)
给予通知,该视图是由该视图负责的位置中的某个文件被删除的。
|
void |
PlainView.removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)
给予通知,该视图是由该视图负责的位置中的某个文件被删除的。
|
void |
FieldView.removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)
给予通知,该视图是由该视图负责的位置中的某个文件被删除的。
|
void |
ZoneView.removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)
给予通知,该视图是由该视图负责的位置中的某个文件被删除的。
|
void |
GlyphView.removeUpdate(DocumentEvent e, Shape a, ViewFactory f)
给予通知,该视图是由该视图负责的位置中的某个文件被删除的。
|
void |
FlowView.removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)
给予通知,该视图是由该视图负责的位置中的某个文件被删除的。
|
protected void |
AsyncBoxView.ChildLocator.setAllocation(Shape a)
将当前分配的形状复制到用于存储当前分配的矩形中。
|
protected void |
PlainView.updateDamage(DocumentEvent changes, Shape a, ViewFactory f)
重画变化覆盖给定区域文件事件。
|
protected void |
View.updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a)
响应来自模型的更改的通知更新布局。
|
protected void |
AsyncBoxView.updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a)
响应来自模型的更改的通知更新布局。
|
int |
View.viewToModel(float x, float y, Shape a)
过时的。
|
int |
PasswordView.viewToModel(float fx, float fy, Shape a, Position.Bias[] bias)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
abstract int |
View.viewToModel(float x, float y, Shape a, Position.Bias[] biasReturn)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
int |
CompositeView.viewToModel(float x, float y, Shape a, Position.Bias[] bias)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
int |
PlainView.viewToModel(float fx, float fy, Shape a, Position.Bias[] bias)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
int |
AsyncBoxView.viewToModel(float x, float y, Shape a, Position.Bias[] biasReturn)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
int |
FieldView.viewToModel(float fx, float fy, Shape a, Position.Bias[] bias)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
int |
ComponentView.viewToModel(float x, float y, Shape a, Position.Bias[] bias)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
int |
GlyphView.viewToModel(float x, float y, Shape a, Position.Bias[] biasReturn)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
int |
BoxView.viewToModel(float x, float y, Shape a, Position.Bias[] bias)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
int |
IconView.viewToModel(float x, float y, Shape a, Position.Bias[] bias)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
abstract int |
GlyphView.GlyphPainter.viewToModel(GlyphView v, float x, float y, Shape a, Position.Bias[] biasReturn)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
Modifier and Type | Method and Description |
---|---|
Shape |
ImageView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
Modifier and Type | Method and Description |
---|---|
void |
BlockView.changedUpdate(DocumentEvent changes, Shape a, ViewFactory f) |
void |
InlineView.changedUpdate(DocumentEvent e, Shape a, ViewFactory f)
从该视图负责的位置上更改属性的文档的通知。
|
void |
ImageView.changedUpdate(DocumentEvent e, Shape a, ViewFactory f)
当元素属性更改时调用。
|
String |
ImageView.getToolTipText(float x, float y, Shape allocation)
对于图像的工具提示文本来自与
ALT 属性指定文本。
|
void |
InlineView.insertUpdate(DocumentEvent e, Shape a, ViewFactory f)
给出了一个在该视图负责的位置上插入到文档中的通知。
|
Shape |
ImageView.modelToView(int pos, Shape a, Position.Bias b)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
void |
BlockView.paint(Graphics g, Shape allocation)
使用给定的渲染表面和表面上的区域。
|
void |
ImageView.paint(Graphics g, Shape a)
画风景。
|
void |
ParagraphView.paint(Graphics g, Shape a)
使用给定的渲染表面和表面上的区域。
|
void |
ListView.paint(Graphics g, Shape allocation)
使用给定的渲染表面和表面上的区域。
|
void |
InlineView.removeUpdate(DocumentEvent e, Shape a, ViewFactory f)
给予通知,该视图是由该视图负责的位置中的某个文件被删除的。
|
int |
ImageView.viewToModel(float x, float y, Shape a, Position.Bias[] bias)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.