Package weka.gui
Class PerspectiveManager.SelectedPerspectivePreferences
- java.lang.Object
-
- weka.gui.PerspectiveManager.SelectedPerspectivePreferences
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- PerspectiveManager
public static class PerspectiveManager.SelectedPerspectivePreferences extends java.lang.Object implements java.io.SerializableClass 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelectedPerspectivePreferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetPerspectivesToolbarAlwaysHidden()Get whether the perspectives toolbar should always be hiddenbooleangetPerspectivesToolbarVisibleOnStartup()Get whether the perspectives toolbar should be visible in the GUI at application startupjava.util.LinkedList<java.lang.String>getUserVisiblePerspectives()Get the list of perspectives that the user has specified should be visible in the applicationvoidsetPerspectivesToolbarAlwaysHidden(boolean h)Set whether the perspectives toolbar should always be hiddenvoidsetPerspectivesToolbarVisibleOnStartup(boolean v)Set whether the perspectives toolbar should be visible in the GUI at application startupvoidsetUserVisiblePerspectives(java.util.LinkedList<java.lang.String> userVisiblePerspectives)Set a list of perspectives that should be visible
-
-
-
Method Detail
-
setUserVisiblePerspectives
public void setUserVisiblePerspectives(java.util.LinkedList<java.lang.String> userVisiblePerspectives)
Set a list of perspectives that should be visible- Parameters:
userVisiblePerspectives-
-
getUserVisiblePerspectives
public java.util.LinkedList<java.lang.String> 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
-
-