com.alee.laf.viewport
Class WebViewportUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ViewportUI
          extended by javax.swing.plaf.basic.BasicViewportUI
              extended by com.alee.laf.viewport.WebViewportUI

public class WebViewportUI
extends javax.swing.plaf.basic.BasicViewportUI

Custom UI for JViewport component.

Author:
Mikle Garin

Constructor Summary
WebViewportUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Returns an instance of the WebViewportUI for the specified component.
 void installUI(javax.swing.JComponent c)
          Installs UI in the specified component.
 
Methods inherited from class javax.swing.plaf.basic.BasicViewportUI
installDefaults, uninstallDefaults, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, 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

WebViewportUI

public WebViewportUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Returns an instance of the WebViewportUI for the specified component. This tricky method is used by UIManager to create component UIs when needed.

Parameters:
c - component that will use UI instance
Returns:
instance of the WebViewportUI

installUI

public void installUI(javax.swing.JComponent c)
Installs UI in the specified component.

Overrides:
installUI in class javax.swing.plaf.basic.BasicViewportUI
Parameters:
c - component for this UI