uic.themes
Class UICListUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.ListUI
              |
              +--javax.swing.plaf.basic.BasicListUI
                    |
                    +--uic.themes.UICListUI

public class UICListUI
extends BasicListUI

The UICListUI implements a better (usability wise) method of selecting items in a multiitem list, plus fixes some Swing bugs.

Author:
Rick Oosterholt & Arian Bloemberg

Nested Class Summary
 class UICListUI.MouseInputHandler
          Mouse input, and focus handling for JList.
 
Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicListUI
cellHeight, cellHeights, cellRendererChanged, cellWidth, fixedCellHeightChanged, fixedCellWidthChanged, focusListener, fontChanged, list, listDataListener, listSelectionListener, modelChanged, mouseInputListener, propertyChangeListener, prototypeCellValueChanged, rendererPane, selectionModelChanged, updateLayoutStateNeeded
 
Constructor Summary
UICListUI()
           
 
Method Summary
 MouseInputListener createMouseInputListener()
           
static ComponentUI createUI(JComponent l)
           
 Dimension getMaximumSize(JComponent c)
           
 Dimension getMinimumSize(JComponent c)
           
 Dimension getPreferredSize(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicListUI
convertRowToY, convertYToRow, createFocusListener, createListDataListener, createListSelectionListener, createPropertyChangeListener, getCellBounds, getRowHeight, indexToLocation, installDefaults, installKeyboardActions, installListeners, installUI, locationToIndex, maybeUpdateLayoutState, paint, paintCell, selectNextIndex, selectPreviousIndex, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, updateLayoutState
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UICListUI

public UICListUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent l)

createMouseInputListener

public MouseInputListener createMouseInputListener()
Overrides:
createMouseInputListener in class BasicListUI

getMinimumSize

public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class BasicListUI

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class BasicListUI

getMaximumSize

public Dimension getMaximumSize(JComponent c)
Overrides:
getMaximumSize in class BasicListUI


Copyright © 2002,2003 Thomas Zander