- java.lang.Object
-  
      - javax.swing.plaf.ComponentUI
-  
        - javax.swing.plaf.ListUI
-  
          - javax.swing.plaf.basic.BasicListUI
-  
            - javax.swing.plaf.synth.SynthListUI
 
 
 
 
-  
       - 实现的所有接口
-  
         PropertyChangeListener,EventListener,SynthConstants,SynthUI
 
 public class SynthListUI extends BasicListUI implements PropertyChangeListener, SynthUI 为JList提供Synth L&F UI代表。- 从以下版本开始:
- 1.7
 
-  
        
       -  
             嵌套类汇总-  
               嵌套类/接口声明在类 javax.swing.plaf.basic.BasicListUIBasicListUI.FocusHandler, BasicListUI.ListDataHandler, BasicListUI.ListSelectionHandler, BasicListUI.MouseInputHandler, BasicListUI.PropertyChangeHandler
 
-  
               
 -  
             字段汇总-  
               声明的属性在类 javax.swing.plaf.basic.BasicListUIcellHeight, cellHeights, cellRendererChanged, cellWidth, fixedCellHeightChanged, fixedCellWidthChanged, focusListener, fontChanged, list, listDataListener, listSelectionListener, modelChanged, mouseInputListener, propertyChangeListener, prototypeCellValueChanged, rendererPane, selectionModelChanged, updateLayoutStateNeeded
 -  
               Fields declared in interface javax.swing.plaf.synth.SynthConstantsDEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED
 
-  
               
 -  
             构造方法摘要构造方法 构造器 描述 SynthListUI()
 -  
             方法摘要所有方法 静态方法 实例方法 具体的方法 变量和类型 方法 描述 static ComponentUIcreateUI(JComponent list)为给定组件创建新的UI对象。voidupdate(Graphics g, JComponent c)通知此UI委托重新绘制指定的组件。-  
               声明方法的类 javax.swing.plaf.basic.BasicListUIconvertRowToY, convertYToRow, createFocusListener, createListDataListener, createListSelectionListener, createMouseInputListener, createPropertyChangeListener, getBaseline, getBaselineResizeBehavior, getPreferredSize, getRowHeight, installDefaults, installKeyboardActions, installListeners, installUI, locationToIndex, maybeUpdateLayoutState, paint, paintCell, selectNextIndex, selectPreviousIndex, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, updateLayoutState
 -  
               声明方法的类 javax.swing.plaf.ListUIgetCellBounds, indexToLocation
 -  
               声明方法的类 javax.swing.plaf.ComponentUIcontains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize
 -  
               声明方法的类 java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 -  
               声明方法的接口 java.beans.PropertyChangeListenerpropertyChange
 -  
               声明方法的接口 javax.swing.plaf.synth.SynthUIgetContext, paintBorder
 
-  
               
 
-  
             
-  
        
       -  
             方法详细信息-  createUIpublic static ComponentUI createUI(JComponent list) 为给定组件创建新的UI对象。- 参数
-  
              list- 为其创建UI对象的组件
- 结果
- UI对象
 
 -  updatepublic void update(Graphics g, JComponent c) 通知此UI委托重新绘制指定的组件。 此方法绘制组件背景,然后调用BasicListUI.paint(java.awt.Graphics, javax.swing.JComponent)方法。通常,此方法不需要被子类覆盖。 所有外观和感觉渲染代码应驻留在 paint方法中。- 重写:
-  
              update在课程ComponentUI
- 参数
-  
              g- 用于绘画的Graphics对象
-  
              c- 正在绘制的组件
- 另请参见:
-  
              BasicListUI.paint(java.awt.Graphics, javax.swing.JComponent)
 
 
-  
 
-