|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StatusBar
Suitable for
use with components that provide some kind off status bar made up of many
different StatusElement implementations. For example, the Swing terminal toolkit provides a component that will
show each element as a label that appears slighly indented.
Each element must provide a 'weight' that determines the proportion of the
entire StatusBar it will take up. For ease of use, the weight value should follow
the same rules as for the standard AWT java.awt.GridBagConstratins.weightx.
| Method Summary | |
|---|---|
void |
addElement(StatusElement element)
Add an element to the status bar. |
void |
removeAllElements()
Remove all of the status elements from the status bar. |
void |
setSeparators(boolean seperators)
Set whether separators should be placed between each element |
| Methods inherited from interface com.sshtools.virtualsession.ui.VirtualSessionComponent |
|---|
getComponent, getTerminalDisplay, init |
| Method Detail |
|---|
void addElement(StatusElement element)
throws java.lang.IllegalArgumentException
java.awt.Component in the case of SwingStatusBar
and AWTStatusBar.
element - element to add
java.lang.IllegalArgumentException - if element is of wrong typevoid removeAllElements()
void setSeparators(boolean seperators)
seperators - use separators
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||