Overview  Package   Class  Tree  Index 

be.lassi.ui.util
Class StatusBarBuilder

java.lang.Object
  extended by be.lassi.ui.util.StatusBarBuilder

public class StatusBarBuilder
extends java.lang.Object

Builds a status bar as used at the bottom of a window.


Constructor Summary
StatusBarBuilder()
          Constructs a new builder; note that 1 builder can build only 1 status bar, for each new status bar a new builder should be used.
 
Method Summary
 void add(javax.swing.JComponent component)
          Adds a component without predefined width to the status bar; the component will occupy as much space as it can get.
 void add(javax.swing.JComponent component, int dialogUnits)
          Adds a component with predefined width.
 void add(javax.swing.JComponent component, java.lang.String spec)
           
 javax.swing.JComponent getStatusBar()
          Gets the completed status bar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusBarBuilder

public StatusBarBuilder()
Constructs a new builder; note that 1 builder can build only 1 status bar, for each new status bar a new builder should be used.

Method Detail

add

public void add(javax.swing.JComponent component)
Adds a component without predefined width to the status bar; the component will occupy as much space as it can get.

Parameters:
component - the component to be added

add

public void add(javax.swing.JComponent component,
                int dialogUnits)
Adds a component with predefined width.

Parameters:
component - the component to be added
dialogUnits - the component width in dialog units

add

public void add(javax.swing.JComponent component,
                java.lang.String spec)

getStatusBar

public javax.swing.JComponent getStatusBar()
Gets the completed status bar.

Returns:
the statu bar

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2