| 
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
StatusBar interface of the Ide. The StatusBar provides a Toolbar
 where clients can add their own actions. This is generally done as follows:
    final IdeAction a = IdeAction.get( MY_CMD_ID, ... );
    a.setController( myController );
    Ide.getMainWindow().getStatusBar().getToolbar().add( a );
| Method Summary | |
 void | 
add(javax.swing.JComponent label)
Adds a JComponent to the StatusBar.  | 
 void | 
add(javax.swing.JComponent label,
    int index)
Adds a JComponent to the StatusBar.  | 
 javax.swing.JComponent | 
getGUI()
Gets the Component  | 
 java.lang.String | 
getText()
Gets the text of the StatusBar  | 
 Toolbar | 
getToolbar()
Return the status bar toolbar.  | 
 boolean | 
isExpandable(javax.swing.JComponent comp)
Return true if the JComponent in the StatusBar should expand to fill extra space beyond its minimum.  | 
 void | 
remove(javax.swing.JComponent comp)
Remove component from status bar.  | 
 void | 
setExpandable(javax.swing.JComponent comp,
              boolean expandable)
Specify whether or not a JComponent in the StatusBar should expand to fill extra space beyond its minimum.  | 
 void | 
setText(java.lang.String text)
Sets the text of the StatusBar  | 
| Method Detail | 
public void setText(java.lang.String text)
text - The Text to setpublic java.lang.String getText()
public javax.swing.JComponent getGUI()
public void add(javax.swing.JComponent label)
label - the new JComponent to be added.
public void add(javax.swing.JComponent label,
                int index)
label - the new JLabel to be addedindex - the index at which the new label will be addedpublic void remove(javax.swing.JComponent comp)
public void setExpandable(javax.swing.JComponent comp,
                          boolean expandable)
isExpandable(javax.swing.JComponent)public boolean isExpandable(javax.swing.JComponent comp)
setExpandable(javax.swing.JComponent, boolean)public Toolbar getToolbar()
  | 
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.