/*
 *  Copyright (C) 2004  The Concord Consortium, Inc.,
 *  10 Concord Crossing, Concord, MA 01742
 *
 *  Web Site: http://www.concord.org
 *  Email: info@concord.org
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2.1 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * END LICENSE */

/*
 * Created on Mar 8, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package org.concord.datagraph.state;

import org.concord.data.state.OTDataStore;
import org.concord.framework.otrunk.OTObject;
import org.concord.framework.otrunk.OTObjectList;

/**
 * @author scott
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public interface OTDataCollector
    extends OTDataGraph
{
    public String getTitle();
    public void setTitle(String title);
    
	public OTDataGraphable getSource();
	public void setSource(OTDataGraphable source);
	
	public OTDataAxis getYDataAxis();
	public void setYDataAxis(OTDataAxis yDataAxis);

	public OTDataAxis getXDataAxis();
	public void setXDataAxis(OTDataAxis xDataAxis);
	
	public final static boolean DEFAULT_singleValue = false;
	public boolean getSingleValue();
	public void setSingleValue(boolean singleValue);
	
	public final static boolean DEFAULT_showTare = false;
	public boolean getShowTare();
	public void setShowTare(boolean showTare);
	
	public OTDataStore getSingleDataStore();
	public void setSingleDataStore(OTDataStore dataStore);
	
	// if this is null then this doesn't allow saving 
	// named data sets
	public OTObject getDataSetFolder();
	
	public OTObjectList getGraphables();

	//The labels on this data collector are a separate list
	public OTObjectList getLabels();
	
	//public void addGraphable(OTDataGraphable graphable);
	
	public boolean getShowControlBar();
	public void setShowControlBar(boolean controlBar);
	public static boolean DEFAULT_showControlBar = true;
	
	
	public final static boolean DEFAULT_multipleGraphableEnabled = false;
	public boolean getMultipleGraphableEnabled();
	public void setMultipleGraphableEnabled(boolean multipleGraphableEnabled);
	
	public final static boolean DEFAULT_rulerEnabled = false;
	public boolean getRulerEnabled();
	public void setRulerEnabled(boolean rulerEnabled);
	
	public final static boolean DEFAULT_autoScaleEnabled = true;
	public boolean getAutoScaleEnabled();
	public void setAutoScaleEnabled(boolean autoScaleEnabled);
	
	// Settings for the buttons displayed in the tool bar
	public final static boolean DEFAULT_useDefaultToolBar = true;
	public boolean getUseDefaultToolBar();
	public void setUseDefaultToolBar(boolean useDefaultToolBar);
	
	public final static boolean DEFAULT_showLabelCoordinates = true;
	public boolean getShowLabelCoordinates();
	public void setShowLabelCoordinates(boolean showLabelCoordinates);
	
	// Settings for the buttons displayed in the tool bar, and a comma-separated
	// list of ints. This is used only if useDefaultToolBar is not true. For the 
	// meaning of the numbers, see the static ints defined in DataGraphToolbar
	public String getDisplayButtons();
	public void setDisplayButtons(String displayButtons);
}
@@ -3547,24 +3547,180 @@
 dinates);%0A%09%0A
+%09public final static int DEFAULT_labelDecimalPlaces = 2;%0A%09public int getLabelDecimalPlaces();%0A%09public void setLabelDecimalPlaces(int labelDecimalPlaces);%0A%09%0A
 %09// Settings

Add a graph fields for setting sig figs of label coordinates. Update edit view to author this. (LOOP-117)