Packages
 In this topic

*Constructors

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.ui   Previous This
Package
Next

 


Class AwtUIStatus

public class AwtUIStatus extends AwtUIControl
{
  // Constructors
  public AwtUIStatus();
  public AwtUIStatus(String text);
  public AwtUIStatus(String text, int style);
  public AwtUIStatus(IUIComponent comp);

  // Methods
  public IUIComponent getBase();
}

This class implements the functionality of a UIStatus object in an AWT-based control. An AwtUIStatus control is an AwtUIHost component whose associated root container holds a UIStatus object. By hosting this object, an AwtUIStatus control integrates AFC with AWT. Although an AwtUIStatus control is fully compatible with AWT, a UIStatus control is optimized for performance and size.

Panel
  |
  +--AwtUIHost
    |
    +--AwtUIControl
      |
      +--AwtUIStatus

Constructors

AwtUIStatus

public AwtUIStatus();

Creates an AWT-based status bar control with no content.

AwtUIStatus

public AwtUIStatus(String text);

Creates an AWT-based status bar control with the specified text.

ParameterDescription
text The text to be displayed within the control.

Remarks:

By default, the text is left-aligned.

AwtUIStatus

public AwtUIStatus(String text, int style);

Creates an AWT-based status bar control with the specified text and style.

ParameterDescription
text The text to be displayed within the control.
style The style of the control. For a list of possible values, see the alignment flags described in the UIStatic.setFlags method.

AwtUIStatus

public AwtUIStatus(IUIComponent comp);

Creates an AWT-based status bar control with the specified component.

ParameterDescription
comp The component to be displayed within the control.

Methods

getBase

public IUIComponent getBase();

Retrieves the UI component that the control is based on.

Return Value:

Returns the UIStatus object associated with the control.

Remarks:

When the AWT-based control is first created, it is associated with a UIStatus object.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.