org.opt4j.viewer
Class ToolBar

java.lang.Object
  extended by org.opt4j.viewer.ToolBar

public class ToolBar
extends java.lang.Object

The ToolBar is a collection of the ToolBarServices.

See Also:
ToolBarService

Field Summary
protected  javax.swing.JToolBar toolBar
           
protected  java.util.Set<ToolBarService> toolBarServices
           
 
Constructor Summary
ToolBar(java.util.Set<ToolBarService> toolBarServices)
          Constructs a ToolBar.
 
Method Summary
 javax.swing.JToolBar get()
          Returns the JToolBar component.
 void init()
          Initialization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toolBar

protected final javax.swing.JToolBar toolBar

toolBarServices

protected final java.util.Set<ToolBarService> toolBarServices
Constructor Detail

ToolBar

@Inject
public ToolBar(java.util.Set<ToolBarService> toolBarServices)
Constructs a ToolBar.

Parameters:
toolBarServices - the set of tool bar services
Method Detail

init

public void init()
Initialization. This method has to be called once after construction.


get

public javax.swing.JToolBar get()
Returns the JToolBar component.

Returns:
the component