jas.hist
Interface HasStyle

All Known Implementing Classes:
OneDAdapter, ScatterAdapter, ScatterSliceAdapter, ScatterTwoDAdapter, TwoDAdapter, TwoDSliceAdapter

public interface HasStyle

An interface that can be implemented by any DataSource that wants to have control of the style used to display the data.


Method Summary
 JASHistStyle getStyle()
          This method is called by the plot to determine what style to be used for a plot.
 

Method Detail

getStyle

JASHistStyle getStyle()
This method is called by the plot to determine what style to be used for a plot. It is the programmers responsibility to return the correct subclass of JASHistStyle corresponding to the type of data being implemented by the DataSource.

Returns:
The style to be used, or null to use the default style.
See Also:
JASHist1DHistogramStyle, JASHist2DHistogramStyle, JASHistScatterPlotStyle


Copyright © 2000-2009 FreeHEP. All Rights Reserved.