|  
      JavaTM Platform Standard Ed. 6  |  
    |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.SliderUI
javax.swing.plaf.multi.MultiSliderUI
public class MultiSliderUI
      用于组合 SliderUI 的多路 UI。 
此文件由 AutoMulti 自动生成。
| 字段摘要 | |
|---|---|
 protected  Vector |  
     uis 包含实际 UI 的向量。  |  
    
| 构造方法摘要 | |
|---|---|
MultiSliderUI()  |  
    |
| 方法摘要 | |
|---|---|
  boolean |  
     contains(JComponent a, int b, int c) 在由此对象处理的每个 UI 上调用 contains 方法。 |  
    
 static ComponentUI |  
     createUI(JComponent a) 如果任意辅助 LookAndFeel 都支持此 UI,则返回一个多路 UI 实例。 |  
    
  Accessible |  
     getAccessibleChild(JComponent a, int b) 在由此对象处理的每个 UI 上调用 getAccessibleChild 方法。 |  
    
  int |  
     getAccessibleChildrenCount(JComponent a) 在由此对象处理的每个 UI 上调用 getAccessibleChildrenCount 方法。 |  
    
  Dimension |  
     getMaximumSize(JComponent a) 在由此对象处理的每个 UI 上调用 getMaximumSize 方法。 |  
    
  Dimension |  
     getMinimumSize(JComponent a) 在由此对象处理的每个 UI 上调用 getMinimumSize 方法。 |  
    
  Dimension |  
     getPreferredSize(JComponent a) 在由此对象处理的每个 UI 上调用 getPreferredSize 方法。 |  
    
  ComponentUI[] |  
     getUIs() 返回与此多路 UI 关联的 UI 列表。  |  
    
  void |  
     installUI(JComponent a) 在由此对象处理的每个 UI 上调用 installUI 方法。 |  
    
  void |  
     paint(Graphics a, JComponent b) 在由此对象处理的每个 UI 上调用 paint 方法。 |  
    
  void |  
     uninstallUI(JComponent a) 在由此对象处理的每个 UI 上调用 uninstallUI 方法。 |  
    
  void |  
     update(Graphics a, JComponent b) 在由此对象处理的每个 UI 上调用 update 方法。 |  
    
| 从类 javax.swing.plaf.ComponentUI 继承的方法 | 
|---|
getBaseline, getBaselineResizeBehavior |  
    
| 从类 java.lang.Object 继承的方法 | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |  
    
| 字段详细信息 | 
|---|
protected Vector uis
createUI 的调用中生成的,并且可通过调用 
    getUIs 方法获得它。可以保证第一个元素是从默认外观获得的实际 UI。 
    
| 构造方法详细信息 | 
|---|
public MultiSliderUI()
| 方法详细信息 | 
|---|
public ComponentUI[] getUIs()
public boolean contains(JComponent a,
                        int b,
                        int c) 
  contains 方法。 
    
ComponentUI 中的 
      contains
     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 方法。 
    
ComponentUI 中的 
      update
     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 方法。 
    
ComponentUI 中的 
      installUI
     a - 将安装此 UI 委托的组件
     ComponentUI.uninstallUI(javax.swing.JComponent), 
      JComponent.setUI(javax.swing.plaf.ComponentUI), 
      JComponent.updateUI()
     public void uninstallUI(JComponent a)
uninstallUI 方法。 
    
ComponentUI 中的 
      uninstallUI
     a - 从中移除此 UI 委托的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数
     ComponentUI.installUI(javax.swing.JComponent), 
      JComponent.updateUI()
     
public void paint(Graphics a,
                  JComponent b) 
  paint 方法。 
    
ComponentUI 中的 
      paint
     a - 将在其中进行绘制的 
      Graphics 上下文
     b - 将绘制的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数
     ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
     public Dimension getPreferredSize(JComponent a)
getPreferredSize 方法。 
    
ComponentUI 中的 
      getPreferredSize
     a - 将查询其首选大小的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数 
     LookAndFeel 获得的 UI
     JComponent.getPreferredSize(), 
      LayoutManager.preferredLayoutSize(java.awt.Container)
     public Dimension getMinimumSize(JComponent a)
getMinimumSize 方法。 
    
ComponentUI 中的 
      getMinimumSize
     a - 将查询其最小大小的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数 
     LookAndFeel 获得的 UI
     JComponent.getMinimumSize(), 
      LayoutManager.minimumLayoutSize(java.awt.Container), 
      ComponentUI.getPreferredSize(javax.swing.JComponent)
     public Dimension getMaximumSize(JComponent a)
getMaximumSize 方法。 
    
ComponentUI 中的 
      getMaximumSize
     a - 将查询其最大大小的组件;此参数常被忽略,但如果 UI 对象是无状态的并由多个组件共享,则可以使用该参数 
     LookAndFeel 获得的 UI
     JComponent.getMaximumSize(), 
      LayoutManager2.maximumLayoutSize(java.awt.Container)
     public int getAccessibleChildrenCount(JComponent a)
getAccessibleChildrenCount 方法。 
    
ComponentUI 中的 
      getAccessibleChildrenCount
     LookAndFeel 获得的 UI
     ComponentUI.getAccessibleChild(javax.swing.JComponent, int)
     
public Accessible getAccessibleChild(JComponent a,
                                     int b) 
  getAccessibleChild 方法。 
    
ComponentUI 中的 
      getAccessibleChild
     b - 子对象的从零开始的索引 
     LookAndFeel 获得的 UI
     ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent)
      
        
      
  |  
      JavaTM Platform Standard Ed. 6  |  
    |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。