public final class Settings
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static de.willuhn.datasource.rmi.DBService |
getDBService()
Small helper function to get the database service.
|
static org.eclipse.swt.graphics.Color |
getDefaultBarColor()
Liefert die default Linienfarbe.
|
static TextStyle |
getDefaultContentStyle()
Liefert den default Texttype für den Inhalt.
|
static TextStyle |
getDefaultFooterStyle()
Liefert den default Texttype für den Fußbereich.
|
static org.eclipse.swt.graphics.Color |
getDefaultLabelBackground()
Liefert die default Label Hintergrundfarbe.
|
static TextStyle |
getDefaultRegisterContentStyle()
Liefert den default Texttype für die Register Beschreibung.
|
static TextStyle |
getDefaultRegisterIndexStyle()
Liefert den default Texttype für den Register Index.
|
static TextStyle |
getDefaultTitleStyle()
Liefert den default Texttype für den Label Titelbereich.
|
static boolean |
isDefaultBarVisible()
Liefert die default Sichtbarkeit der Linien.
|
static boolean |
isDefaultIdVisible()
Liefert die default Sichtbarkeit der ID.
|
static void |
setDefaultBarColor(org.eclipse.swt.graphics.Color color)
Speichert die default Linienfarbe.
|
static void |
setDefaultBarVisible(java.lang.Boolean visible)
Setzt die Sichtbarkeit der Linien.
|
static void |
setDefaultContentStyle(TextStyle style)
Setzt den default Texttype für den Inhalt.
|
static void |
setDefaultFooterStyle(TextStyle style)
Setzt den default Texttype für den Fußbereich.
|
static void |
setDefaultIdVisible(java.lang.Boolean visible)
Setzt die default Sichtbarkeit der ID.
|
static void |
setDefaultLabelBackground(org.eclipse.swt.graphics.Color color)
Setzt die default Label Hintergrundfarbe.
|
static void |
setDefaultRegisterContentStyle(TextStyle style)
Setzt den default Texttype für die Register Beschreibung.
|
static void |
setDefaultRegisterIndexStyle(TextStyle style)
Setzt den default Texttype für den Register Index.
|
static void |
setDefaultTitleStyle(TextStyle style)
Setzt den default Texttype für den Label Titelbereich.
|
public static de.willuhn.datasource.rmi.DBService getDBService() throws java.rmi.RemoteException
java.rmi.RemoteException
- the remote exceptionpublic static org.eclipse.swt.graphics.Color getDefaultBarColor()
public static TextStyle getDefaultContentStyle()
public static TextStyle getDefaultFooterStyle()
public static org.eclipse.swt.graphics.Color getDefaultLabelBackground()
public static TextStyle getDefaultRegisterContentStyle()
public static TextStyle getDefaultRegisterIndexStyle()
public static TextStyle getDefaultTitleStyle()
public static boolean isDefaultBarVisible()
public static boolean isDefaultIdVisible()
public static void setDefaultBarColor(org.eclipse.swt.graphics.Color color)
color
- the new default bar colorpublic static void setDefaultBarVisible(java.lang.Boolean visible)
visible
- the new default bar visiblepublic static void setDefaultContentStyle(TextStyle style)
style
- the new default content stylepublic static void setDefaultFooterStyle(TextStyle style)
style
- the new default footer stylepublic static void setDefaultIdVisible(java.lang.Boolean visible)
visible
- the new default id visiblepublic static void setDefaultLabelBackground(org.eclipse.swt.graphics.Color color)
color
- the new default label backgroundpublic static void setDefaultRegisterContentStyle(TextStyle style)
style
- the new default register content stylepublic static void setDefaultRegisterIndexStyle(TextStyle style)
style
- the new default register index stylepublic static void setDefaultTitleStyle(TextStyle style)
style
- the new default title style