Klasse ComponentTitledFolderButtonBar

java.lang.Object
org.deidentifier.arx.gui.view.impl.common.ComponentTitledFolderButtonBar
Alle implementierten Schnittstellen:
IComponent

public class ComponentTitledFolderButtonBar extends Object implements IComponent
A basic title bar, which offers some buttons.
  • Konstruktordetails

    • ComponentTitledFolderButtonBar

      public ComponentTitledFolderButtonBar()
      Creates a new instance without help button
    • ComponentTitledFolderButtonBar

      public ComponentTitledFolderButtonBar(String id)
      Creates a new instance.
      Parameter:
      id -
    • ComponentTitledFolderButtonBar

      public ComponentTitledFolderButtonBar(String id, Map<org.eclipse.swt.widgets.Composite,String> helpids)
      Creates a new instance.
      Parameter:
      id -
      helpids -
  • Methodendetails

    • add

      public void add(String title, org.eclipse.swt.graphics.Image image, boolean toggle, Runnable runnable)
      Adds a button.
      Parameter:
      title -
      image -
      toggle -
      runnable -
    • add

      public void add(String title, org.eclipse.swt.graphics.Image image, Runnable runnable)
      Adds a new button.
      Parameter:
      title -
      image -
      runnable -
    • getHelpId

      public String getHelpId()
      Returns the id.
      Gibt zurück:
    • getHelpIds

      public Map<org.eclipse.swt.widgets.Composite,String> getHelpIds()
      Returns the help ids for each composite
      Gibt zurück:
    • getImage

      public org.eclipse.swt.graphics.Image getImage(String title)
      Returns the image for the given button.
      Parameter:
      title -
      Gibt zurück:
    • getRunnable

      public Runnable getRunnable(String title)
      Returns the runnable for the given button.
      Parameter:
      title -
      Gibt zurück:
    • getTitles

      public List<String> getTitles()
      Returns the titles of all buttons.
      Gibt zurück:
    • isToggle

      public Boolean isToggle(String title)
      Returns whether the given button is a toggle button.
      Parameter:
      title -
      Gibt zurück: