org.jvnet.substance
Class SubstanceListUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ListUI
javax.swing.plaf.basic.BasicListUI
org.jvnet.substance.SubstanceListUI
public class SubstanceListUI
- extends BasicListUI
UI for lists in Substance look and feel.
- Author:
- Kirill Grouchnikov
Field Summary |
protected boolean |
isFileList
Local cache of JList's client property "List.isFileList" |
protected boolean |
isLeftToRight
Local cache of JList's component orientation property |
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 |
Methods inherited from class javax.swing.plaf.basic.BasicListUI |
convertRowToY, convertYToRow, createFocusListener, createListDataListener, createListSelectionListener, createMouseInputListener, createPropertyChangeListener, getCellBounds, getPreferredSize, getRowHeight, indexToLocation, installKeyboardActions, installListeners, installUI, locationToIndex, maybeUpdateLayoutState, paint, selectNextIndex, selectPreviousIndex, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, updateLayoutState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isFileList
protected boolean isFileList
- Local cache of JList's client property "List.isFileList"
isLeftToRight
protected boolean isLeftToRight
- Local cache of JList's component orientation property
SubstanceListUI
public SubstanceListUI()
createUI
public static ComponentUI createUI(JComponent list)
installDefaults
protected void installDefaults()
- Overrides:
installDefaults
in class BasicListUI
paintCell
protected void paintCell(Graphics g,
int row,
Rectangle rowBounds,
ListCellRenderer cellRenderer,
ListModel dataModel,
ListSelectionModel selModel,
int leadIndex)
- Overrides:
paintCell
in class BasicListUI