软件包 | 描述 |
---|---|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
Modifier and Type | Class and Description |
---|---|
class |
LabelView
一个
LabelView 是一个风格的文本块代表一个视图映射在文本模式的元素。
|
Modifier and Type | Method and Description |
---|---|
abstract float |
GlyphView.GlyphPainter.getAscent(GlyphView v) |
abstract int |
GlyphView.GlyphPainter.getBoundedPosition(GlyphView v, int p0, float x, float len)
确定表示在给定范围内的最大推进的模型位置。
|
abstract float |
GlyphView.GlyphPainter.getDescent(GlyphView v) |
abstract float |
GlyphView.GlyphPainter.getHeight(GlyphView v) |
int |
GlyphView.GlyphPainter.getNextVisualPositionFrom(GlyphView v, int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
提供了一种方法来确定下一步的直观模型,一个可能的地方插入位置。
|
GlyphView.GlyphPainter |
GlyphView.GlyphPainter.getPainter(GlyphView v, int p0, int p1)
创建一个画家使用给定的在此。
|
abstract float |
GlyphView.GlyphPainter.getSpan(GlyphView v, int p0, int p1, TabExpander e, float x)
确定跨了起始位置的符号(Tab扩展)。
|
abstract Shape |
GlyphView.GlyphPainter.modelToView(GlyphView v, int pos, Position.Bias bias, Shape a)
提供从文档模型坐标空间到映射到它的视图的坐标空间的映射。
|
abstract void |
GlyphView.GlyphPainter.paint(GlyphView v, Graphics g, Shape a, int p0, int p1)
涂料代表给定的范围内的符号。
|
abstract int |
GlyphView.GlyphPainter.viewToModel(GlyphView v, float x, float y, Shape a, Position.Bias[] biasReturn)
从视图坐标空间提供一个映射到模型的逻辑坐标空间。
|
Modifier and Type | Class and Description |
---|---|
class |
InlineView
显示基于CSS属性的
内联元素风格。
|
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.