ch.randelshofer.quaqua
Class QuaquaViewportUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ViewportUI
javax.swing.plaf.basic.BasicViewportUI
ch.randelshofer.quaqua.QuaquaViewportUI
public class QuaquaViewportUI
- extends javax.swing.plaf.basic.BasicViewportUI
The Quaqua user interface delegate for a JViewport.
- Version:
- 1.4 2007-11-11 Added property change listener.
1.3 2007-01-16 Listen to focus changes on the viewport and its
child component, and repaint the parent scroll pane border on focus change.
1.2.2 2005-11-26 Retrieve default opaqueness from UIManager.
Fixed broken invocation of ViewportPainter.
1.2.1 2005-09-17 Only paint viewport if it is opaque.
1.2 2005-08-25 Fill the viewport with the background color of its
viewport view if the UI of the viewport is not an instance of ViewportPainter.
1.1 2004-12-14 Do not check whether the view is striped or not,
always use the view for drawing the viewport.
1.0 June 22, 2004 Created.
- Author:
- Werner Randelshofer
Methods inherited from class javax.swing.plaf.basic.BasicViewportUI |
installDefaults, uninstallDefaults |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuaquaViewportUI
public QuaquaViewportUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paint
in class javax.swing.plaf.ComponentUI
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in class javax.swing.plaf.basic.BasicViewportUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in class javax.swing.plaf.basic.BasicViewportUI
installListeners
protected void installListeners()
- Attaches listeners to the JTable.
uninstallListeners
protected void uninstallListeners()
createPropertyChangeListener
protected java.beans.PropertyChangeListener createPropertyChangeListener()