public class FastTransformerPanel
extends javax.swing.JPanel
implements javax.swing.event.ChangeListener, java.awt.event.ItemListener
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected BestEdgeTransformer |
bestEdgeTransformer |
protected org.processmining.models.jgraph.ProMJGraph |
clusterGraph |
protected org.processmining.models.jgraph.visualization.ProMJGraphPanel |
clustGraphPanel |
protected java.awt.Color |
COLOR_BG |
protected java.awt.Color |
COLOR_BG2 |
protected java.awt.Color |
COLOR_FG |
static java.lang.String |
CONCURRENCY_EDGE_TRANSFORMER_ACTIVE |
static java.lang.String |
CONCURRENCY_RATIO |
static java.lang.String |
CONCURRENCY_THRESHOLD |
protected ConcurrencyEdgeTransformer |
concurrencyEdgeTransformer |
protected org.processmining.framework.plugin.PluginContext |
context |
protected FuzzyDetailAnalysis |
detail |
protected LedGauge |
detailGauge |
protected DetailView |
detailView |
static java.lang.String |
EDGE_TRANSFORMER_SELECTION |
static java.lang.String |
EDGE_TRANSFORMER_SELECTION_BEST_EDGES |
static java.lang.String |
EDGE_TRANSFORMER_SELECTION_FUZZY_EDGES |
protected static java.lang.String |
EDGES_FUZZY_IGNORE_LOOPS |
protected static java.lang.String |
EDGES_FUZZY_INTERPRET_ABSOLUTE |
protected javax.swing.JRadioButton |
edgesBestRadioButton |
protected javax.swing.JCheckBox |
edgesConcurrencyActiveBox |
protected javax.swing.JLabel |
edgesConcurrencyRatioLabel |
protected javax.swing.JSlider |
edgesConcurrencyRatioSlider |
protected javax.swing.JLabel |
edgesConcurrencyThresholdLabel |
protected javax.swing.JSlider |
edgesConcurrencyThresholdSlider |
protected javax.swing.JCheckBox |
edgesFuzzyIgnoreLoopBox |
protected javax.swing.JCheckBox |
edgesFuzzyInterpretAbsoluteBox |
protected javax.swing.JLabel |
edgesFuzzyPercentageLabel |
protected javax.swing.JSlider |
edgesFuzzyPercentageSlider |
protected javax.swing.JRadioButton |
edgesFuzzyRadioButton |
protected javax.swing.JLabel |
edgesFuzzyRatioLabel |
protected javax.swing.JSlider |
edgesFuzzyRatioSlider |
protected boolean |
enableRedraw |
static java.lang.String |
FALSE |
protected FastTransformer |
fastTransformer |
protected static java.lang.String |
FILE_LOCATION_LOG_ATT_KEY |
protected static java.lang.String |
FILE_SEPERATOR |
static java.lang.String |
FUZZY_EDGE_CUTOFF |
static java.lang.String |
FUZZY_EDGE_RATIO |
protected FuzzyEdgeTransformer |
fuzzyEdgeTransformer |
protected MutableFuzzyGraph |
graph |
protected org.processmining.models.jgraph.visualization.ProMJGraphPanel |
graphPanel |
protected boolean |
isPatternBasedTransformedLog |
protected org.processmining.models.jgraph.ProMJGraph |
jgraph |
protected org.deckfour.xes.model.XLog |
log |
protected org.processmining.models.jgraph.ProMJGraph |
molecularGraph |
protected org.processmining.plugins.log.logabstraction.LogRelations |
molecularInnerRelations |
static java.lang.String |
NODE_CUTOFF |
protected javax.swing.JLabel |
nodeSignificanceLabel |
protected javax.swing.JSlider |
nodeSignificanceSlider |
protected static java.lang.String |
PARENT_FILE_NAME_LOG_ATT_KEY |
protected org.processmining.models.jgraph.visualization.ProMJGraphPanel |
patternGraphPanel |
protected java.util.HashSet<java.io.File> |
patternLogDirectorySet |
protected FuzzyReplay |
replay |
protected LedGauge |
replayGauge |
protected ReplayView |
replayView |
protected MutableFuzzyGraph |
resultGraph |
protected javax.swing.JPanel |
rightPanel |
protected javax.swing.JPanel |
rootPanel |
protected java.awt.Font |
smallFont |
protected java.lang.Integer |
timeToFormTranformerPanel |
static java.lang.String |
TRUE |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
FastTransformerPanel(org.processmining.framework.plugin.PluginContext context,
MetricsRepository metrics) |
FastTransformerPanel(org.processmining.framework.plugin.PluginContext context,
MetricsRepository metrics,
int orientation) |
FastTransformerPanel(org.processmining.framework.plugin.PluginContext context,
MetricsRepository metrics,
org.deckfour.xes.model.XLog log,
int showNumberOfNodes) |
FastTransformerPanel(org.processmining.framework.plugin.PluginContext context,
MutableFuzzyGraph graph) |
FastTransformerPanel(org.processmining.framework.plugin.PluginContext context,
MutableFuzzyGraph graph,
org.deckfour.xes.model.XLog log,
int showNumberOfNodes,
int orientation) |
Modifier and Type | Method and Description |
---|---|
protected void |
centerHorizontally(javax.swing.JLabel label) |
protected double |
getConcurrencyRatioFromSlider() |
protected double |
getConcurrencyThresholdFromSlider() |
void |
getExportedClusterFuzzyGraphObject(MutableFuzzyGraph innerGraph,
FMClusterNode clusterNode) |
void |
getExportedFuzzyGraphObject(MutableFuzzyGraph innerGraph) |
MutableFuzzyGraph |
getExportFuzzyGraphObjects() |
protected double |
getFuzzyEdgePercentageFromSlider() |
protected double |
getFuzzyEdgeRatioFromSlider() |
FuzzyGraph |
getGraph() |
javax.swing.JComponent |
getGraphPanel() |
org.processmining.plugins.log.logabstraction.LogRelations |
getLogRelations(org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log) |
MutableFuzzyGraph |
getMolecularGraph(FMNode fmNode)
show the detail sub-process graph of the abstract/molecule activity
|
org.processmining.models.jgraph.visualization.ProMJGraphPanel |
getMolecularGraphPanel(org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log,
boolean isAtomicNode,
FMNode node) |
protected double |
getNodeThresholdFromSlider() |
protected void |
initializeGui() |
void |
installClusterGraphPanelListener() |
boolean |
isMolecularNode(FMNode fmNode) |
void |
itemStateChanged(java.awt.event.ItemEvent evt) |
protected javax.swing.JPanel |
packVerticallyCentered(javax.swing.JComponent component,
int width,
int height) |
protected boolean |
readGraphAttributes() |
void |
redrawGraph(boolean isUpdateForChangedParameters) |
protected void |
setConcurrencyEdgeTransformerActive(boolean active) |
protected void |
setFuzzyEdgeControlsEnabled(boolean enabled) |
void |
setGuiEnabled(boolean enabled) |
protected void |
setGuiToInitialValues(int showingNumberOfNodes) |
void |
showMolecularGraph(FMNode fmNode)
show the detail sub-process graph of the abstract/molecule activity
|
void |
stateChanged(javax.swing.event.ChangeEvent evt) |
protected void |
updateConcurrencyRatioSlider() |
protected void |
updateConcurrencyThresholdSlider() |
protected void |
updateEdgeTransformerSelection() |
protected void |
updateFuzzyEdgePercentageSlider() |
protected void |
updateFuzzyEdgeRatioSlider() |
protected void |
updateGraphAttributesFromUI() |
protected void |
updateNodeSignificanceSlider() |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final java.lang.String TRUE
public static final java.lang.String FALSE
public static final java.lang.String EDGE_TRANSFORMER_SELECTION
public static final java.lang.String EDGE_TRANSFORMER_SELECTION_BEST_EDGES
public static final java.lang.String EDGE_TRANSFORMER_SELECTION_FUZZY_EDGES
public static final java.lang.String CONCURRENCY_EDGE_TRANSFORMER_ACTIVE
public static final java.lang.String NODE_CUTOFF
public static final java.lang.String FUZZY_EDGE_RATIO
public static final java.lang.String FUZZY_EDGE_CUTOFF
public static final java.lang.String CONCURRENCY_THRESHOLD
public static final java.lang.String CONCURRENCY_RATIO
protected static final java.lang.String EDGES_FUZZY_IGNORE_LOOPS
protected static final java.lang.String EDGES_FUZZY_INTERPRET_ABSOLUTE
protected static final java.lang.String FILE_SEPERATOR
protected static final java.lang.String FILE_LOCATION_LOG_ATT_KEY
protected static final java.lang.String PARENT_FILE_NAME_LOG_ATT_KEY
protected org.deckfour.xes.model.XLog log
protected MutableFuzzyGraph graph
protected org.processmining.models.jgraph.ProMJGraph jgraph
protected MutableFuzzyGraph resultGraph
protected org.processmining.models.jgraph.ProMJGraph clusterGraph
protected org.processmining.models.jgraph.ProMJGraph molecularGraph
protected org.processmining.framework.plugin.PluginContext context
protected FastTransformer fastTransformer
protected BestEdgeTransformer bestEdgeTransformer
protected FuzzyEdgeTransformer fuzzyEdgeTransformer
protected ConcurrencyEdgeTransformer concurrencyEdgeTransformer
protected FuzzyReplay replay
protected FuzzyDetailAnalysis detail
protected ReplayView replayView
protected DetailView detailView
protected javax.swing.JPanel rightPanel
protected boolean enableRedraw
protected javax.swing.JPanel rootPanel
protected org.processmining.models.jgraph.visualization.ProMJGraphPanel graphPanel
protected org.processmining.models.jgraph.visualization.ProMJGraphPanel clustGraphPanel
protected org.processmining.models.jgraph.visualization.ProMJGraphPanel patternGraphPanel
protected javax.swing.JRadioButton edgesBestRadioButton
protected javax.swing.JRadioButton edgesFuzzyRadioButton
protected javax.swing.JSlider nodeSignificanceSlider
protected javax.swing.JSlider edgesFuzzyRatioSlider
protected javax.swing.JSlider edgesFuzzyPercentageSlider
protected javax.swing.JSlider edgesConcurrencyThresholdSlider
protected javax.swing.JSlider edgesConcurrencyRatioSlider
protected javax.swing.JLabel nodeSignificanceLabel
protected javax.swing.JLabel edgesFuzzyRatioLabel
protected javax.swing.JLabel edgesFuzzyPercentageLabel
protected javax.swing.JLabel edgesConcurrencyThresholdLabel
protected javax.swing.JLabel edgesConcurrencyRatioLabel
protected javax.swing.JCheckBox edgesFuzzyIgnoreLoopBox
protected javax.swing.JCheckBox edgesFuzzyInterpretAbsoluteBox
protected javax.swing.JCheckBox edgesConcurrencyActiveBox
protected LedGauge replayGauge
protected LedGauge detailGauge
protected java.awt.Color COLOR_BG
protected java.awt.Color COLOR_BG2
protected java.awt.Color COLOR_FG
protected java.awt.Font smallFont
protected java.lang.Integer timeToFormTranformerPanel
protected java.util.HashSet<java.io.File> patternLogDirectorySet
protected boolean isPatternBasedTransformedLog
protected org.processmining.plugins.log.logabstraction.LogRelations molecularInnerRelations
public FastTransformerPanel(org.processmining.framework.plugin.PluginContext context, MetricsRepository metrics)
public FastTransformerPanel(org.processmining.framework.plugin.PluginContext context, MetricsRepository metrics, int orientation)
public FastTransformerPanel(org.processmining.framework.plugin.PluginContext context, MetricsRepository metrics, org.deckfour.xes.model.XLog log, int showNumberOfNodes)
public FastTransformerPanel(org.processmining.framework.plugin.PluginContext context, MutableFuzzyGraph graph)
public FastTransformerPanel(org.processmining.framework.plugin.PluginContext context, MutableFuzzyGraph graph, org.deckfour.xes.model.XLog log, int showNumberOfNodes, int orientation)
public MutableFuzzyGraph getExportFuzzyGraphObjects() throws java.lang.Exception
java.lang.Exception
public void getExportedClusterFuzzyGraphObject(MutableFuzzyGraph innerGraph, FMClusterNode clusterNode)
public void getExportedFuzzyGraphObject(MutableFuzzyGraph innerGraph)
public FuzzyGraph getGraph()
protected boolean readGraphAttributes()
protected void initializeGui()
protected javax.swing.JPanel packVerticallyCentered(javax.swing.JComponent component, int width, int height)
protected void setGuiToInitialValues(int showingNumberOfNodes)
public void stateChanged(javax.swing.event.ChangeEvent evt)
stateChanged
in interface javax.swing.event.ChangeListener
public void redrawGraph(boolean isUpdateForChangedParameters)
public javax.swing.JComponent getGraphPanel()
public boolean isMolecularNode(FMNode fmNode)
public MutableFuzzyGraph getMolecularGraph(FMNode fmNode)
fmNode
- public void showMolecularGraph(FMNode fmNode)
fmNode
- public org.processmining.models.jgraph.visualization.ProMJGraphPanel getMolecularGraphPanel(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, boolean isAtomicNode, FMNode node)
public void installClusterGraphPanelListener()
public void setGuiEnabled(boolean enabled)
protected void updateEdgeTransformerSelection()
protected void setFuzzyEdgeControlsEnabled(boolean enabled)
protected void setConcurrencyEdgeTransformerActive(boolean active)
protected void updateNodeSignificanceSlider()
protected void updateFuzzyEdgeRatioSlider()
protected void updateFuzzyEdgePercentageSlider()
protected void updateConcurrencyThresholdSlider()
protected void updateConcurrencyRatioSlider()
protected double getNodeThresholdFromSlider()
protected double getFuzzyEdgeRatioFromSlider()
protected double getFuzzyEdgePercentageFromSlider()
protected double getConcurrencyThresholdFromSlider()
protected double getConcurrencyRatioFromSlider()
protected void updateGraphAttributesFromUI()
public void itemStateChanged(java.awt.event.ItemEvent evt)
itemStateChanged
in interface java.awt.event.ItemListener
protected void centerHorizontally(javax.swing.JLabel label)
public org.processmining.plugins.log.logabstraction.LogRelations getLogRelations(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log) throws java.util.concurrent.CancellationException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.util.concurrent.CancellationException
java.lang.InterruptedException
java.util.concurrent.ExecutionException