Class ToolButton

All Implemented Interfaces:
Drawable

public class ToolButton extends ToolBar
Since:
3.5
Author:
Eike Stepper
  • Constructor Details

    • ToolButton

      public ToolButton(Composite parent, int style, Image image, boolean secondary)
  • Method Details

    • getToolItem

      public final ToolItem getToolItem()
    • setImage

      public void setImage(Image image)
    • addSelectionListener

      public void addSelectionListener(SelectionListener listener)
    • getSelection

      public boolean getSelection()
    • getToolTipText

      public String getToolTipText()
      Overrides:
      getToolTipText in class Control
    • removeSelectionListener

      public void removeSelectionListener(SelectionListener listener)
    • setSelection

      public void setSelection(boolean selected)
    • setToolTipText

      public void setToolTipText(String string)
      Overrides:
      setToolTipText in class Control
    • checkSubclass

      protected void checkSubclass()
      Overrides:
      checkSubclass in class ToolBar