Klasse ComponentTitledFolderButtonBar
java.lang.Object
org.deidentifier.arx.gui.view.impl.common.ComponentTitledFolderButtonBar
- Alle implementierten Schnittstellen:
IComponent
A basic title bar, which offers some buttons.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new instance without help buttonCreates a new instance.ComponentTitledFolderButtonBar(String id, Map<org.eclipse.swt.widgets.Composite, String> helpids) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdds a button.voidAdds a new button.Returns the id.Returns the help ids for each compositeorg.eclipse.swt.graphics.ImageReturns the image for the given button.getRunnable(String title) Returns the runnable for the given button.Returns the titles of all buttons.Returns whether the given button is a toggle button.
-
Konstruktordetails
-
ComponentTitledFolderButtonBar
public ComponentTitledFolderButtonBar()Creates a new instance without help button -
ComponentTitledFolderButtonBar
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
Adds a new button.- Parameter:
title-image-runnable-
-
getHelpId
Returns the id.- Gibt zurück:
-
getHelpIds
Returns the help ids for each composite- Gibt zurück:
-
getImage
Returns the image for the given button.- Parameter:
title-- Gibt zurück:
-
getRunnable
Returns the runnable for the given button.- Parameter:
title-- Gibt zurück:
-
getTitles
Returns the titles of all buttons.- Gibt zurück:
-
isToggle
Returns whether the given button is a toggle button.- Parameter:
title-- Gibt zurück:
-