Class 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
      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
      • Nested classes/interfaces inherited from interface org.processmining.framework.util.ui.scalableview.ScalableComponent

        org.processmining.framework.util.ui.scalableview.ScalableComponent.UpdateListener
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.awt.Image dashboardIcon  
      protected LogDashboardUI dashboardUI  
      protected java.awt.Image inspectorIcon  
      protected InspectorUI inspectorUI  
      protected org.deckfour.xes.model.XLog log  
      protected LogInfoUI loginfoUI  
      protected org.deckfour.xes.info.XLogInfo summary  
      protected java.awt.Image summaryIcon  
      protected com.fluxicon.slickerbox.components.SlickerTabbedPane tabbedPane  
      • 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
      • Fields inherited from class java.awt.Component

        accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • Fields inherited from interface java.awt.image.ImageObserver

        ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addUpdateListener​(org.processmining.framework.util.ui.scalableview.ScalableComponent.UpdateListener listener)
      Adds an updatelistener to this scalable component.
      protected void completeGui​(org.processmining.framework.plugin.PluginContext context)  
      javax.swing.JComponent getComponent()
      Returns the component that will be scaled using getScale and setScale methods Most implementations will actually override JComponent and return this in this method.
      org.deckfour.xes.model.XLog getLog()  
      org.deckfour.xes.info.XLogInfo getLogInfo()  
      org.processmining.plugins.interactivevisualization.InteractivityManager getManager()
      Get the current Interactivity Manager instance.
      double getScale()
      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 void initialize​(java.lang.String path)
      loads the log and initializes this component
      void removeUpdateListener​(org.processmining.framework.util.ui.scalableview.ScalableComponent.UpdateListener listener)
      Removes an updatelistener from this scalable component.
      void setManager​(org.processmining.plugins.interactivevisualization.InteractivityManager manager)
      Set the manager that manages the interactivity between visualizations.
      void setScale​(double newScale)
      Sets the current scale.
      javax.swing.JComponent showLogVis​(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log)  
      javax.swing.JComponent showLogVis​(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, java.lang.String path)  
      javax.swing.JComponent showLogVis​(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary)  
      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)  
      void updateVisualization​(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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • 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
    • Constructor Detail

      • SlickerOpenLogSettings

        public SlickerOpenLogSettings()
    • 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.InteractiveVisualization
        Trigger an update (repaint) of the visualization. (e.g. because a tag has been updated.)
        Specified by:
        updateVisualization in interface org.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.InteractiveVisualization
        Set the manager that manages the interactivity between visualizations.
        Specified by:
        setManager in interface org.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.InteractiveVisualization
        Get 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:
        getSelectedElements in interface org.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.InteractiveVisualization
        Get 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:
        getVisibleElements in interface org.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.InteractiveVisualization
        Get the current Interactivity Manager instance.
        Specified by:
        getManager in interface org.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.ScalableComponent
        Returns the component that will be scaled using getScale and setScale methods Most implementations will actually override JComponent and return this in this method.
        Specified by:
        getComponent in interface org.processmining.framework.util.ui.scalableview.ScalableComponent
        Returns:
        a component
      • getScale

        public double getScale()
        Description copied from interface: org.processmining.framework.util.ui.scalableview.ScalableComponent
        Returns the current scale.
        Specified by:
        getScale in interface org.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.ScalableComponent
        Sets the current scale.

        Specified by:
        setScale in interface org.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.ScalableComponent
        Adds 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:
        addUpdateListener in interface org.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.ScalableComponent
        Removes an updatelistener from this scalable component.
        Specified by:
        removeUpdateListener in interface org.processmining.framework.util.ui.scalableview.ScalableComponent