org.opensourcephysics.cabrillo.tracker
Class Configuration

java.lang.Object
  extended by org.opensourcephysics.cabrillo.tracker.Configuration

public class Configuration
extends java.lang.Object

This manages a set of enabled configuration properties.

Version:
1.3 Aug 2004
Author:
Douglas Brown

Constructor Summary
Configuration()
          Creates an empty Configuration.
Configuration(java.util.Set<java.lang.String> enabled)
          Creates a Configuration and initializes it with a configuration.
Configuration(TrackerPanel trackerPanel)
          Creates a Configuration and initializes it with the specified tracker panel configuration.
 
Method Summary
static XML.ObjectLoader getLoader()
          Returns an XML.ObjectLoader to save and load object data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration()
Creates an empty Configuration.


Configuration

public Configuration(java.util.Set<java.lang.String> enabled)
Creates a Configuration and initializes it with a configuration.

Parameters:
enabled - a Set of enabled properties

Configuration

public Configuration(TrackerPanel trackerPanel)
Creates a Configuration and initializes it with the specified tracker panel configuration.

Parameters:
trackerPanel - the tracker panel
Method Detail

getLoader

public static XML.ObjectLoader getLoader()
Returns an XML.ObjectLoader to save and load object data.

Returns:
the XML.ObjectLoader