Extension SDK 10.1.2

oracle.ide.controls
Class StatusBarControl

java.lang.Object
  extended byoracle.ide.controls.StatusBarControl
All Implemented Interfaces:
StatusBar

public final class StatusBarControl
extends java.lang.Object
implements StatusBar

The StatusBarControl class is a simple status text area control.


Constructor Summary
StatusBarControl()
          Create a status bar with a single text panel.
 
Method Summary
 void add(javax.swing.JComponent comp)
           
 boolean containsStatusItem(javax.swing.JComponent status)
          Determine whether the given object has been added as a status object.
 void dispose()
           
 javax.swing.JComponent getGUI()
          Gets the Component
 int getStatusCount()
          Get the number of externally added status objects.
 java.lang.String getText()
          Gets the text of the StatusBar
 Toolbar getToolbar()
          Return the status bar toolbar.
 boolean isExpandable(javax.swing.JComponent comp)
           
 void remove(javax.swing.JComponent comp)
           
 void resetStatus()
          Remove all externally added status objects leaving only the default status message area.
 void setExpandable(javax.swing.JComponent comp, boolean expandable)
           
 void setText(java.lang.String text)
          Sets the text of the StatusBar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusBarControl

public StatusBarControl()
Create a status bar with a single text panel.

Method Detail

getText

public java.lang.String getText()
Description copied from interface: StatusBar
Gets the text of the StatusBar

Specified by:
getText in interface StatusBar
Returns:
The text

setText

public void setText(java.lang.String text)
Description copied from interface: StatusBar
Sets the text of the StatusBar

Specified by:
setText in interface StatusBar
Parameters:
text - The Text to set

getGUI

public javax.swing.JComponent getGUI()
Description copied from interface: StatusBar
Gets the Component

Specified by:
getGUI in interface StatusBar

getToolbar

public Toolbar getToolbar()
Description copied from interface: StatusBar
Return the status bar toolbar. Initially, this toolbar is empty. Client should add their tools to the toolbar.

Specified by:
getToolbar in interface StatusBar

add

public void add(javax.swing.JComponent comp)

remove

public void remove(javax.swing.JComponent comp)

isExpandable

public boolean isExpandable(javax.swing.JComponent comp)

setExpandable

public void setExpandable(javax.swing.JComponent comp,
                          boolean expandable)

getStatusCount

public int getStatusCount()
Get the number of externally added status objects.


resetStatus

public void resetStatus()
Remove all externally added status objects leaving only the default status message area. The toolbar is unaffected by this method.


containsStatusItem

public boolean containsStatusItem(javax.swing.JComponent status)
Determine whether the given object has been added as a status object.

See Also:
add(javax.swing.JComponent)

dispose

public void dispose()

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.