| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationPanel.Type
Der Typ der Notification.
|
| Constructor and Description |
|---|
NotificationPanel()
ct.
|
NotificationPanel(NotificationPanel.Type type,
java.lang.String text)
ct.
|
| Modifier and Type | Method and Description |
|---|---|
void |
paint(org.eclipse.swt.widgets.Composite parent)
Malt die Komponente in das angegebene Composite.
|
void |
reset()
Resettet das Panel.
|
void |
setBackground(boolean background)
Legt fest, ob der farbige Hintergrund gezeichnet werden soll.
|
void |
setBorder(int border)
Legt die Rahmendicke fest.
|
void |
setText(NotificationPanel.Type t,
java.lang.String s)
Aktualisiert den Text mit dem angegebenen Typ an.
|
public NotificationPanel()
public NotificationPanel(NotificationPanel.Type type, java.lang.String text)
type - der Typ.text - der Text.public void setBackground(boolean background)
background - true, wenn der farbige Hintergrund gezeichnet werden soll.public void setBorder(int border)
border - die Rahmendicke.public void paint(org.eclipse.swt.widgets.Composite parent)
throws java.rmi.RemoteException
Partpaint in interface Partparent - das Composite.java.rmi.RemoteExceptionPart.paint(org.eclipse.swt.widgets.Composite)public void setText(NotificationPanel.Type t, java.lang.String s)
t - der Typ.s - der Text.public void reset()