org.jtheque.utils.ui
Class ButtonBarBuilder

java.lang.Object
  extended by org.jtheque.utils.ui.ButtonBarBuilder

public final class ButtonBarBuilder
extends Object

A builder for a button bar.

Author:
Baptiste Wicht

Constructor Summary
ButtonBarBuilder()
          Construct a new ButtonBarBuilder.
 
Method Summary
 void addActions(Action... actions)
          Add actions to the bar.
 void addGlue()
          A a glue to the bar.
 Component getPanel()
          Return the panel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonBarBuilder

public ButtonBarBuilder()
Construct a new ButtonBarBuilder.

Method Detail

addActions

public void addActions(Action... actions)
Add actions to the bar.

Parameters:
actions - The actions to add.

addGlue

public void addGlue()
A a glue to the bar.


getPanel

public Component getPanel()
Return the panel.

Returns:
The panel.


Copyright © 2010 JTheque. All Rights Reserved.