Package weka.core
Class Defaults
java.lang.Object
weka.core.Defaults
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AttributeSummaryPerspective.AttDefaults,BaseExecutionEnvironment.BaseExecutionEnvironmentDefaults,GUIChooserApp.GUIChooserDefaults,ImageSaver.ImageSaverDefaults,KFDefaults,KnowledgeFlowApp.KnowledgeFlowGeneralDefaults,PreprocessPanel.PreprocessDefaults,TextSaver.TextSaverDefaults,VisualizePanel.ScatterDefaults,VisualizeUtils.VisualizeDefaults,WorkbenchDefaults
Base class for providing a set of default settings for an application.
- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the supplied defaults to this one.Get the map of default settingsgetID()Get the ID of this set of defaultsvoidSet the ID for this set of defaults
-
Constructor Details
-
Defaults
Construct a new empty Defaults- Parameters:
ID- the ID for this set of defaults
-
Defaults
Construct a new Defaults- Parameters:
ID- the ID for this set of defaultsdefaults- the default settings to use
-
-
Method Details
-
getID
Get the ID of this set of defaults- Returns:
- the ID of this set of defaults
-
setID
Set the ID for this set of defaults- Parameters:
ID- the ID to use
-
getDefaults
Get the map of default settings- Returns:
- the map of default settings
-
add
Add the supplied defaults to this one. Note that the added defaults now come under the ID of this set of defaults.- Parameters:
toAdd- the defaults to add
-