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
public AwtUIStatus();
Creates an AWT-based status bar control with no content.
public AwtUIStatus(String text);
Creates an AWT-based status bar control with the specified text.
Parameter | Description |
text
| The text to be displayed within the control.
|
Remarks:
By default, the text is left-aligned.
public AwtUIStatus(String text, int style);
Creates an AWT-based status bar control with the specified text and 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 alignment flags described in the UIStatic.setFlags method.
|
public AwtUIStatus(IUIComponent comp);
Creates an AWT-based status bar control with the specified component.
Parameter | Description |
comp
| The component to be displayed within the control.
|
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.