Package com.ms.ui Previous
Previous
Contents
Contents
Index
Index
Next
Next

Class UIBandThumb

Constructors , Methods

public class UIBandThumb extends UIThumb
{
  // Constructors
  public UIBandThumb();
  public UIBandThumb(Component comp);

  // Methods
  public Insets insets();
  public void paint(Graphics g);

}

A class that manages a band thumb object, which provides a tool on a band control to allow maximizing and sliding of the control.


Constructors


UIBandThumb

public UIBandThumb();

Creates a band thumb control with no content.


UIBandThumb

public UIBandThumb(Component comp);

Creates a band thumb control using the specified component for content.

ParameterDescription
comp The component to be displayed within the control.


Methods


insets

public Insets insets();

Determines the band thumb control's insets, which indicate the size of the control's border.

Return Value:

Returns an Insets object containing the band thumb control's insets.


paint

public void paint(Graphics g);

Draws the band thumb control.

Return Value:

No return value.

ParameterDescription
g The graphics context.



Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.