< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTableUI.java

Print this page

        

*** 748,760 **** /** * This class should be treated as a &quot;protected&quot; inner class. * Instantiate it only within subclasses of {@code BasicTableUI}. * <p>As of Java 2 platform v1.3 this class is no longer used. ! * Instead <code>JTable</code> ! * overrides <code>processKeyBinding</code> to dispatch the event to ! * the current <code>TableCellEditor</code>. */ public class KeyHandler implements KeyListener { // NOTE: This class exists only for backward compatibility. All // its functionality has been moved into Handler. If you need to add // new functionality add it to the Handler, but make sure this --- 748,760 ---- /** * This class should be treated as a &quot;protected&quot; inner class. * Instantiate it only within subclasses of {@code BasicTableUI}. * <p>As of Java 2 platform v1.3 this class is no longer used. ! * Instead {@code JTable} ! * overrides {@code processKeyBinding} to dispatch the event to ! * the current {@code TableCellEditor}. */ public class KeyHandler implements KeyListener { // NOTE: This class exists only for backward compatibility. All // its functionality has been moved into Handler. If you need to add // new functionality add it to the Handler, but make sure this
*** 1788,1798 **** // // Paint methods and support // ! /** Paint a representation of the <code>table</code> instance * that was set in installUI(). */ public void paint(Graphics g, JComponent c) { Rectangle clip = g.getClipBounds(); --- 1788,1798 ---- // // Paint methods and support // ! /** Paint a representation of the {@code table} instance * that was set in installUI(). */ public void paint(Graphics g, JComponent c) { Rectangle clip = g.getClipBounds();
*** 1980,1991 **** } /* * Paints the grid lines within <I>aRect</I>, using the grid * color set with <I>setGridColor</I>. Paints vertical lines ! * if <code>getShowVerticalLines()</code> returns true and paints ! * horizontal lines if <code>getShowHorizontalLines()</code> * returns true. */ private void paintGrid(Graphics g, int rMin, int rMax, int cMin, int cMax) { g.setColor(table.getGridColor()); --- 1980,1991 ---- } /* * Paints the grid lines within <I>aRect</I>, using the grid * color set with <I>setGridColor</I>. Paints vertical lines ! * if {@code getShowVerticalLines()} returns true and paints ! * horizontal lines if {@code getShowHorizontalLines()} * returns true. */ private void paintGrid(Graphics g, int rMin, int rMax, int cMin, int cMax) { g.setColor(table.getGridColor());
< prev index next >