Class PanelButtonAttachment
- java.lang.Object
-
- de.willuhn.jameica.gui.parts.PanelButton
-
- de.willuhn.jameica.gui.internal.parts.PanelButtonAttachment
-
- All Implemented Interfaces:
Part
public class PanelButtonAttachment extends PanelButton
Vorkonfigurierter Panel-Button fuer Attachments.
-
-
Field Summary
-
Fields inherited from class de.willuhn.jameica.gui.parts.PanelButton
BG_DEFAULT, BG_HOVER
-
-
Constructor Summary
Constructors Constructor Description PanelButtonAttachment()ct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.widgets.ControlgetControl()Liefert das Control des Buttons.booleanisEnabled()Wir liefern nur dann true, wenn die View Attachments erlaubt.-
Methods inherited from class de.willuhn.jameica.gui.parts.PanelButton
handleClick, paint, setAction, setEnabled, setIcon, setText, setTooltip
-
-
-
-
Method Detail
-
getControl
protected org.eclipse.swt.widgets.Control getControl()
Description copied from class:PanelButtonLiefert das Control des Buttons.- Overrides:
getControlin classPanelButton- Returns:
- das Control des Buttons. Ist null, wenn paint() noch nicht aufgerufen wurde.
- See Also:
PanelButton.getControl()
-
isEnabled
public boolean isEnabled()
Wir liefern nur dann true, wenn die View Attachments erlaubt.- Overrides:
isEnabledin classPanelButton- Returns:
- true, wenn er anklickbar sein soll.
- See Also:
PanelButton.isEnabled()
-
-