org.processmining.analysis.logstatistics
Class OptionPanel

java.lang.Object
  extended by org.processmining.analysis.logstatistics.OptionPanel
All Implemented Interfaces:
GuiDisplayable

public class OptionPanel
extends java.lang.Object
implements GuiDisplayable

Option panel displayed to the user in order to adjust the displayed log statistics.

Author:
anne

Constructor Summary
OptionPanel()
          Default constructor.
 
Method Summary
 org.processmining.analysis.logstatistics.OptionPanel.ViewMode getCurrentViewMode()
          Returns the currently selected view mode object, which contains further information about the display options for the respective mode.
 javax.swing.JPanel getPanel()
          Retrieves the GUI panel representing this object.
 org.processmining.analysis.logstatistics.OptionPanel.ResultConfiguration getProperty(org.processmining.analysis.logstatistics.OptionPanel.ResultType type)
          Returns the configuration object for the requested result type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionPanel

public OptionPanel()
Default constructor. Initializes default options.

Method Detail

getCurrentViewMode

public org.processmining.analysis.logstatistics.OptionPanel.ViewMode getCurrentViewMode()
Returns the currently selected view mode object, which contains further information about the display options for the respective mode.

Returns:
the current view mode object

getProperty

public org.processmining.analysis.logstatistics.OptionPanel.ResultConfiguration getProperty(org.processmining.analysis.logstatistics.OptionPanel.ResultType type)
Returns the configuration object for the requested result type. The configuration object contains information about, e.g., in which time unit the result type should be displayed.

Parameters:
type - the result type for which the configuration object is requested
Returns:
the requested configuration object

getPanel

public javax.swing.JPanel getPanel()
Retrieves the GUI panel representing this object.

Specified by:
getPanel in interface GuiDisplayable
Returns:
the GUI panel representing this object