java.lang.Object
com.aoindustries.noc.gui.Preferences
Encapsulates and stores the previous user preferences.
- Author:
- AO Industries, Inc.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of supported display modes. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves bounds ofAlertsPane
.Retrieves bounds ofCommunicationPane
.getCommunicationMultiSplitLayoutModel
(String layoutDef) Retrieves layout model ofCommunicationPane
.Retrieves display mode.Retrieves external address ofLoginDialog
.Retrieves local port ofLoginDialog
.Retrieves server address ofLoginDialog
.Retrieves server port ofLoginDialog
.Retrieves bounds when all combined into a singleJFrame
.Retrieves alert level ofSystemsPane
.Retrieves bounds ofSystemsPane
.int
Retrieves split pane location ofSystemsPane
.int
Retrieves selected tab when all combined into a singleJFrame
.Retrieves bounds ofTicketEditor
.getTicketEditorMultiSplitLayoutModel
(TicketEditor.PreferencesSet preferencesSet, String layoutDef) Retrieves layout model ofTicketEditor
.Retrieves username ofLoginDialog
.void
setAlertsFrameBounds
(Rectangle alertsFrameBounds) Stores bounds ofAlertsPane
.void
setCommunicationFrameBounds
(Rectangle communicationFrameBounds) Stores bounds ofCommunicationPane
.void
setCommunicationMultiSplitLayoutModel
(String layoutDef, MultiSplitLayout.Node modelRoot) Stores layout model ofCommunicationPane
.void
setDisplayMode
(Preferences.DisplayMode displayMode) Stores display mode.void
setExternal
(String external) Stores external address ofLoginDialog
.void
setLocalPort
(String localPort) Stores local port ofLoginDialog
.void
Stores server address ofLoginDialog
.void
setServerPort
(String serverPort) Stores server port ofLoginDialog
.void
setSingleFrameBounds
(Rectangle singleFrameBounds) Stores bounds when all combined into a singleJFrame
.void
setSystemsAlertLevel
(AlertLevel systemsAlertLevel) Stores alert level ofSystemsPane
.void
setSystemsFrameBounds
(Rectangle systemsFrameBounds) Stores bounds ofSystemsPane
.void
setSystemsSplitPaneDividerLocation
(int systemsSplitPaneDividerLocation) Stores split pane location ofSystemsPane
.void
setTabbedPaneSelectedIndex
(int tabbedPaneSelectedIndex) Stores selected tab when all combined into a singleJFrame
.void
setTicketEditorFrameBounds
(Rectangle ticketEditorFrameBounds) Stores bounds ofTicketEditor
.void
setTicketEditorMultiSplitLayoutModel
(TicketEditor.PreferencesSet preferencesSet, String layoutDef, MultiSplitLayout.Node modelRoot) Stores layout model ofTicketEditor
.void
setUsername
(User.Name username) Stores username ofLoginDialog
.
-
Constructor Details
-
Preferences
Creates a new encapsulation of user preferences.
-
-
Method Details
-
getDisplayMode
Retrieves display mode. -
setDisplayMode
Stores display mode. -
getTabbedPaneSelectedIndex
public int getTabbedPaneSelectedIndex()Retrieves selected tab when all combined into a singleJFrame
. -
setTabbedPaneSelectedIndex
public void setTabbedPaneSelectedIndex(int tabbedPaneSelectedIndex) Stores selected tab when all combined into a singleJFrame
. -
getSingleFrameBounds
Retrieves bounds when all combined into a singleJFrame
. -
setSingleFrameBounds
Stores bounds when all combined into a singleJFrame
. -
getAlertsFrameBounds
Retrieves bounds ofAlertsPane
. -
setAlertsFrameBounds
Stores bounds ofAlertsPane
. -
getCommunicationFrameBounds
Retrieves bounds ofCommunicationPane
. -
setCommunicationFrameBounds
Stores bounds ofCommunicationPane
. -
getSystemsFrameBounds
Retrieves bounds ofSystemsPane
. -
setSystemsFrameBounds
Stores bounds ofSystemsPane
. -
getServer
Retrieves server address ofLoginDialog
. -
setServer
Stores server address ofLoginDialog
. -
getServerPort
Retrieves server port ofLoginDialog
. -
setServerPort
Stores server port ofLoginDialog
. -
getExternal
Retrieves external address ofLoginDialog
. -
setExternal
Stores external address ofLoginDialog
. -
getLocalPort
Retrieves local port ofLoginDialog
. -
setLocalPort
Stores local port ofLoginDialog
. -
getUsername
Retrieves username ofLoginDialog
. -
setUsername
Stores username ofLoginDialog
. -
getSystemsAlertLevel
Retrieves alert level ofSystemsPane
. -
setSystemsAlertLevel
Stores alert level ofSystemsPane
. -
getSystemsSplitPaneDividerLocation
public int getSystemsSplitPaneDividerLocation()Retrieves split pane location ofSystemsPane
. -
setSystemsSplitPaneDividerLocation
public void setSystemsSplitPaneDividerLocation(int systemsSplitPaneDividerLocation) Stores split pane location ofSystemsPane
. -
getCommunicationMultiSplitLayoutModel
Retrieves layout model ofCommunicationPane
. -
setCommunicationMultiSplitLayoutModel
public void setCommunicationMultiSplitLayoutModel(String layoutDef, MultiSplitLayout.Node modelRoot) Stores layout model ofCommunicationPane
. -
getTicketEditorMultiSplitLayoutModel
public MultiSplitLayout.Node getTicketEditorMultiSplitLayoutModel(TicketEditor.PreferencesSet preferencesSet, String layoutDef) Retrieves layout model ofTicketEditor
. -
setTicketEditorMultiSplitLayoutModel
public void setTicketEditorMultiSplitLayoutModel(TicketEditor.PreferencesSet preferencesSet, String layoutDef, MultiSplitLayout.Node modelRoot) Stores layout model ofTicketEditor
. -
getTicketEditorFrameBounds
Retrieves bounds ofTicketEditor
. -
setTicketEditorFrameBounds
Stores bounds ofTicketEditor
.
-