public class FisherExact extends Analysis implements java.awt.event.MouseListener, java.awt.event.ActionListener, java.awt.event.KeyListener, java.awt.event.MouseMotionListener, java.beans.PropertyChangeListener
javax.swing.JApplet.AccessibleJApplet
java.applet.Applet.AccessibleApplet
ADD, addButton1, addButton2, addButton3, analysis, analysisDescription1, analysisDescription2, analysisDescription3, analysisDescription4, analysisDescription5, analysisDescription6, analysisDescription7, analysisName, analysisType, bPanel, CALCULATE, callServerAction, censorIndex, chartFactory, CLEAR, clearAction, columnModel, columnNames, columnNumber, computeAction, controlPanel, currentDepIndex, currentIndepIndex, data, DATA, DATA_COLINEAR_MESSAGE, DATA_ERROR_MESSAGE, DATA_MISSING_MESSAGE, dataObject, dataPanel, dataTable, dataText, DEFAULT_DATA_PANEL_HEIGHT, DEFAULT_DATA_PANEL_WIDTH, DEFAULT_HEADER, DEFAULT_HEADER_1, DEFAULT_HEADER_2, DEFAULT_MAX_COLUMN_NUMBER, DEFAULT_PANE_HEIGHT, DEFAULT_PANE_WIDTH, DEFAULT_RESULT_PANEL_HEIGHT, DEFAULT_RESULT_PANEL_WIDTH, dependentIndex, dependentPane, depLabel, depMax, dFormat, EXAMPLE_1, EXAMPLE_2, EXAMPLE_3, EXAMPLE_4, EXAMPLE_5, EXAMPLE_6, EXAMPLE_7, exampleID, exampleInputAction, exampleLocalAction, exampleRandomAction, exampleRemoteAction, exampleSampleSize, exampleStaticAction1, exampleStaticAction2, exampleStaticAction3, exampleStaticAction4, exampleStaticAction5, exampleStaticAction6, exampleStaticAction7, fileLoadAction, FIRST_BUTTON_LABEL, font, FORMAT00001, FORMAT001, FORMATALL, GRAPH, graphPanel, graphRawData, graphSampleMean, graphZScore, groupNamesIndex, hasExample, hasInput, headerTable, hModel, hypothesisType, independentHeaderArray, independentIndex, independentLength, independentList, independentListCursor, indLabel, indMax, INPUT, inputPanel, inputXMLString, isInitialInput, leftAnalysisChoicePanel, leftPanel, listAdded, listCensor, listDepRemoved, listGroupNames, listIndepRemoved, listIndex, listTime, LOAD_FILE, mapDep, mapIndep, MAPPING, mappingInnerPanel, mappingPanel, NULL_VARIABLE_MESSAGE, onlineDescription, onlineHelp, outputFontFace, outputFontSize, plotHeight, plotWidth, RANDOM_EXAMPLE, randomDataStep, REMOVE, removeButton1, removeButton2, removeButton3, RESULT, RESULT_PANEL_COL_SIZE, RESULT_PANEL_ROW_SIZE, resultPanel, resultPanelTextArea, rightPanel, SECOND_BUTTON_LABEL, SELECT, selectedInd, selectPanel, SHOW_ALL, showData, showGraph, showInput, showMapping, showSelect, showVisualize, stopNow, SURVIVAL_LIST_LENGTH, tabbedPanelContainer, timeIndex, tModel, USE_SERVER, useGraph, useInputExample, useLocalExample, USER_INPUT, useRandomExample, userDataAction, useServerExample, useStaticExample, VARIABLE, VARIABLE_1, VARIABLE_2, VARIABLE_MISSING_MESSAGE, varLabel, VISUALIZE, visualizePanel, xmlInputString, xmlOutputString
accessibleContext, rootPane, rootPaneCheckingEnabled
Constructor and Description |
---|
FisherExact() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
This method handles the action events associated with the action
buttons in the Analysis Control JTabbedPane (Panel).
|
protected void |
createActionComponents(javax.swing.JToolBar toolBar)
Create the actions for the buttons
|
void |
doAnalysis()
This method defines the specific statistical Analysis to be carried our on the user specified data.
|
java.awt.Container |
getDisplayPane() |
java.lang.String |
getOnlineDescription()
This method returns an online description of this Statistical Analysis.
|
void |
init()
Initialize the Analysis
|
void |
keyPressed(java.awt.event.KeyEvent event) |
void |
keyReleased(java.awt.event.KeyEvent event) |
void |
keyTyped(java.awt.event.KeyEvent event) |
java.lang.String |
monoString(double s)
convert a generic double s to a "nice" fixed length string
|
java.lang.String |
monoString(int s)
convert a generic integer s to a fixed length string
|
java.lang.String |
monoString(java.lang.String s)
convert a generic string s to a fixed length one.
|
void |
mouseClicked(java.awt.event.MouseEvent event)
Mouse events
|
void |
mouseExited(java.awt.event.MouseEvent event) |
void |
mousePressed(java.awt.event.MouseEvent event) |
void |
mouseReleased(java.awt.event.MouseEvent event) |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Implementation of PropertyChageListener.
|
void |
reset()
This method is the default reset method, that resets the analysis
process to its initial state.
|
protected void |
setInputPanel() |
void |
start()
This method sets up the analysis protocol, when the applet starts
|
void |
updateResults() |
addButtonCensor, addButtonDependent, addButtonGroupNames, addButtonTime, addTabbedPane, addTabbedPane, appendTableColumns, appendTableRows, chkDataIntegrity, doGraph, format, getAppletInfo, getDistinctElements, getInstance, getOnlineHelp, getStaticExample, getTime, hookTableAction, initialize, mouseDragged, mouseEntered, mouseMoved, paintTable, removeButtonCensor, removeButtonDependent, removeButtonDependentAll, removeButtonGroupNames, removeButtonIndependent, removeButtonIndependentAll, removeButtonTime, removeTabbedPane, resetGraph, resetMappingList, resetMappingListGUI, resetParameterSelect, resetTable, resetTableColumns, resetTableRows, resetVisualize, run, setDataPanel, setDecimalFormat, setFormat, setGraphPanel, setMainPanel, setMappingPanel, setResultPanel, setSelectPanel, setStopNow, setTabbedPaneComponent, setVisualizePanel, step, stop, update, updateExample, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
destroy, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
protected void createActionComponents(javax.swing.JToolBar toolBar)
createActionComponents
in class Analysis
public void start()
start
in class java.applet.Applet
public void doAnalysis()
doAnalysis
in class Analysis
public void updateResults()
updateResults
in class Analysis
public java.lang.String monoString(java.lang.String s)
public java.lang.String monoString(double s)
public java.lang.String monoString(int s)
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
public java.awt.Container getDisplayPane()
getDisplayPane
in class Analysis
public java.lang.String getOnlineDescription()
Analysis
getOnlineDescription
in class Analysis
protected void setInputPanel()
setInputPanel
in class Analysis
public void actionPerformed(java.awt.event.ActionEvent event)
Analysis
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class Analysis
public void mouseClicked(java.awt.event.MouseEvent event)
Analysis
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class Analysis
public void mouseReleased(java.awt.event.MouseEvent event)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class Analysis
public void mouseExited(java.awt.event.MouseEvent event)
mouseExited
in interface java.awt.event.MouseListener
mouseExited
in class Analysis
public void mousePressed(java.awt.event.MouseEvent event)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class Analysis
public void keyReleased(java.awt.event.KeyEvent event)
keyReleased
in interface java.awt.event.KeyListener
keyReleased
in class Analysis
public void keyPressed(java.awt.event.KeyEvent event)
keyPressed
in interface java.awt.event.KeyListener
keyPressed
in class Analysis
public void keyTyped(java.awt.event.KeyEvent event)