Package com.ms.ui |
![]() Previous |
![]() Contents |
![]() Index |
![]() Next |
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.
public UIStatus();Creates a status bar control with no content.
public UIStatus(String text);Creates a status bar control using the specified text for content. By default, the text is left-aligned.
Parameter Description text The text to be displayed within the control.
public UIStatus(String text, int style);Creates a status bar control using the specified text for content and the specified style.
Parameter Description 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.
public UIStatus(Component comp);Creates a status bar control using the specified component for content.
Parameter Description comp The component to be displayed within the control.
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.
public boolean isKeyable();Determines whether the status bar control can receive keyboard input.
Return Value:
Returns false, indicating the control cannot receive keyboard input.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.