Package com.uc4.communication
Class GeneralSettings
- java.lang.Object
-
- com.uc4.communication.GeneralSettings
-
public class GeneralSettings extends java.lang.Object
This 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 class
GeneralSettings.MagneticWindows
Setting for magnetic windows.static class
GeneralSettings.ToolbarLabel
Toolbar label location.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMagneticArea()
Returns the magnetic area in pixels.GeneralSettings.MagneticWindows
getMagneticWindows()
Returns the magnetic scope of the windows that are shown in the UserInterface.int
getMaxStoreImportSize()
Returns the maximum size in bytes for binary uploads (STORE objects).GeneralSettings.ToolbarLabel
getToolbarLabel()
Returns the location of the toolbar label.boolean
isDesktopModeMulti()
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 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.
-
-