com.sshtools.terminal
Interface StatusElement

All Known Implementing Classes:
AWTDataLights, AWTStatusLabel, SwingDataLights, SwingStatusLabel

public interface StatusElement

Implementations represent a single element on a StatusBar implementation and typically provide some component that displays the state of terminal.

Every instance should provide a weight value that determines how much space the element should take up on the status bar. This follows the same rules as java.awt.GridBagLayout.weightx.

Version:
$Revision: 1.1 $
Author:
$Author: richard $

Method Summary
 double getWeight()
          Get the display weight of element.
 

Method Detail

getWeight

public double getWeight()
Get the display weight of element. This will determine how much space the element should take up on the status bar. This follows the same rules as java.awt.GridBagLayout.weightx.

Returns:
weight


Copyright © 2003-2004 3SP LTD. All Rights Reserved.