Class FontSettings

java.lang.Object
com.uc4.communication.FontSettings

public class FontSettings extends Object
This class represents the Font settings. These settings can be found in the User Interface - Options - Settings - Font settings
  • Method Details

    • getFontSize

      public FontSettings.Size getFontSize()
      Returns the size in which the caption should be displayed in the UserInterface.
      Returns:
      Font size
    • setFontSize

      public void setFontSize(FontSettings.Size fontSize)
      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

      public String 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

      public void setScriptFontType(String type)
      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

      public FontSettings.Style getScriptFontStyle()
      Returns the font style used in scripts, reports and activation logs.
      Returns:
      Plain or Bold
    • setScriptFontStyle

      public void setScriptFontStyle(FontSettings.Style style)
      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