|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.controls.StatusBarControl
The StatusBar
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 label)
Adds a JComponent to the StatusBar. |
void |
add(javax.swing.JComponent label,
int index)
Adds a JComponent to the StatusBar. |
void |
dispose()
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StatusBarControl()
Method Detail |
public javax.swing.JComponent getGUI()
StatusBar
getGUI
in interface StatusBar
public void setText(java.lang.String text)
StatusBar
setText
in interface StatusBar
text
- The Text to setpublic java.lang.String getText()
StatusBar
getText
in interface StatusBar
public void add(javax.swing.JComponent label)
StatusBar
add
in interface StatusBar
label
- the new JComponent to be added.public void add(javax.swing.JComponent label, int index)
StatusBar
add
in interface StatusBar
label
- the new JLabel to be addedindex
- the index at which the new label will be addedpublic void remove(javax.swing.JComponent comp)
StatusBar
remove
in interface StatusBar
public void setExpandable(javax.swing.JComponent comp, boolean expandable)
StatusBar
setExpandable
in interface StatusBar
StatusBar.isExpandable(javax.swing.JComponent)
public boolean isExpandable(javax.swing.JComponent comp)
StatusBar
isExpandable
in interface StatusBar
StatusBar.setExpandable(javax.swing.JComponent, boolean)
public Toolbar getToolbar()
StatusBar
getToolbar
in interface StatusBar
public void dispose()
|
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.