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

Class UIStatus

Constructors , Methods

public class UIStatus extends UIPanel
{
  // Constructors
  public UIStatus();
  public UIStatus(String text);
  public UIStatus(String text, int style);
  public UIStatus(Component comp);

  //Methods
  public int getRoleCode();
  public boolean isKeyable();

}

A class that implements a status bar control.


Constructors


UIStatus

public UIStatus();

Creates a status bar control with no content.


UIStatus

public UIStatus(String text);

Creates a status bar control using the specified text for content. By default, the text is left-aligned.

ParameterDescription
text The text to be displayed within the control.


UIStatus

public UIStatus(String text, int style);

Creates a status bar control using the specified text for content and the specified 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 UIStatic fields.


UIStatus

public UIStatus(Component comp);

Creates a status bar control using the specified component for content.

ParameterDescription
comp The component to be displayed within the control.


Methods


getRoleCode

public int getRoleCode();

Retrieves the role of the status bar control.

Return Value:

Returns the ROLE_SYSTEM code that best describes the role of the control.

Remarks:

This method returns the ROLE_SYSTEM_STATUSBAR code.


isKeyable

public boolean isKeyable();

Determines whether the status bar control can receive keyboard input.

Return Value:

Returns false, indicating the control cannot receive keyboard input.



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