Package weka.gui
Class PerspectiveManager.SelectedPerspectivePreferences
java.lang.Object
weka.gui.PerspectiveManager.SelectedPerspectivePreferences
- All Implemented Interfaces:
Serializable
- Enclosing class:
- PerspectiveManager
public static class PerspectiveManager.SelectedPerspectivePreferences
extends Object
implements Serializable
Class to manage user preferences with respect to visible perspectives and
whether the perspectives toolbar is always hidden or is visible on
application startup
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get whether the perspectives toolbar should always be hiddenboolean
Get whether the perspectives toolbar should be visible in the GUI at application startupGet the list of perspectives that the user has specified should be visible in the applicationvoid
setPerspectivesToolbarAlwaysHidden
(boolean h) Set whether the perspectives toolbar should always be hiddenvoid
setPerspectivesToolbarVisibleOnStartup
(boolean v) Set whether the perspectives toolbar should be visible in the GUI at application startupvoid
setUserVisiblePerspectives
(LinkedList<String> userVisiblePerspectives) Set a list of perspectives that should be visible
-
Constructor Details
-
SelectedPerspectivePreferences
public SelectedPerspectivePreferences()
-
-
Method Details
-
setUserVisiblePerspectives
Set a list of perspectives that should be visible- Parameters:
userVisiblePerspectives
-
-
getUserVisiblePerspectives
Get the list of perspectives that the user has specified should be visible in the application- Returns:
- the list of visible perspectives
-
setPerspectivesToolbarVisibleOnStartup
public void setPerspectivesToolbarVisibleOnStartup(boolean v) Set whether the perspectives toolbar should be visible in the GUI at application startup- Parameters:
v
- true if the perspectives toolbar should be visible at application startup
-
getPerspectivesToolbarVisibleOnStartup
public boolean getPerspectivesToolbarVisibleOnStartup()Get whether the perspectives toolbar should be visible in the GUI at application startup- Returns:
- true if the perspectives toolbar should be visible at application startup
-
setPerspectivesToolbarAlwaysHidden
public void setPerspectivesToolbarAlwaysHidden(boolean h) Set whether the perspectives toolbar should always be hidden- Parameters:
h
- true if the perspectives toolbar should always be hidden
-
getPerspectivesToolbarAlwaysHidden
public boolean getPerspectivesToolbarAlwaysHidden()Get whether the perspectives toolbar should always be hidden- Returns:
- true if the perspectives toolbar should always be hidden
-