uic.themes
Class UICListUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.ListUI
          extended byjavax.swing.plaf.basic.BasicListUI
              extended byuic.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.
 
Nested classes inherited from class javax.swing.plaf.basic.BasicListUI
BasicListUI.FocusHandler, BasicListUI.ListDataHandler, BasicListUI.ListSelectionHandler, BasicListUI.PropertyChangeHandler
 
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()

getMinimumSize

public Dimension getMinimumSize(JComponent c)

getPreferredSize

public Dimension getPreferredSize(JComponent c)

getMaximumSize

public Dimension getMaximumSize(JComponent c)


Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence