All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnr.awt.ToolBar

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JToolBar
                                   |
                                   +----vnr.awt.ToolBar

public class ToolBar
extends JToolBar
Visual NetRexx has it's own toolbar subclass to handle the following things:


Constructor Index

 o ToolBar()
create a toolbar that is always in rollover mode please note that this currently only works for Metal L&F

Method Index

 o add(Action)
add an action to the toolbar for the button created, set it's text to "", and set it's tooltip to be the name of the action
 o add(Component)
add a component to the toolbar - this is overriden to force Y alignment to be 0.5 - Centered

Constructors

 o ToolBar
 public ToolBar()
create a toolbar that is always in rollover mode please note that this currently only works for Metal L&F

Methods

 o add
 public JButton add(Action a)
add an action to the toolbar for the button created, set it's text to "", and set it's tooltip to be the name of the action

Overrides:
add in class JToolBar
 o add
 public Component add(Component c)
add a component to the toolbar - this is overriden to force Y alignment to be 0.5 - Centered

Overrides:
add in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index