Class GeneralSettings

java.lang.Object
com.uc4.communication.GeneralSettings

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

    • isDesktopModeMulti

      public boolean isDesktopModeMulti()
      Returns the mode in which the desktop of the UserInterface is displayed.
      Returns:
      Desktop mode
    • setDesktopModeMulti

      public void setDesktopModeMulti(boolean desktopModeMulti)
      Sets the mode in which the desktop of the UserInterface is displayed. Note that the settings that have been specified in the first connection are applied if several connections are open.
      Parameters:
      desktopModeMulti - Desktop mode
    • getMagneticWindows

      public GeneralSettings.MagneticWindows getMagneticWindows()
      Returns the magnetic scope of the windows that are shown in the UserInterface. By default, this function is deactivated.
      Returns:
      Magnetic scope
    • setMagneticWindows

      public void setMagneticWindows(GeneralSettings.MagneticWindows magneticWindows)
      Sets the magnetic scope of the windows that are shown in the UserInterface.
      Parameters:
      magneticWindows - Magnetic scope
    • getMagneticArea

      public int getMagneticArea()
      Returns the magnetic area in pixels. If this value is not kept, the window is aligned to the nearest screen edge or window.
      Returns:
      Magnetic Area in pixels
    • setMagneticArea

      public void setMagneticArea(int magneticArea)
      Sets the magnetic area in pixels. If this value is not kept, the window is aligned to the nearest screen edge or window.
      Parameters:
      magneticArea - Magnetic Area in pixels
    • getToolbarLabel

      public GeneralSettings.ToolbarLabel getToolbarLabel()
      Returns the location of the toolbar label.
      Returns:
      Location of the label in toolbars
    • setToolbarLabel

      public void setToolbarLabel(GeneralSettings.ToolbarLabel toolbarLabel)
      Sets the location of the toolbar label.
      Parameters:
      toolbarLabel - Location of the label in toolbars
    • getMaxStoreImportSize

      public int getMaxStoreImportSize()
      Returns the maximum size in bytes for binary uploads (STORE objects).
      Returns:
      Max size of a file in a STORE object.