API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.metal. MetalScrollPaneUI View Source
Author(s)
Steve Wilson
Since
Version
1.21 11/17/05
Serial
Hierarchy
 Object
      ComponentUI
          ScrollPaneUI
              BasicScrollPaneUI
                  MetalScrollPaneUI
Implements
Subclasses
Description
public class MetalScrollPaneUI
  A Metal L&F implementation of ScrollPaneUI.
See also:   
Constructors
public MetalScrollPaneUI ()
Methods
Hide/Show inherited methods
public boolean contains (JComponent c, int x, int y) [Inherited From ComponentUI]
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
protected ChangeListener createHSBChangeListener () [Inherited From BasicScrollPaneUI]
protected MouseWheelListener createMouseWheelListener () [Inherited From BasicScrollPaneUI]
  Creates an instance of MouseWheelListener, which is added to the JScrollPane by installUI().
protected PropertyChangeListener createPropertyChangeListener () [Inherited From BasicScrollPaneUI]
  Creates an instance of PropertyChangeListener that's added to the JScrollPane by installUI().
protected PropertyChangeListener createScrollBarSwapListener ()
publicstatic ComponentUI createUI (JComponent x) [Overrides BasicScrollPaneUI]
protected ChangeListener createViewportChangeListener () [Inherited From BasicScrollPaneUI]
protected ChangeListener createVSBChangeListener () [Inherited From BasicScrollPaneUI]
public Accessible getAccessibleChild (JComponent c, int i) [Inherited From ComponentUI]
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c) [Inherited From ComponentUI]
  Returns the number of accessible children in the object.
public int getBaseline (JComponent c, int width, int height) [Inherited From BasicScrollPaneUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From BasicScrollPaneUI]
  Returns an enum indicating how the baseline of the component changes as the size changes.
public Dimension getMaximumSize (JComponent c) [Inherited From BasicScrollPaneUI]
 
public Dimension getMinimumSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's minimum size appropriate for the look and feel.
public Dimension getPreferredSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's preferred size appropriate for the look and feel.
protected void installDefaults (JScrollPane scrollpane) [Inherited From BasicScrollPaneUI]
protected void installKeyboardActions (JScrollPane c) [Inherited From BasicScrollPaneUI]
public void installListeners (JScrollPane scrollPane) [Overrides BasicScrollPaneUI]
public void installUI (JComponent c) [Overrides BasicScrollPaneUI]
public void paint (Graphics g, JComponent c) [Inherited From BasicScrollPaneUI]
protected void syncScrollPaneWithViewport () [Inherited From BasicScrollPaneUI]
protected void uninstallDefaults (JScrollPane c) [Inherited From BasicScrollPaneUI]
protected void uninstallKeyboardActions (JScrollPane c) [Inherited From BasicScrollPaneUI]
protected void uninstallListeners (JComponent c) [Inherited From BasicScrollPaneUI]
public void uninstallListeners (JScrollPane scrollPane)
public void uninstallUI (JComponent c) [Overrides BasicScrollPaneUI]
public void update (Graphics g, JComponent c) [Inherited From ComponentUI]
  Notifies this UI delegate that it's time to paint the specified component.
protected void updateColumnHeader (PropertyChangeEvent e) [Inherited From BasicScrollPaneUI]
protected void updateRowHeader (PropertyChangeEvent e) [Inherited From BasicScrollPaneUI]
protected void updateScrollBarDisplayPolicy (PropertyChangeEvent e) [Inherited From BasicScrollPaneUI]
protected void updateViewport (PropertyChangeEvent e) [Inherited From BasicScrollPaneUI]
Fields
Hide/Show inherited fields
protected ChangeListener hsbChangeListener [Inherited From BasicScrollPaneUI]
protected JScrollPane scrollpane [Inherited From BasicScrollPaneUI]
protected PropertyChangeListener spPropertyChangeListener [Inherited From BasicScrollPaneUI]
protected ChangeListener viewportChangeListener [Inherited From BasicScrollPaneUI]
protected ChangeListener vsbChangeListener [Inherited From BasicScrollPaneUI]
Nested Classes
  BasicScrollPaneUI.ViewportChangeHandler
Listener for viewport events.
  BasicScrollPaneUI.HSBChangeListener
Horizontal scrollbar listener.
  BasicScrollPaneUI.VSBChangeListener
Vertical scrollbar listener.
  BasicScrollPaneUI.MouseWheelHandler
MouseWheelHandler is an inner class which implements the MouseWheelListener interface.
  BasicScrollPaneUI.PropertyChangeHandler
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar