org.processmining.analysis.socialnetwork
Class SocialNetworkAnalysisUI

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by org.processmining.analysis.socialnetwork.SocialNetworkAnalysisUI
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class SocialNetworkAnalysisUI
extends javax.swing.JPanel

Version:
1.0
Author:
Minseok Song
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.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static java.lang.String[] DEGREE_CENTRALITY_OPTIONS
           
protected  edu.uci.ics.jung.graph.decorators.EdgeStringer es_none
           
static java.lang.String FREQUENCY
           
static java.lang.String INDEGREE
           
static java.lang.String INTERNALFLOW
           
static java.lang.Object NODETYPE
           
static java.lang.Object ORGUNITKEY
           
static java.lang.Object ORIKEY
           
static java.lang.String OUTDEGREE
           
static java.lang.String RATIO
           
static java.lang.Object ROLEKEY
           
 java.awt.Color[] similarColors
           
static java.lang.Object SIZEPROPERTY
           
static java.lang.String ST_BARYRANKER
           
static java.lang.String ST_BETWEENNESS
           
static java.lang.String ST_CircleLayout
           
static java.lang.String ST_ClusterBetweenness
           
static java.lang.String ST_ClusterWeight
           
static java.lang.String ST_DEGREE
           
static java.lang.String ST_FRLayout
           
static java.lang.String ST_HITS
           
static java.lang.String ST_ISOMLayout
           
static java.lang.String ST_KKLayout
           
static java.lang.String ST_SpringLayout
           
protected  org.processmining.analysis.socialnetwork.SocialNetworkAnalysisUI.VertexShapeSizeAspect vssa
           
static java.lang.String WEIGHT
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, 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
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
 
Constructor Summary
SocialNetworkAnalysisUI(SocialNetworkMatrix snMatrix)
           
 
Method Summary
 void addListener()
           
 void calculateDegree()
           
 void changeLayout()
           
 void closeAdvancedFrame(javax.swing.JInternalFrame internalFrame)
          Closes an advanced settings frames that was opened from this social network analysis
 void closeAdvancedFrames()
          Closes all advanced settings frames that were opened from this social network analysis
 void convertSNMatrixToGraph()
           
 edu.uci.ics.jung.algorithms.cluster.ClusterSet extractbyWeight(edu.uci.ics.jung.graph.ArchetypeGraph g, double thresholdvalue)
           
 java.util.List extractbyWeightList(edu.uci.ics.jung.graph.ArchetypeGraph g, double thresholdvalue)
           
protected  double getThresholdFromSlider()
           
 void hideOrgUnitNodes()
           
 void hideRoleOrgNodes()
           
 void initBetweennessCluster()
           
 void initClustering()
           
 void initGraph()
           
 void initWeightCluster()
           
 void showCentrality(java.lang.String st_centrality)
           
 void showDegreePanel()
           
 void showOrgUnitNodes()
           
 void showRoleOrgNodes()
           
 
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, 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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, 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, transferFocusBackward, 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, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, 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, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

es_none

protected edu.uci.ics.jung.graph.decorators.EdgeStringer es_none

vssa

protected org.processmining.analysis.socialnetwork.SocialNetworkAnalysisUI.VertexShapeSizeAspect vssa

similarColors

public final java.awt.Color[] similarColors

ST_ClusterWeight

public static final java.lang.String ST_ClusterWeight
See Also:
Constant Field Values

ST_ClusterBetweenness

public static final java.lang.String ST_ClusterBetweenness
See Also:
Constant Field Values

ST_KKLayout

public static final java.lang.String ST_KKLayout
See Also:
Constant Field Values

ST_CircleLayout

public static final java.lang.String ST_CircleLayout
See Also:
Constant Field Values

ST_FRLayout

public static final java.lang.String ST_FRLayout
See Also:
Constant Field Values

ST_SpringLayout

public static final java.lang.String ST_SpringLayout
See Also:
Constant Field Values

ST_ISOMLayout

public static final java.lang.String ST_ISOMLayout
See Also:
Constant Field Values

ST_DEGREE

public static final java.lang.String ST_DEGREE
See Also:
Constant Field Values

ST_BETWEENNESS

public static final java.lang.String ST_BETWEENNESS
See Also:
Constant Field Values

ST_BARYRANKER

public static final java.lang.String ST_BARYRANKER
See Also:
Constant Field Values

ST_HITS

public static final java.lang.String ST_HITS
See Also:
Constant Field Values

INDEGREE

public static final java.lang.String INDEGREE
See Also:
Constant Field Values

OUTDEGREE

public static final java.lang.String OUTDEGREE
See Also:
Constant Field Values

RATIO

public static final java.lang.String RATIO
See Also:
Constant Field Values

WEIGHT

public static final java.lang.String WEIGHT
See Also:
Constant Field Values

DEGREE_CENTRALITY_OPTIONS

public static final java.lang.String[] DEGREE_CENTRALITY_OPTIONS

INTERNALFLOW

public static final java.lang.String INTERNALFLOW
See Also:
Constant Field Values

FREQUENCY

public static final java.lang.String FREQUENCY
See Also:
Constant Field Values

ROLEKEY

public static final java.lang.Object ROLEKEY

ORGUNITKEY

public static final java.lang.Object ORGUNITKEY

ORIKEY

public static final java.lang.Object ORIKEY

NODETYPE

public static final java.lang.Object NODETYPE

SIZEPROPERTY

public static final java.lang.Object SIZEPROPERTY
Constructor Detail

SocialNetworkAnalysisUI

public SocialNetworkAnalysisUI(SocialNetworkMatrix snMatrix)
Method Detail

initWeightCluster

public void initWeightCluster()

initBetweennessCluster

public void initBetweennessCluster()

initGraph

public void initGraph()

convertSNMatrixToGraph

public void convertSNMatrixToGraph()

showRoleOrgNodes

public void showRoleOrgNodes()

hideRoleOrgNodes

public void hideRoleOrgNodes()

showOrgUnitNodes

public void showOrgUnitNodes()

hideOrgUnitNodes

public void hideOrgUnitNodes()

initClustering

public void initClustering()

addListener

public void addListener()

getThresholdFromSlider

protected double getThresholdFromSlider()

extractbyWeight

public edu.uci.ics.jung.algorithms.cluster.ClusterSet extractbyWeight(edu.uci.ics.jung.graph.ArchetypeGraph g,
                                                                      double thresholdvalue)

extractbyWeightList

public java.util.List extractbyWeightList(edu.uci.ics.jung.graph.ArchetypeGraph g,
                                          double thresholdvalue)

showDegreePanel

public void showDegreePanel()

showCentrality

public void showCentrality(java.lang.String st_centrality)

changeLayout

public void changeLayout()

calculateDegree

public void calculateDegree()

closeAdvancedFrames

public void closeAdvancedFrames()
Closes all advanced settings frames that were opened from this social network analysis


closeAdvancedFrame

public void closeAdvancedFrame(javax.swing.JInternalFrame internalFrame)
Closes an advanced settings frames that was opened from this social network analysis