Class SlickerOpenLogSettings
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- javax.swing.JPanel
-
- org.processmining.plugins.log.ui.logdialog.SlickerOpenLogSettings
-
- All Implemented Interfaces:
java.awt.image.ImageObserver,java.awt.MenuContainer,java.io.Serializable,javax.accessibility.Accessible,org.processmining.framework.util.ui.scalableview.ScalableComponent,org.processmining.plugins.interactivevisualization.InteractiveVisualization
public class SlickerOpenLogSettings extends javax.swing.JPanel implements org.processmining.framework.util.ui.scalableview.ScalableComponent, org.processmining.plugins.interactivevisualization.InteractiveVisualization- Author:
- Christian W. Guenther (christian@deckfour.org)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
-
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
-
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.ImagedashboardIconprotected LogDashboardUIdashboardUIprotected java.awt.ImageinspectorIconprotected InspectorUIinspectorUIprotected org.deckfour.xes.model.XLoglogprotected LogInfoUIloginfoUIprotected org.deckfour.xes.info.XLogInfosummaryprotected java.awt.ImagesummaryIconprotected com.fluxicon.slickerbox.components.SlickerTabbedPanetabbedPane-
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
-
Constructor Summary
Constructors Constructor Description SlickerOpenLogSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddUpdateListener(org.processmining.framework.util.ui.scalableview.ScalableComponent.UpdateListener listener)Adds an updatelistener to this scalable component.protected voidcompleteGui(org.processmining.framework.plugin.PluginContext context)javax.swing.JComponentgetComponent()Returns the component that will be scaled using getScale and setScale methods Most implementations will actually override JComponent and returnthisin this method.org.deckfour.xes.model.XLoggetLog()org.deckfour.xes.info.XLogInfogetLogInfo()org.processmining.plugins.interactivevisualization.InteractivityManagergetManager()Get the current Interactivity Manager instance.doublegetScale()Returns the current scale.java.util.Map<java.lang.String,java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID>>getSelectedElements()Get the elements that are selected in this visualization.java.util.Map<java.lang.String,java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID>>getVisibleElements()Get the elements that are visible in this visualization.protected voidinitialize(java.lang.String path)loads the log and initializes this componentvoidremoveUpdateListener(org.processmining.framework.util.ui.scalableview.ScalableComponent.UpdateListener listener)Removes an updatelistener from this scalable component.voidsetManager(org.processmining.plugins.interactivevisualization.InteractivityManager manager)Set the manager that manages the interactivity between visualizations.voidsetScale(double newScale)Sets the current scale.javax.swing.JComponentshowLogVis(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log)javax.swing.JComponentshowLogVis(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.lang.String path)javax.swing.JComponentshowLogVis(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary)javax.swing.JComponentshowLogVis(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary, java.lang.String path)voidupdateVisualization(boolean logChanged, boolean tagsChanged)Trigger an update (repaint) of the visualization.-
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
-
Methods inherited from class javax.swing.JComponent
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
-
Methods inherited from class java.awt.Container
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
-
Methods inherited from class java.awt.Component
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, 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, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Field Detail
-
inspectorUI
protected InspectorUI inspectorUI
-
dashboardUI
protected LogDashboardUI dashboardUI
-
loginfoUI
protected LogInfoUI loginfoUI
-
dashboardIcon
protected java.awt.Image dashboardIcon
-
inspectorIcon
protected java.awt.Image inspectorIcon
-
summaryIcon
protected java.awt.Image summaryIcon
-
log
protected org.deckfour.xes.model.XLog log
-
summary
protected org.deckfour.xes.info.XLogInfo summary
-
tabbedPane
protected com.fluxicon.slickerbox.components.SlickerTabbedPane tabbedPane
-
-
Method Detail
-
showLogVis
public javax.swing.JComponent showLogVis(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log)
-
showLogVis
public javax.swing.JComponent showLogVis(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.lang.String path)
-
showLogVis
public javax.swing.JComponent showLogVis(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary)
-
showLogVis
public javax.swing.JComponent showLogVis(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary, java.lang.String path)
-
initialize
protected void initialize(java.lang.String path)
loads the log and initializes this component
-
completeGui
protected void completeGui(org.processmining.framework.plugin.PluginContext context)
-
getLog
public org.deckfour.xes.model.XLog getLog()
-
getLogInfo
public org.deckfour.xes.info.XLogInfo getLogInfo()
-
updateVisualization
public void updateVisualization(boolean logChanged, boolean tagsChanged)Description copied from interface:org.processmining.plugins.interactivevisualization.InteractiveVisualizationTrigger an update (repaint) of the visualization. (e.g. because a tag has been updated.)- Specified by:
updateVisualizationin interfaceorg.processmining.plugins.interactivevisualization.InteractiveVisualization- Parameters:
logChanged- Indicates that the log has been changed (e.g. filtered).tagsChanged- Indicates that one or more tags have been changed.
-
setManager
public void setManager(org.processmining.plugins.interactivevisualization.InteractivityManager manager)
Description copied from interface:org.processmining.plugins.interactivevisualization.InteractiveVisualizationSet the manager that manages the interactivity between visualizations.- Specified by:
setManagerin interfaceorg.processmining.plugins.interactivevisualization.InteractiveVisualization- Parameters:
manager- The instance of the Interactivity Manager that manages interaction between visualizations.
-
getSelectedElements
public java.util.Map<java.lang.String,java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID>> getSelectedElements()
Description copied from interface:org.processmining.plugins.interactivevisualization.InteractiveVisualizationGet the elements that are selected in this visualization. (Representation in a set of Event IDs, but the visualization may of course display completely different things as long as they can be mapped to events.)- Specified by:
getSelectedElementsin interfaceorg.processmining.plugins.interactivevisualization.InteractiveVisualization- Returns:
- Returns a collection of instances that define a specific set of events.
-
getVisibleElements
public java.util.Map<java.lang.String,java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID>> getVisibleElements()
Description copied from interface:org.processmining.plugins.interactivevisualization.InteractiveVisualizationGet the elements that are visible in this visualization. (e.g., one may be zoomed in on a particular area, this set represents the elements visible at that moment.)- Specified by:
getVisibleElementsin interfaceorg.processmining.plugins.interactivevisualization.InteractiveVisualization- Returns:
- Returns a collection of instances that define the visible set of events.
-
getManager
public org.processmining.plugins.interactivevisualization.InteractivityManager getManager()
Description copied from interface:org.processmining.plugins.interactivevisualization.InteractiveVisualizationGet the current Interactivity Manager instance.- Specified by:
getManagerin interfaceorg.processmining.plugins.interactivevisualization.InteractiveVisualization- Returns:
- Returns the interactivity manager.
-
getComponent
public javax.swing.JComponent getComponent()
Description copied from interface:org.processmining.framework.util.ui.scalableview.ScalableComponentReturns the component that will be scaled using getScale and setScale methods Most implementations will actually override JComponent and returnthisin this method.- Specified by:
getComponentin interfaceorg.processmining.framework.util.ui.scalableview.ScalableComponent- Returns:
- a component
-
getScale
public double getScale()
Description copied from interface:org.processmining.framework.util.ui.scalableview.ScalableComponentReturns the current scale.- Specified by:
getScalein interfaceorg.processmining.framework.util.ui.scalableview.ScalableComponent- Returns:
- the current scale as a double
-
setScale
public void setScale(double newScale)
Description copied from interface:org.processmining.framework.util.ui.scalableview.ScalableComponentSets the current scale.- Specified by:
setScalein interfaceorg.processmining.framework.util.ui.scalableview.ScalableComponent
-
addUpdateListener
public void addUpdateListener(org.processmining.framework.util.ui.scalableview.ScalableComponent.UpdateListener listener)
Description copied from interface:org.processmining.framework.util.ui.scalableview.ScalableComponentAdds an updatelistener to this scalable component. This listener will be updated as soon as the contents of the component change, i.e. if the component- Specified by:
addUpdateListenerin interfaceorg.processmining.framework.util.ui.scalableview.ScalableComponent
-
removeUpdateListener
public void removeUpdateListener(org.processmining.framework.util.ui.scalableview.ScalableComponent.UpdateListener listener)
Description copied from interface:org.processmining.framework.util.ui.scalableview.ScalableComponentRemoves an updatelistener from this scalable component.- Specified by:
removeUpdateListenerin interfaceorg.processmining.framework.util.ui.scalableview.ScalableComponent
-
-