Uses of Class
javax.swing.text.View
-
Packages that use View 软件包 描述 javax.swing.plaf 提供一个接口和许多抽象类,Swing使用它们来提供其可插入的外观功能。javax.swing.plaf.basic 提供根据Basic外观构建的用户界面对象。javax.swing.plaf.multi 提供组合两种或多种外观的用户界面对象。javax.swing.plaf.synth Synth是一种可换肤的外观和感觉,其中所有的绘画都被委派。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。javax.swing.text.html 提供类HTMLEditorKit以及用于创建HTML文本编辑器的支持类。 -
-
Uses of View in javax.swing.plaf
Methods in javax.swing.plaf that return View 变量和类型 方法 描述 abstract ViewTextUI. getRootView(JTextComponent t)通过分配可以遍历的关联文本组件(即层次结构的根)来获取视图,以确定模型在空间上的表示方式。 -
Uses of View in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic that return View 变量和类型 方法 描述 ViewBasicPasswordFieldUI. create(Element elem)为元素创建视图(PasswordView)。ViewBasicTextAreaUI. create(Element elem)创建元素的视图。ViewBasicTextFieldUI. create(Element elem)基于元素创建视图(FieldView)。ViewBasicTextUI. create(Element elem)创建元素的视图。ViewBasicTextUI. create(Element elem, int p0, int p1)创建元素的视图。static ViewBasicHTML. createHTMLView(JComponent c, String html)为给定的组件和html字符串创建一个html渲染器。ViewBasicTextUI. getRootView(JTextComponent tc)通过分配可以遍历的关联文本组件(即层次结构的根)来获取视图,以确定模型在空间上的表示方式。protected ViewBasicTabbedPaneUI. getTextViewForTab(int tabIndex)返回呈现指定选项卡的样式化文本(HTML)所需的文本View对象;如果此选项卡不需要专门的文本呈现,则返回null。Methods in javax.swing.plaf.basic with parameters of type View 变量和类型 方法 描述 static intBasicHTML. getHTMLBaseline(View view, int w, int h)返回html渲染器的基线。protected voidBasicTextUI. setView(View v)设置视图层次结构的当前根,并调用invalidate()。 -
Uses of View in javax.swing.plaf.multi
Methods in javax.swing.plaf.multi that return View 变量和类型 方法 描述 ViewMultiTextUI. getRootView(JTextComponent a)在由此对象处理的每个UI上调用getRootView方法。 -
Uses of View in javax.swing.plaf.synth
Methods in javax.swing.plaf.synth that return View 变量和类型 方法 描述 ViewSynthPasswordFieldUI. create(Element elem)为元素创建视图(PasswordView)。 -
Uses of View in javax.swing.text
Subclasses of View in javax.swing.text 变量和类型 类 描述 classAsyncBoxView一个异步布局的框。classBoxView通过沿轴线平铺子项将其子项排列为盒子形状的视图。classComponentView实现视图接口的组件装饰器。classCompositeViewCompositeView是一个抽象的View实现,它管理一个或多个子视图。classFieldView将多行纯文本视图扩展为适合单行编辑器视图。classFlowView试图将其子项传递到某个部分受限空间的视图。classGlyphViewGlyphView是一种样式化的文本块,表示映射到文本模型中元素的视图。classIconView实现视图界面的图标装饰器。classLabelViewLabelView是一种样式化的文本块,表示映射到文本模型中的元素的视图。classParagraphView包含多种字体,颜色,组件,图标等的简单换行段落的视图classPasswordView实现适用于JPasswordField UI实现的View。classPlainView实现具有一种字体和颜色的文本的简单多行文本视图的View界面。classTableView实现表的View接口,该接口由元素结构组成,其中此视图负责的元素的子元素表示行,行元素的子元素是单元格。classTableView.TableCell已过时。表格单元格现在可以是任何View实现。classTableView.TableRow行的看法在以行为中心的桌里。classWrappedPlainView执行换行的纯文本(只有一种字体和颜色的文本)视图。classZoneViewZoneView是一种View实现,它创建的区域在显示或模型/视图转换需要之前不会创建或存储子视图。Fields in javax.swing.text declared as View 变量和类型 字段 描述 protected ViewFlowView. layoutPool这些视图表示此视图表示的元素的子元素(要转换为物理视图的逻辑视图)。Methods in javax.swing.text that return View 变量和类型 方法 描述 ViewGlyphView. breakView(int axis, int p0, float pos, float len)在给定长度的给定轴上打破此视图。ViewParagraphView. breakView(int axis, float len, Shape a)在给定长度的给定轴上打破此视图。ViewView. breakView(int axis, int offset, float pos, float len)试图在给定轴上打破此视图。ViewViewFactory. create(Element elem)根据文档的给定结构元素创建视图。ViewGlyphView. createFragment(int p0, int p1)创建表示元素一部分的视图。ViewView. createFragment(int p0, int p1)创建表示元素一部分的视图。protected abstract ViewFlowView. createRow()创建一个视图,该视图应该用于在流中保存一行符合条件的子行。protected ViewParagraphView. createRow()创建一个View,用于在流中保存一行的子项。protected ViewFlowView.FlowStrategy. createView(FlowView fv, int startOffset, int spanLeft, int rowIndex)创建一个可用于表示当前流程的视图。protected ViewZoneView. createZone(int p0, int p1)创建一个视图来表示模型中给定范围的区域(应该在此对象的范围内)。ViewAsyncBoxView.ChildState. getChildView()获取此记录表示的子视图。protected ViewParagraphView. getLayoutView(int index)返回给定index处的视图。protected ViewFlowView.FlowStrategy. getLogicalView(FlowView fv)此方法使流策略可以访问FlowView的逻辑视图。ViewView. getParent()返回视图的父级。ViewAsyncBoxView. getView(int n)获取第n个子视图。ViewCompositeView. getView(int n)返回此容器中的第n个视图。ViewView. getView(int n)获取第 n个子视图。protected ViewBoxView. getViewAtPoint(int x, int y, Rectangle alloc)在给定坐标处获取子视图。protected abstract ViewCompositeView. getViewAtPoint(int x, int y, Rectangle alloc)在给定坐标处获取子视图。protected ViewCompositeView. getViewAtPosition(int pos, Rectangle a)获取表示模型中给定位置的子视图。protected ViewTableView. getViewAtPosition(int pos, Rectangle a)获取表示模型中给定位置的子视图。protected ViewTableView.TableRow. getViewAtPosition(int pos, Rectangle a)获取表示模型中给定位置的子视图。Methods in javax.swing.text with parameters of type View 变量和类型 方法 描述 voidView. append(View v)附加单个子视图。protected AsyncBoxView.ChildStateAsyncBoxView. createChildState(View v)通过此方法创建新的ChildState记录,以允许子类扩展ChildState记录以执行/保持更多。protected voidView. forwardUpdateToView(View v, DocumentEvent e, Shape a, ViewFactory f)将DocumentEvent转发到给孩子视图。voidView. insert(int offs, View v)插入单个子视图。protected booleanZoneView. isZoneLoaded(View zone)确定区域是否处于加载状态。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)呈现时,它们应调用此方法。voidAsyncBoxView. preferenceChanged(View child, boolean width, boolean height)子视图可以在父视图上调用此视图以指示首选项已更改,应重新考虑布局。voidBoxView. preferenceChanged(View child, boolean width, boolean height)这由孩子调用以指示其首选跨度已更改。voidView. preferenceChanged(View child, boolean width, boolean height)子视图可以在父视图上调用此视图以指示首选项已更改,应重新考虑布局。voidAsyncBoxView. replace(int offset, int length, View[] views)调用超类更新子视图,并更新子项的状态记录。voidBoxView. replace(int index, int length, View[] elems)使布局无效并调整请求/分配的缓存大小。voidCompositeView. replace(int offset, int length, View[] views)替换子视图。voidTableView. replace(int offset, int length, View[] views)更改子视图。voidTableView.TableRow. replace(int offset, int length, View[] views)更改子视图。voidView. replace(int offset, int length, View[] views)替换子视图。voidAsyncBoxView. setParent(View parent)设置视图的父级。voidComponentView. setParent(View p)设置子视图的父级。voidCompositeView. setParent(View parent)设置视图的父级。voidView. setParent(View parent)建立此视图的父视图。protected voidZoneView. unloadZone(View zone)卸载区域(将区域转换为其内存保存状态)。protected voidZoneView. zoneWasLoaded(View zone)加载时由区域调用。Constructors in javax.swing.text with parameters of type View 构造器 描述 ChildState(View v)构建子女身份。 -
Uses of View in javax.swing.text.html
Subclasses of View in javax.swing.text.html 变量和类型 类 描述 classBlockView一种视图实现,用于显示具有CSS规范的块(作为框)。classFormView组件装饰器,用于实现表单元素的视图接口,<input>,<textarea>和<select>。classImageView用于支持HTML <IMG>标记的图像视图。classInlineView显示基于css属性的 内联元素样式。classListView用于显示html列表的视图实现classObjectView组件装饰器,用于实现<object>元素的视图接口。classParagraphView显示段落,并使用css属性进行配置。Methods in javax.swing.text.html that return View 变量和类型 方法 描述 ViewInlineView. breakView(int axis, int offset, float pos, float len)试图在给定轴上打破此视图。ViewHTMLEditorKit.HTMLFactory. create(Element elem)从元素创建视图。Methods in javax.swing.text.html with parameters of type View 变量和类型 方法 描述 floatStyleSheet.BoxPainter. getInset(int side, View v)获取给定侧所需的插图以考虑边距,边框和填充。AttributeSetStyleSheet. getViewAttributes(View v)获取要在视图中使用的一组属性以进行显示。voidStyleSheet.BoxPainter. paint(Graphics g, float x, float y, float w, float h, View v)根据给定的属性绘制CSS框。voidStyleSheet.ListPainter. paint(Graphics g, float x, float y, float w, float h, View v, int item)根据给定的属性绘制CSS列表装饰。voidBlockView. setParent(View parent)建立此视图的父视图。voidImageView. setParent(View parent)建立此视图的父视图。voidParagraphView. setParent(View parent)建立此视图的父视图。
-