Package com.uc4.communication
Class FontSettings
java.lang.Object
com.uc4.communication.FontSettings
This class represents the Font settings.
These settings can be found in the User Interface - Options - Settings - Font settings
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Font size.static enum
Font style. -
Method Summary
Modifier and TypeMethodDescriptionReturns the size in which the caption should be displayed in the UserInterface.int
Returns the font size used in scripts, reports and activation logs.Returns the font style used in scripts, reports and activation logs.Returns the font type used in scripts, reports and activation logs.void
setFontSize
(FontSettings.Size fontSize) Sets the size in which the caption should be displayed in the UserInterface.void
setScriptFontSize
(int size) Sets the font size used in scripts, reports and activation logs.void
Sets the font style used in scripts, reports and activation logs.void
setScriptFontType
(String type) Sets the font type used in scripts, reports and activation logs.
-
Method Details
-
getFontSize
Returns the size in which the caption should be displayed in the UserInterface.- Returns:
- Font size
-
setFontSize
Sets the size in which the caption should be displayed in the UserInterface. This setting affects all connections to clients or other UC4 systems opened within this UserInterface. The selected size is stored in the connection that has been used for the first login. The effect is that if you start the UserInterface again at a later point in time using the same first connection, the stored font size is used for displaying the captions.- Parameters:
fontSize
- Font size
-
getScriptFontType
Returns the font type used in scripts, reports and activation logs. Type "Courier New" is used by default. The UserInterface immediately assumes modifications, open windows must be closed and re-opened.- Returns:
- Font for Script and Reports
-
setScriptFontType
Sets the font type used in scripts, reports and activation logs. Type "Courier New" is used by default. The UserInterface immediately assumes modifications, open windows must be closed and re-opened.- Parameters:
type
- Font for Script and Reports
-
getScriptFontStyle
Returns the font style used in scripts, reports and activation logs.- Returns:
- Plain or Bold
-
setScriptFontStyle
Sets the font style used in scripts, reports and activation logs.- Parameters:
style
- Plain or Bold
-
getScriptFontSize
public int getScriptFontSize()Returns the font size used in scripts, reports and activation logs. Size 14 is used by default.- Returns:
- Font size
-
setScriptFontSize
public void setScriptFontSize(int size) Sets the font size used in scripts, reports and activation logs.- Parameters:
size
- Font size
-