Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
public class: BasicTableUI [javadoc | source]
java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.TableUI
         javax.swing.plaf.basic.BasicTableUI

Direct Known Subclasses:
    SynthTableUI

BasicTableUI implementation
Nested Class Summary:
public class  BasicTableUI.KeyHandler  This class should be treated as a "protected" inner class. Instantiate it only within subclasses of {@code BasicTableUI}.

As of Java 2 platform v1.3 this class is no longer used. Instead JTable overrides processKeyBinding to dispatch the event to the current TableCellEditor

public class  BasicTableUI.FocusHandler  This class should be treated as a "protected" inner class. Instantiate it only within subclasses of {@code BasicTableUI}. 
public class  BasicTableUI.MouseInputHandler  This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicTableUI. 
static class  BasicTableUI.TableTransferHandler   
Field Summary
protected  JTable table     
protected  CellRendererPane rendererPane     
protected  KeyListener keyListener     
protected  FocusListener focusListener     
protected  MouseInputListener mouseInputListener     
Method from javax.swing.plaf.basic.BasicTableUI Summary:
createFocusListener,   createKeyListener,   createMouseInputListener,   createUI,   getBaseline,   getBaselineResizeBehavior,   getInputMap,   getMaximumSize,   getMinimumSize,   getPreferredSize,   installDefaults,   installKeyboardActions,   installListeners,   installUI,   loadActionMap,   paint,   uninstallDefaults,   uninstallKeyboardActions,   uninstallListeners,   uninstallUI
Methods from javax.swing.plaf.ComponentUI:
contains,   createUI,   getAccessibleChild,   getAccessibleChildrenCount,   getBaseline,   getBaselineResizeBehavior,   getMaximumSize,   getMinimumSize,   getPreferredSize,   installUI,   paint,   uninstallUI,   update
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.basic.BasicTableUI Detail:
 protected FocusListener createFocusListener() 
    Creates the focus listener for handling keyboard navigation in the JTable.
 protected KeyListener createKeyListener() 
    Creates the key listener for handling keyboard navigation in the JTable.
 protected MouseInputListener createMouseInputListener() 
    Creates the mouse listener for the JTable.
 public static ComponentUI createUI(JComponent c) 
 public int getBaseline(JComponent c,
    int width,
    int height) 
    Returns the baseline.
 public BaselineResizeBehavior getBaselineResizeBehavior(JComponent c) 
    Returns an enum indicating how the baseline of the component changes as the size changes.
 InputMap getInputMap(int condition) 
 public Dimension getMaximumSize(JComponent c) 
    Return the maximum size of the table. The maximum height is the row heighttimes the number of rows. The maximum width is the sum of the maximum widths of each column.
 public Dimension getMinimumSize(JComponent c) 
    Return the minimum size of the table. The minimum height is the row height times the number of rows. The minimum width is the sum of the minimum widths of each column.
 public Dimension getPreferredSize(JComponent c) 
    Return the preferred size of the table. The preferred height is the row height times the number of rows. The preferred width is the sum of the preferred widths of each column.
 protected  void installDefaults() 
    Initialize JTable properties, e.g. font, foreground, and background. The font, foreground, and background properties are only set if their current value is either null or a UIResource, other properties are set if the current value is null.
 protected  void installKeyboardActions() 
    Register all keyboard actions on the JTable.
 protected  void installListeners() 
    Attaches listeners to the JTable.
 public  void installUI(JComponent c) 
 static  void loadActionMap(LazyActionMap map) 
 public  void paint(Graphics g,
    JComponent c) 
    Paint a representation of the table instance that was set in installUI().
 protected  void uninstallDefaults() 
 protected  void uninstallKeyboardActions() 
 protected  void uninstallListeners() 
 public  void uninstallUI(JComponent c)