public class TimeChartPanel extends java.lang.Object implements org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanel, AnimationListener
| Constructor and Description |
|---|
TimeChartPanel(java.lang.String panelName,
org.jfree.data.time.TimeSeriesCollection dataset,
AnimationTimer timer,
java.awt.Color[] seriesColors,
boolean legend,
java.lang.Boolean showNumbers) |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
getComponent()
Returns the component that is shown if this panel is activated by the
user.
|
double |
getHeightInView()
Returns the preferred height of this component when shown to the user.
|
java.lang.String |
getPanelName()
Returns the name of the panel.
|
double |
getWidthInView()
Returns the preferred width of this component when shown to the user.
|
void |
setLabelPosChart(boolean showNumbers) |
void |
setParent(org.processmining.framework.util.ui.scalableview.ScalableViewPanel viewPanel)
This method is called by the ProM scalable view as soon as the panel is
added to this view.
|
void |
setScalableComponent(org.processmining.framework.util.ui.scalableview.ScalableComponent scalable)
This method is called by the ProM scalable view as soon as the panel is
added to this view.
|
void |
started() |
void |
stopped() |
void |
updated()
This method should be called if the component is updated (layout,
content, etc.)
|
void |
updateModelTime(long modelTime) |
void |
willChangeVisibility(boolean visible)
This method is called by the ProMScalableView panel just before the
component of this interaction panel will be shown to the user or hidden
from the user.
|
public TimeChartPanel(java.lang.String panelName,
org.jfree.data.time.TimeSeriesCollection dataset,
AnimationTimer timer,
java.awt.Color[] seriesColors,
boolean legend,
java.lang.Boolean showNumbers)
public void updateModelTime(long modelTime)
updateModelTime in interface AnimationListenerpublic void setLabelPosChart(boolean showNumbers)
public javax.swing.JComponent getComponent()
org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelthis in this method.getComponent in interface org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelpublic double getHeightInView()
org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelgetHeightInView in interface org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelpublic java.lang.String getPanelName()
org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelgetPanelName in interface org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelpublic double getWidthInView()
org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelgetWidthInView in interface org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelpublic void willChangeVisibility(boolean visible)
org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelwillChangeVisibility in interface org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelvisible - TODOpublic void setParent(org.processmining.framework.util.ui.scalableview.ScalableViewPanel viewPanel)
org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelsetParent in interface org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelpublic void setScalableComponent(org.processmining.framework.util.ui.scalableview.ScalableComponent scalable)
org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelsetScalableComponent in interface org.processmining.framework.util.ui.scalableview.interaction.ViewInteractionPanelpublic void updated()
org.processmining.framework.util.ui.scalableview.ScalableComponent.UpdateListenerupdated in interface org.processmining.framework.util.ui.scalableview.ScalableComponent.UpdateListenerpublic void started()
started in interface AnimationListenerpublic void stopped()
stopped in interface AnimationListener