All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class fr.l2f.gui.ToolBar

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----fr.l2f.gui.ToolBar

public class ToolBar
extends Panel
A Toolbar component to include in a Frame Buttons used for this Toolbar are ImageButton buttons


Variable Index

 o buttonPanel
 o iBackHeight
 o iBackWidth
 o locationCounter
 o mediaTracker
 o orientation
 o size

Constructor Index

 o ToolBar()
Construct a new ToolBar object
 o ToolBar(int)
 o ToolBar(int, int)

Method Index

 o addComponent(Component)
 o addComponent(Component, int)
 o addSpace()
 o addSpace(int)
 o getBarSize()
 o getButtons()
 o getMinimumSize()
 o getPreferredSize()
 o paint(Graphics)
 o setLocationCounter(int)
 o setOrientation(int)
 o trackImage(Image)
 o tryToWaitForImages()
 o waitForImages()

Variables

 o buttonPanel
 protected Panel buttonPanel
 o size
 protected int size
 o locationCounter
 protected int locationCounter
 o mediaTracker
 protected MediaTracker mediaTracker
 o iBackWidth
 protected int iBackWidth
 o iBackHeight
 protected int iBackHeight
 o orientation
 protected int orientation

Constructors

 o ToolBar
 public ToolBar()
Construct a new ToolBar object

 o ToolBar
 public ToolBar(int orientation)
 o ToolBar
 public ToolBar(int orientation,
                int size)

Methods

 o getBarSize
 public int getBarSize()
 o setLocationCounter
 public void setLocationCounter(int location)
 o setOrientation
 public void setOrientation(int orientation)
 o getButtons
 public Component[] getButtons()
 o addComponent
 public void addComponent(Component component)
 o addComponent
 public void addComponent(Component component,
                          int Offset)
 o addSpace
 public void addSpace()
 o addSpace
 public void addSpace(int space)
 o getMinimumSize
 public Dimension getMinimumSize()
Overrides:
getMinimumSize in class Container
 o getPreferredSize
 public Dimension getPreferredSize()
Overrides:
getPreferredSize in class Container
 o trackImage
 public void trackImage(Image image)
 o waitForImages
 public void waitForImages() throws InterruptedException
 o tryToWaitForImages
 public void tryToWaitForImages()
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index