javax.swing.plaf.basic
Class BasicViewportUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ViewportUI
          extended by javax.swing.plaf.basic.BasicViewportUI

public class BasicViewportUI
extends ViewportUI


Constructor Summary
BasicViewportUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
protected  void installDefaults(JComponent c)
           
 void installUI(JComponent c)
          Sets up the specified component so it conforms the the design guidelines of the implemented look and feel.
protected  void uninstallDefaults(JComponent c)
           
 void uninstallUI(JComponent c)
          Puts the specified component into the state it had before ComponentUI.installUI(javax.swing.JComponent) was called.
 
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

BasicViewportUI

public BasicViewportUI()
Method Detail

installDefaults

protected void installDefaults(JComponent c)

uninstallDefaults

protected void uninstallDefaults(JComponent c)

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent c)
Description copied from class: ComponentUI
Sets up the specified component so it conforms the the design guidelines of the implemented look and feel. When the look and feel changes, a ComponentUI delegate is created. The delegate object then receives an installUI message.

This method should perform the following tasks:

Overrides:
installUI in class ComponentUI
Parameters:
c - the component for which this delegate will provide services.
See Also:
ComponentUI.uninstallUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()

uninstallUI

public void uninstallUI(JComponent c)
Description copied from class: ComponentUI
Puts the specified component into the state it had before ComponentUI.installUI(javax.swing.JComponent) was called.

Overrides:
uninstallUI in class ComponentUI
Parameters:
c - the component for which this delegate has provided services.
See Also:
ComponentUI.installUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()