public class GeneralNumberListStatisticsReportUI extends JPanel implements org.gephi.datalab.spi.columns.AttributeColumnsManipulatorUI, org.gephi.datalab.spi.ManipulatorUI
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
private org.jfree.chart.JFreeChart |
boxPlot |
private org.gephi.ui.components.JFreeChartDialog |
boxPlotDialog |
private JButton |
configureBoxPlotButton |
private JButton |
configureHistogramButton |
private JButton |
configureScatterPlotButton |
private String |
dataName |
private String |
dialogTitle |
private JComboBox |
divisionsComboBox |
private JLabel |
divisionsLabel |
private org.jfree.chart.JFreeChart |
histogram |
private org.gephi.ui.components.JFreeChartDialog |
histogramDialog |
private int |
histogramDivisions |
private JSeparator |
jSeparator1 |
private static int |
MAX_HISTOGRAM_DIVISIONS |
private static int |
MIN_HISTOGRAM_DIVISIONS |
private Number[] |
numbers |
private org.gephi.ui.components.SimpleHTMLReport |
reportDialog |
private org.jfree.chart.JFreeChart |
scatterPlot |
private org.gephi.ui.components.JFreeChartDialog |
scatterPlotDialog |
private JButton |
showReportButton |
private BigDecimal[] |
statistics |
private JCheckBox |
useLinearRegression |
private JCheckBox |
useLinesCheckBox |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
GeneralNumberListStatisticsReportUI(Number[] numbers,
String dataName,
String dialogTitle)
Constructor method to set all necessary information to build statistics, charts and dialog title.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
configureBoxPlotButtonActionPerformed(ActionEvent evt) |
private void |
configureHistogramButtonActionPerformed(ActionEvent evt) |
private void |
configureScatterPlotButtonActionPerformed(ActionEvent evt) |
private void |
divisionsComboBoxItemStateChanged(ItemEvent evt) |
String |
getDisplayName() |
JPanel |
getSettingsPanel() |
private void |
initComponents()
This method is called from within the constructor to
initialize the form.
|
boolean |
isModal() |
private void |
prepareBoxPlot() |
private void |
prepareHistogram() |
private void |
prepareScatterPlot() |
private void |
setChartControlsEnabled(boolean enabled) |
void |
setup(org.gephi.datalab.spi.columns.AttributeColumnsManipulator m,
org.gephi.graph.api.GraphModel graphModel,
org.gephi.graph.api.Table table,
org.gephi.graph.api.Column column,
org.gephi.datalab.spi.DialogControls dialogControls) |
void |
setup(org.gephi.datalab.spi.Manipulator m,
org.gephi.datalab.spi.DialogControls dialogControls) |
private void |
showReportButtonActionPerformed(ActionEvent evt) |
void |
unSetup() |
private void |
useLinearRegressionActionPerformed(ActionEvent evt) |
private void |
useLinesCheckBoxActionPerformed(ActionEvent evt) |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, updateadd, 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, validateTreeaction, 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, transferFocusUpCycleprivate final Number[] numbers
private final String dataName
private final String dialogTitle
private final BigDecimal[] statistics
private org.jfree.chart.JFreeChart boxPlot
private org.jfree.chart.JFreeChart scatterPlot
private org.jfree.chart.JFreeChart histogram
private org.gephi.ui.components.JFreeChartDialog boxPlotDialog
private org.gephi.ui.components.JFreeChartDialog scatterPlotDialog
private org.gephi.ui.components.JFreeChartDialog histogramDialog
private org.gephi.ui.components.SimpleHTMLReport reportDialog
private int histogramDivisions
private static final int MIN_HISTOGRAM_DIVISIONS
private static final int MAX_HISTOGRAM_DIVISIONS
private JButton configureBoxPlotButton
private JButton configureHistogramButton
private JButton configureScatterPlotButton
private JComboBox divisionsComboBox
private JLabel divisionsLabel
private JSeparator jSeparator1
private JButton showReportButton
private JCheckBox useLinearRegression
private JCheckBox useLinesCheckBox
public GeneralNumberListStatisticsReportUI(Number[] numbers, String dataName, String dialogTitle)
numbers - Numbers to build statistics and chartsdataName - Name of the numbers data (column title for example)dialogTitle - Title of the dialog windowpublic void setup(org.gephi.datalab.spi.columns.AttributeColumnsManipulator m,
org.gephi.graph.api.GraphModel graphModel,
org.gephi.graph.api.Table table,
org.gephi.graph.api.Column column,
org.gephi.datalab.spi.DialogControls dialogControls)
setup in interface org.gephi.datalab.spi.columns.AttributeColumnsManipulatorUIpublic void setup(org.gephi.datalab.spi.Manipulator m,
org.gephi.datalab.spi.DialogControls dialogControls)
setup in interface org.gephi.datalab.spi.ManipulatorUIprivate void setChartControlsEnabled(boolean enabled)
public void unSetup()
unSetup in interface org.gephi.datalab.spi.columns.AttributeColumnsManipulatorUIunSetup in interface org.gephi.datalab.spi.ManipulatorUIpublic String getDisplayName()
getDisplayName in interface org.gephi.datalab.spi.columns.AttributeColumnsManipulatorUIgetDisplayName in interface org.gephi.datalab.spi.ManipulatorUIpublic JPanel getSettingsPanel()
getSettingsPanel in interface org.gephi.datalab.spi.columns.AttributeColumnsManipulatorUIgetSettingsPanel in interface org.gephi.datalab.spi.ManipulatorUIpublic boolean isModal()
isModal in interface org.gephi.datalab.spi.columns.AttributeColumnsManipulatorUIisModal in interface org.gephi.datalab.spi.ManipulatorUIprivate void prepareBoxPlot()
private void prepareScatterPlot()
private void prepareHistogram()
private void initComponents()
private void configureBoxPlotButtonActionPerformed(ActionEvent evt)
private void configureScatterPlotButtonActionPerformed(ActionEvent evt)
private void showReportButtonActionPerformed(ActionEvent evt)
private void useLinesCheckBoxActionPerformed(ActionEvent evt)
private void useLinearRegressionActionPerformed(ActionEvent evt)
private void divisionsComboBoxItemStateChanged(ItemEvent evt)
private void configureHistogramButtonActionPerformed(ActionEvent evt)
Copyright © 2007–2015 Gephi Consortium. All rights reserved.