javax > javax.swing > javax.swing.plaf > javax.swing.plaf.basic > javax.swing.plaf.basic.basiclistui >

Class: javax.swing.plaf.basic.BasicListUI
    java.lang.Object
       javax.swing.plaf.ComponentUI
               javax.swing.plaf.ListUI
                       javax.swing.plaf.basic.BasicListUI


public class BasicListUI extends ListUI

Inner Class(es): BasicListUI.FocusHandler, BasicListUI.ListDataHandler, BasicListUI.ListSelectionHandler, BasicListUI.MouseInputHandler, BasicListUI.PropertyChangeHandler

FIELDS:
protected int cellHeight
protected int[] cellHeights
protected static final int cellRendererChanged : 64
protected int cellWidth
protected static final int fixedCellHeightChanged : 16
protected static final int fixedCellWidthChanged : 8
protected FocusListener focusListener
protected static final int fontChanged : 4
protected JList list
protected ListDataListener listDataListener
protected ListSelectionListener listSelectionListener
protected static final int modelChanged : 1
protected MouseInputListener mouseInputListener
protected PropertyChangeListener propertyChangeListener
protected static final int prototypeCellValueChanged : 32
protected CellRendererPane rendererPane
protected static final int selectionModelChanged : 2
protected int updateLayoutStateNeeded

CONSTRUCTORS:
public BasicListUI()


METHODS:
protected int convertRowToY(int row)

protected int convertYToRow(int y0)

protected FocusListener createFocusListener()

protected ListDataListener createListDataListener()

protected ListSelectionListener createListSelectionListener()

protected MouseInputListener createMouseInputListener()

protected PropertyChangeListener createPropertyChangeListener()

public static ComponentUI createUI(JComponent list)
Overrides: ComponentUI

public int getBaseline(JComponent c, int width, int height)
Throws: NullPointerException
Throws: IllegalArgumentException
Overrides: ComponentUI

public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)
Throws: NullPointerException
Overrides: ComponentUI

public Rectangle getCellBounds(JList list, int index1, int index2)
Overrides: ListUI

public Dimension getPreferredSize(JComponent c)
Overrides: ComponentUI

protected int getRowHeight(int row)

public Point indexToLocation(JList list, int index)
Overrides: ListUI

protected void installDefaults()

protected void installKeyboardActions()

protected void installListeners()

public void installUI(JComponent c)
Overrides: ComponentUI

public int locationToIndex(JList list, Point location)
Throws: NullPointerException
Overrides: ListUI

protected void maybeUpdateLayoutState()

public void paint(Graphics g, JComponent c)
Overrides: ComponentUI

protected void paintCell(Graphics g, int row, Rectangle rowBounds, ListCellRenderer cellRenderer, ListModel dataModel, ListSelectionModel selModel, int leadIndex)

protected void selectNextIndex()

protected void selectPreviousIndex()

protected void uninstallDefaults()

protected void uninstallKeyboardActions()

protected void uninstallListeners()

public void uninstallUI(JComponent c)
Overrides: ComponentUI

protected void updateLayoutState()


INHERITED METHODS:
locationToIndex(javax.swing.JList, java.awt.Point), indexToLocation(javax.swing.JList, int), getCellBounds(javax.swing.JList, int, int), installUI(javax.swing.JComponent), uninstallUI(javax.swing.JComponent), paint(java.awt.Graphics, javax.swing.JComponent), update(java.awt.Graphics, javax.swing.JComponent), getPreferredSize(javax.swing.JComponent), getMinimumSize(javax.swing.JComponent), getMaximumSize(javax.swing.JComponent), contains(javax.swing.JComponent, int, int), createUI(javax.swing.JComponent), getBaseline(javax.swing.JComponent, int, int), getBaselineResizeBehavior(javax.swing.JComponent), getAccessibleChildrenCount(javax.swing.JComponent), getAccessibleChild(javax.swing.JComponent, int), getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net