Quaqua 5.4.1 2009-07-14

ch.randelshofer.quaqua
Class QuaquaBrowserUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by ch.randelshofer.quaqua.BrowserUI
          extended by ch.randelshofer.quaqua.BasicBrowserUI
              extended by ch.randelshofer.quaqua.QuaquaBrowserUI
All Implemented Interfaces:
ViewportPainter

public class QuaquaBrowserUI
extends BasicBrowserUI
implements ViewportPainter

QuaquaBrowserUI.

Version:
1.1 2007-01-25 Create Vertical Scrollbar lazily.
1.0 August 25, 2005 Created.
Author:
Werner Randelshofer

Field Summary
 
Fields inherited from class ch.randelshofer.quaqua.BasicBrowserUI
browser, sizeHandleIcon
 
Constructor Summary
QuaquaBrowserUI()
          Creates a new instance.
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Returns an instance of the UI delegate for the specified component.
 void paintViewport(java.awt.Graphics g, javax.swing.JViewport c)
          Paints the viewport of a JViewport, that contains the component of the user interface delegate.
 
Methods inherited from class ch.randelshofer.quaqua.BasicBrowserUI
createCellRenderer, getSizeHandleIcon, installDefaults, installUI, uninstallDefaults, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuaquaBrowserUI

public QuaquaBrowserUI()
Creates a new instance.

Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Returns an instance of the UI delegate for the specified component. Each subclass must provide its own static createUI method that returns an instance of that UI delegate subclass. If the UI delegate subclass is stateless, it may return an instance that is shared by multiple components. If the UI delegate is stateful, then it should return a new instance per component. The default implementation of this method throws an error, as it should never be invoked.


paintViewport

public void paintViewport(java.awt.Graphics g,
                          javax.swing.JViewport c)
Description copied from interface: ViewportPainter
Paints the viewport of a JViewport, that contains the component of the user interface delegate. This method is invoked by QuaquaViewportUI.

Specified by:
paintViewport in interface ViewportPainter

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.