Package com.uc4.communication
Class GeneralSettings
- java.lang.Object
-
- com.uc4.communication.GeneralSettings
-
public class GeneralSettings extends java.lang.ObjectThis class represents the general settings. These settings can be found in the User Interface - Options - Settings - General
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeneralSettings.MagneticWindowsSetting for magnetic windows.static classGeneralSettings.ToolbarLabelToolbar label location.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMagneticArea()Returns the magnetic area in pixels.GeneralSettings.MagneticWindowsgetMagneticWindows()Returns the magnetic scope of the windows that are shown in the UserInterface.intgetMaxStoreImportSize()Returns the maximum size in bytes for binary uploads (STORE objects).GeneralSettings.ToolbarLabelgetToolbarLabel()Returns the location of the toolbar label.booleanisDesktopModeMulti()Returns the mode in which the desktop of the UserInterface is displayed.voidsetDesktopModeMulti(boolean desktopModeMulti)Sets the mode in which the desktop of the UserInterface is displayed.voidsetMagneticArea(int magneticArea)Sets the magnetic area in pixels.voidsetMagneticWindows(GeneralSettings.MagneticWindows magneticWindows)Sets the magnetic scope of the windows that are shown in the UserInterface.voidsetToolbarLabel(GeneralSettings.ToolbarLabel toolbarLabel)Sets the location of the toolbar label.
-
-
-
Method Detail
-
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.
-
-