com.sshtools.virtualsession.status
Interface StatusElement

All Known Implementing Classes:
AWTDataLights, AWTStatusConnectionMonitor, AWTStatusLabel, AWTStatusScreenSizeMonitor, SwingDataLights, SwingStatusConnectionMonitor, SwingStatusLabel, SwingStatusScreenSizeMonitor

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.

Author:
$Author: james $

Method Summary
 void cleanUp()
          Should be invoked by the virtual session manager to clean up any resources the status element may be using.
 double getWeight()
          Get the display weight of element.
 

Method Detail

getWeight

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

cleanUp

void cleanUp()
Should be invoked by the virtual session manager to clean up any resources the status element may be using.



Copyright © 2003-2009 SSHTOOLS LTD. All Rights Reserved.