java.lang.Object
com.aoindustries.noc.gui.Preferences
Encapsulates and stores the previous user preferences.
- Author:
- AO Industries, Inc.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of supported display modes. -
Constructor Summary
Constructors -
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.intRetrieves split pane location ofSystemsPane.intRetrieves selected tab when all combined into a singleJFrame.Retrieves bounds ofTicketEditor.getTicketEditorMultiSplitLayoutModel(TicketEditor.PreferencesSet preferencesSet, String layoutDef) Retrieves layout model ofTicketEditor.Retrieves username ofLoginDialog.voidsetAlertsFrameBounds(Rectangle alertsFrameBounds) Stores bounds ofAlertsPane.voidsetCommunicationFrameBounds(Rectangle communicationFrameBounds) Stores bounds ofCommunicationPane.voidsetCommunicationMultiSplitLayoutModel(String layoutDef, MultiSplitLayout.Node modelRoot) Stores layout model ofCommunicationPane.voidsetDisplayMode(Preferences.DisplayMode displayMode) Stores display mode.voidsetExternal(String external) Stores external address ofLoginDialog.voidsetLocalPort(String localPort) Stores local port ofLoginDialog.voidStores server address ofLoginDialog.voidsetServerPort(String serverPort) Stores server port ofLoginDialog.voidsetSingleFrameBounds(Rectangle singleFrameBounds) Stores bounds when all combined into a singleJFrame.voidsetSystemsAlertLevel(AlertLevel systemsAlertLevel) Stores alert level ofSystemsPane.voidsetSystemsFrameBounds(Rectangle systemsFrameBounds) Stores bounds ofSystemsPane.voidsetSystemsSplitPaneDividerLocation(int systemsSplitPaneDividerLocation) Stores split pane location ofSystemsPane.voidsetTabbedPaneSelectedIndex(int tabbedPaneSelectedIndex) Stores selected tab when all combined into a singleJFrame.voidsetTicketEditorFrameBounds(Rectangle ticketEditorFrameBounds) Stores bounds ofTicketEditor.voidsetTicketEditorMultiSplitLayoutModel(TicketEditor.PreferencesSet preferencesSet, String layoutDef, MultiSplitLayout.Node modelRoot) Stores layout model ofTicketEditor.voidsetUsername(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.
-
