public class MultiTextUI extends TextUI
TextUI的复用UI。 
       该文件由AutoMulti自动生成。
| Constructor and Description | 
|---|
| MultiTextUI() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | contains(JComponent a, int b, int c)
              在此对象处理的每个UI上调用 
              contains方法。 | 
| static ComponentUI | createUI(JComponent a)
              如果任何辅助 
              LookAndFeel支持此UI,则返回多路复用UI实例。 | 
| void | damageRange(JTextComponent a, int b, int c)
              在此对象处理的每个UI上调用 
              damageRange方法。 | 
| void | damageRange(JTextComponent a, int b, int c, Position.Bias d, Position.Bias e)
              在此对象处理的每个UI上调用 
              damageRange方法。 | 
| Accessible | getAccessibleChild(JComponent a, int b)
              在此对象处理的每个UI上调用 
              getAccessibleChild方法。 | 
| int | getAccessibleChildrenCount(JComponent a)
              在此对象处理的每个UI上调用 
              getAccessibleChildrenCount方法。 | 
| EditorKit | getEditorKit(JTextComponent a)
              在此对象处理的每个UI上调用 
              getEditorKit方法。 | 
| Dimension | getMaximumSize(JComponent a)
              在此对象处理的每个UI上调用 
              getMaximumSize方法。 | 
| Dimension | getMinimumSize(JComponent a)
              在此对象处理的每个UI上调用 
              getMinimumSize方法。 | 
| int | getNextVisualPositionFrom(JTextComponent a, int b, Position.Bias c, int d, Position.Bias[] e)
              在此对象处理的每个UI上调用 
              getNextVisualPositionFrom方法。 | 
| Dimension | getPreferredSize(JComponent a)
              在此对象处理的每个UI上调用 
              getPreferredSize方法。 | 
| View | getRootView(JTextComponent a)
              在此对象处理的每个UI上调用 
              getRootView方法。 | 
| String | getToolTipText(JTextComponent a, Point b)
              在此对象处理的每个UI上调用 
              getToolTipText方法。 | 
| ComponentUI[] | getUIs()
              返回与此复用UI相关联的UI列表。 
             | 
| void | installUI(JComponent a)
              在此对象处理的每个UI上调用 
              installUI方法。 | 
| Rectangle | modelToView(JTextComponent a, int b)
              在此对象处理的每个UI上调用 
              modelToView方法。 | 
| Rectangle | modelToView(JTextComponent a, int b, Position.Bias c)
              在此对象处理的每个UI上调用 
              modelToView方法。 | 
| void | paint(Graphics a, JComponent b)
              在此对象处理的每个UI上调用 
              paint方法。 | 
| void | uninstallUI(JComponent a)
              在此对象处理的每个UI上调用 
              uninstallUI方法。 | 
| void | update(Graphics a, JComponent b)
              在此对象处理的每个UI上调用 
              update方法。 | 
| int | viewToModel(JTextComponent a, Point b)
              在此对象处理的每个UI上调用 
              viewToModel方法。 | 
| int | viewToModel(JTextComponent a, Point b, Position.Bias[] c)
              在此对象处理的每个UI上调用 
              viewToModel方法。 | 
getBaseline, getBaselineResizeBehaviorprotected Vector uis
createUI调用,可以通过调用getUIs方法获得。 
           第一个元素保证是从默认外观获得的真实UI。 
          public ComponentUI[] getUIs()
public String getToolTipText(JTextComponent a, Point b)
getToolTipText方法。 
          getToolTipText在 
            TextUI 
           LookAndFeel获取的UI 
           JTextComponent.getToolTipText(java.awt.event.MouseEvent) 
           public Rectangle modelToView(JTextComponent a, int b) throws BadLocationException
modelToView方法。 
          modelToView在 
            TextUI 
           b - 模型中的本地位置翻译> = 0 
           LookAndFeel获取的UI 
           BadLocationException - 如果给定的位置不表示相关文档中的有效位置 
           public Rectangle modelToView(JTextComponent a, int b, Position.Bias c) throws BadLocationException
modelToView方法。 
          modelToView在 
            TextUI类 
           b - 模型中的本地位置翻译> = 0 
           LookAndFeel获取的UI 
           BadLocationException - 如果给定的位置不表示相关文档中的有效位置 
           public int viewToModel(JTextComponent a, Point b)
viewToModel方法。 
          viewToModel在 
            TextUI 
           b - 视图中的位置翻译。 
            这应该在与鼠标事件相同的坐标系统中。 
           LookAndFeel获取的UI 
           public int viewToModel(JTextComponent a, Point b, Position.Bias[] c)
viewToModel方法。 
          viewToModel在 
            TextUI 
           b - 视图中的位置翻译。 
            这应该在与鼠标事件相同的坐标系统中。 
           c - 通过此方法填写以指示给定的点是否更接近模型中的上一个或下一个字符 
           LookAndFeel获取的UI 
           public int getNextVisualPositionFrom(JTextComponent a, int b, Position.Bias c, int d, Position.Bias[] e) throws BadLocationException
getNextVisualPositionFrom方法。 
          getNextVisualPositionFrom在 
            TextUI 
           a - 安装此UI的文本组件 
           b - 转换> = 0的位置 
           c - 职位的偏见 
           d - 从当前位置的方向,可以被认为是通常在键盘上找到的箭头键。 
            这可能是SwingConstants.WEST,SwingConstants.EAST,SwingConstants.NORTH或SwingConstants.SOUTH 
           e - 一个数组,用于包含返回位置的偏差 
           LookAndFeel获取的UI 
           BadLocationException 
           public void damageRange(JTextComponent a, int b, int c)
damageRange方法。 
          damageRange在 
            TextUI类 
           b - 范围的开始> = 0 
           c - 范围的结束> = p0 
           public void damageRange(JTextComponent a, int b, int c, Position.Bias d, Position.Bias e)
damageRange方法。 
          damageRange在 
            TextUI 
           b - 范围的开始> = 0 
           c - 范围的结束> = p0 
           public EditorKit getEditorKit(JTextComponent a)
getEditorKit方法。 
          getEditorKit在 
            TextUI 
           LookAndFeel获取的UI 
           public View getRootView(JTextComponent a)
getRootView方法。 
          getRootView在 
            TextUI 
           LookAndFeel获取的UI 
           public boolean contains(JComponent a, int b, int c)
contains方法。 
          contains在 
            ComponentUI 
           a - 正在查询x,y位置的组件; 
            这个参数经常被忽略,但如果UI对象是无状态的并且被多个组件共享,则可能会被使用 
           b - 点的 
            x坐标 
           c - 点的 
            y坐标 
           LookAndFeel获取的UI 
           JComponent.contains(int, int) , 
            Component.contains(int, int) 
           public void update(Graphics a, JComponent b)
update方法。 
          update在 
            ComponentUI 
           a - 要绘画的 
            Graphics上下文 
           b - 正在涂漆的部件 
            这个参数经常被忽略,但如果UI对象是无状态的并且被多个组件共享,则可能会被使用 
           ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent) , 
            JComponent.paintComponent(java.awt.Graphics) 
           public static ComponentUI createUI(JComponent a)
LookAndFeel支持此UI,则返回多路复用UI实例。 
           否则,只返回从默认的LookAndFeel获取的UI对象。 
          public void installUI(JComponent a)
installUI方法。 
          installUI在 
            ComponentUI 
           a - 正在安装此UI代理的组件 
           ComponentUI.uninstallUI(javax.swing.JComponent) , 
            JComponent.setUI(javax.swing.plaf.ComponentUI) , 
            JComponent.updateUI() 
           public void uninstallUI(JComponent a)
uninstallUI方法。 
          uninstallUI在 
            ComponentUI 
           a - 从中删除此UI代理的组件; 
            这个参数经常被忽略,但如果UI对象是无状态的并且被多个组件共享,则可能会被使用 
           ComponentUI.installUI(javax.swing.JComponent) , 
            JComponent.updateUI() 
           public void paint(Graphics a, JComponent b)
paint方法。 
          paint在 
            ComponentUI 
           a - 要绘画的 
            Graphics上下文 
           b - 正在涂漆的部件; 
            这个参数经常被忽略,但如果UI对象是无状态的并且被多个组件共享,则可能会被使用 
           ComponentUI.update(java.awt.Graphics, javax.swing.JComponent) 
           public Dimension getPreferredSize(JComponent a)
getPreferredSize方法。 
          getPreferredSize在 
            ComponentUI 
           a - 要查询其首选大小的组件; 
            这个参数经常被忽略,但如果UI对象是无状态的并且被多个组件共享,则可能会被使用 
           LookAndFeel获取的UI 
           JComponent.getPreferredSize() , 
            LayoutManager.preferredLayoutSize(java.awt.Container) 
           public Dimension getMinimumSize(JComponent a)
getMinimumSize方法。 
          getMinimumSize在 
            ComponentUI 
           a - 正在查询最小大小的组件; 
            这个参数经常被忽略,但如果UI对象是无状态的并且被多个组件共享,则可能会被使用 
           LookAndFeel获取的UI 
           JComponent.getMinimumSize() , 
            LayoutManager.minimumLayoutSize(java.awt.Container) , 
            ComponentUI.getPreferredSize(javax.swing.JComponent) 
           public Dimension getMaximumSize(JComponent a)
getMaximumSize方法。 
          getMaximumSize在 
            ComponentUI 
           a - 查询最大大小的组件; 
            这个参数经常被忽略,但如果UI对象是无状态的并且被多个组件共享,则可能会被使用 
           LookAndFeel获取的UI 
           JComponent.getMaximumSize() , 
            LayoutManager2.maximumLayoutSize(java.awt.Container) 
           public int getAccessibleChildrenCount(JComponent a)
getAccessibleChildrenCount方法。 
          getAccessibleChildrenCount在 
            ComponentUI 
           LookAndFeel获取的UI 
           ComponentUI.getAccessibleChild(javax.swing.JComponent, int) 
           public Accessible getAccessibleChild(JComponent a, int b)
getAccessibleChild方法。 
          getAccessibleChild在 
            ComponentUI 
           b - 基于零的儿童索引 
           LookAndFeel获取的UI 
           ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent) 
            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.