Package com.uc4.communication
Class GeneralSettings
java.lang.Object
com.uc4.communication.GeneralSettings
This class represents the general settings.
These settings can be found in the User Interface - Options - Settings - General
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Setting for magnetic windows.static enum
Toolbar label location. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the magnetic area in pixels.Returns the magnetic scope of the windows that are shown in the UserInterface.int
Returns the maximum size in bytes for binary uploads (STORE objects).Returns the location of the toolbar label.boolean
Returns the mode in which the desktop of the UserInterface is displayed.void
setDesktopModeMulti
(boolean desktopModeMulti) Sets the mode in which the desktop of the UserInterface is displayed.void
setMagneticArea
(int magneticArea) Sets the magnetic area in pixels.void
setMagneticWindows
(GeneralSettings.MagneticWindows magneticWindows) Sets the magnetic scope of the windows that are shown in the UserInterface.void
setToolbarLabel
(GeneralSettings.ToolbarLabel toolbarLabel) Sets the location of the toolbar label.
-
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
Returns the magnetic scope of the windows that are shown in the UserInterface. By default, this function is deactivated.- Returns:
- Magnetic scope
-
setMagneticWindows
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
Returns the location of the toolbar label.- Returns:
- Location of the label in toolbars
-
setToolbarLabel
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.
-