Class Main.MainContext
All Packages Class Hierarchy This Package Previous Next Index
Class Main.MainContext
Object
|
+----Main.MainContext
- public class MainContext
- extends Object
This class manages the context of DICOMscope.
Some global variables of the programm are available by
methods of this class.
It implements the singleton pattern.
- Author:
- Klaus Kleber, Andreas Schroeter
- Since:
- 30.04.1999
-
appName
- Application Name
-
appVersionH
- Application Version (high number).
-
appVersionL
- Application Version (low number)
-
bigBrowserFontSize
- Fontsize for the widgets in the StudyMan class on the high quality monitor.
-
fontName
- Name of the font for the widget.
-
fontNameText
- Name of the font for drawing PresentationStateTextObject.
-
fontSizeHighQuality
- Fontsize for the widget on the high quality monitor
-
fontSizeLowQuality
- Fontsize for the widget on the slow quality monitor
-
fontSizeTextHighQuality
- Fontsize of the PresentationStateTextObject for the high quality monitor.
-
fontSizeTextLowQuality
- Fontsize of the PresentationStateTextObject for the low quality monitor.
-
highQualitySystem
- True if the hight quality monitor with the dome board is used.
-
sizeFactorHigh
- Contains a value for the size of windows in the low quality modus.
-
sizeFactorLow
- Contains a value for the size of windows in the low quality modus.
-
testInstallation
- If true the DICOMscope will running in the testmodus.
-
usedRGB
- Not used yet
-
getFontTextAnnotations()
- Returns the font for displaying PresentationStateTextObjects.
-
getIndexColorModel()
- Returns a 8 Bit IndexColorModel
-
getSizeFactor()
- Returns a value for the size of Windows.
-
getUsedColorModel()
- Returns the ColorModel used for displaying images.
-
getUsedFont()
- Returns the font for the widgets.
-
instance()
- Return the only instance of a MainContext object.
-
printLogFile(String)
- Prints the specified text in the log file.
appName
public static java.lang.String appName
- Application Name
- Since:
30.04.1999
appVersionH
public static int appVersionH
- Application Version (high number). The complete version number is
.
- Since:
30.04.1999
appVersionL
public static int appVersionL
- Application Version (low number)
- Since:
30.04.1999
bigBrowserFontSize
public int bigBrowserFontSize
- Fontsize for the widgets in the StudyMan class on the high quality monitor.
- Since:
30.04.1999
fontName
public java.lang.String fontName
- Name of the font for the widget.
- Since:
30.04.1999
fontNameText
public java.lang.String fontNameText
- Name of the font for drawing PresentationStateTextObject.
- Since:
30.04.1999
fontSizeHighQuality
public int fontSizeHighQuality
- Fontsize for the widget on the high quality monitor
- Since:
30.04.1999
fontSizeLowQuality
public int fontSizeLowQuality
- Fontsize for the widget on the slow quality monitor
- Since:
30.04.1999
fontSizeTextHighQuality
public int fontSizeTextHighQuality
- Fontsize of the PresentationStateTextObject for the high quality monitor.
- Since:
30.04.1999
fontSizeTextLowQuality
public int fontSizeTextLowQuality
- Fontsize of the PresentationStateTextObject for the low quality monitor.
- Since:
30.04.1999
highQualitySystem
public boolean highQualitySystem
- True if the hight quality monitor with the dome board is used.
- Since:
30.04.1999
sizeFactorHigh
public int sizeFactorHigh
- Contains a value for the size of windows in the low quality modus.
- Since:
30.04.1999
sizeFactorLow
public int sizeFactorLow
- Contains a value for the size of windows in the low quality modus.
- Since:
30.04.1999
testInstallation
public boolean testInstallation
- If true the DICOMscope will running in the testmodus.
- Since:
30.04.1999
usedRGB
public boolean usedRGB
- Not used yet
- Since:
30.04.1999
getFontTextAnnotations
public java.awt.Font getFontTextAnnotations()
- Returns the font for displaying PresentationStateTextObjects.
Depends from the system.
- Returns:
- The font for displaying PresentationStateTextObjects.
- Since:
- 30.04.1999
getIndexColorModel
public java.awt.image.ColorModel getIndexColorModel()
- Returns a 8 Bit IndexColorModel
- Parameters:
- A - 8 Bit IndexColorModel
- Since:
- 30.04.1999
getSizeFactor
public int getSizeFactor()
- Returns a value for the size of Windows.
Depends from the system.
- Returns:
- A value for the size of Windows.
- Since:
- 30.04.1999
getUsedColorModel
public java.awt.image.ColorModel getUsedColorModel()
- Returns the ColorModel used for displaying images. Depends
from the system.
- Returns:
- The ColorModel used for displaying images.
- Since:
- 30.04.1999
getUsedFont
public java.awt.Font getUsedFont()
- Returns the font for the widgets.
Depends from the system.
- Returns:
- The font for the widgets.
- Since:
- 30.04.1999
instance
public static Main.MainContext instance()
- Return the only instance of a MainContext object. If there is no instance
this methode create this instance.
status: tested
- Returns:
- The only intance of this class.
- Since:
- 30.04.1999
printLogFile
public void printLogFile(String output)
- Prints the specified text in the log file.
- Parameters:
- output - Text which should print.
- Since:
- 30.04.1999
All Packages Class Hierarchy This Package Previous Next Index