All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.ImageButtonPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----gjt.ImageButtonPanel

public class ImageButtonPanel
extends Panel
A panel which contains a collection of ImageButtons, arranged either horizontally or vertically.

See Also:
ImageButton, RadioImageButtonPanelController, ToolbarTest

Constructor Index

 o ImageButtonPanel(Orientation)
 o ImageButtonPanel(Orientation, int)
 o ImageButtonPanel(Orientation, Orientation, Orientation, int)

Method Index

 o add(Image)
 o add(Image, String)
 o add(ImageButton)
 o add(ImageButton, String)
 o addSpacer(int)
 o getButtonByName(String)
 o getButtonName(ImageButton)
 o getInsets()

Constructors

 o ImageButtonPanel
 public ImageButtonPanel(Orientation orient)
 o ImageButtonPanel
 public ImageButtonPanel(Orientation orient,
                         int gap)
 o ImageButtonPanel
 public ImageButtonPanel(Orientation orient,
                         Orientation horient,
                         Orientation vorient,
                         int gap)

Methods

 o getInsets
 public Insets getInsets()
Overrides:
getInsets in class Container
 o add
 public ImageButton add(Image image,
                        String name)
 o add
 public ImageButton add(Image image)
 o add
 public void add(ImageButton button)
 o add
 public void add(ImageButton button,
                 String name)
 o getButtonByName
 public ImageButton getButtonByName(String name)
 o getButtonName
 public String getButtonName(ImageButton button)
 o addSpacer
 public void addSpacer(int sizeInPixels)

All Packages  Class Hierarchy  This Package  Previous  Next  Index