public class NormalPower extends Analysis implements java.awt.event.MouseListener, java.awt.event.ActionListener, java.awt.event.KeyListener, java.awt.event.AdjustmentListener, java.awt.event.MouseMotionListener, java.beans.PropertyChangeListener
javax.swing.JApplet.AccessibleJAppletjava.applet.Applet.AccessibleAppletADD, 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, 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, REMOVE, removeButton1, removeButton2, removeButton3, RESULT, RESULT_PANEL_COL_SIZE, RESULT_PANEL_ROW_SIZE, resultPanel, resultPanelTextArea, rightPanel, rowNumber, 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, xmlOutputStringaccessibleContext, rootPane, rootPaneCheckingEnabled| Constructor and Description |
|---|
NormalPower() |
| 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).
|
void |
adjustmentValueChanged(java.awt.event.AdjustmentEvent e) |
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.
|
protected void |
doGraph() |
protected void |
doRawDataNormalCurve() |
protected void |
doSampleMeanNormalCurve() |
protected void |
doZTestNormalCurve() |
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 |
mouseDragged(java.awt.event.MouseEvent evt) |
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 |
resetGraph() |
protected void |
resetParameterSelect() |
protected void |
resetVisualize() |
protected void |
setSelectPanel() |
protected void |
setVisualizePanel() |
void |
start()
This method sets up the analysis protocol, when the applet starts
|
void |
updateResults() |
addButtonCensor, addButtonDependent, addButtonGroupNames, addButtonTime, addTabbedPane, addTabbedPane, appendTableColumns, appendTableRows, chkDataIntegrity, format, getAppletInfo, getDistinctElements, getInstance, getOnlineHelp, getStaticExample, getTime, hookTableAction, initialize, mouseEntered, mouseMoved, paintTable, removeButtonCensor, removeButtonDependent, removeButtonDependentAll, removeButtonGroupNames, removeButtonIndependent, removeButtonIndependentAll, removeButtonTime, removeTabbedPane, resetMappingList, resetMappingListGUI, resetTable, resetTableColumns, resetTableRows, run, setDataPanel, setDecimalFormat, setFormat, setGraphPanel, setInputPanel, setMainPanel, setMappingPanel, setResultPanel, setStopNow, setTabbedPaneComponent, step, stop, update, updateExample, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpenedaddImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updatedestroy, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatusadd, 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, validateTreeaction, 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, transferFocusUpCycleprotected void createActionComponents(javax.swing.JToolBar toolBar)
createActionComponents in class Analysispublic void start()
start in class java.applet.Appletpublic void doAnalysis()
doAnalysis in class Analysispublic void updateResults()
updateResults in class Analysispublic 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.PropertyChangeListenerpublic java.awt.Container getDisplayPane()
getDisplayPane in class Analysispublic java.lang.String getOnlineDescription()
AnalysisgetOnlineDescription in class Analysispublic void actionPerformed(java.awt.event.ActionEvent event)
AnalysisactionPerformed in interface java.awt.event.ActionListeneractionPerformed in class Analysispublic void mouseClicked(java.awt.event.MouseEvent event)
AnalysismouseClicked in interface java.awt.event.MouseListenermouseClicked in class Analysispublic void mouseReleased(java.awt.event.MouseEvent event)
mouseReleased in interface java.awt.event.MouseListenermouseReleased in class Analysispublic void mouseExited(java.awt.event.MouseEvent event)
mouseExited in interface java.awt.event.MouseListenermouseExited in class Analysispublic void mousePressed(java.awt.event.MouseEvent event)
mousePressed in interface java.awt.event.MouseListenermousePressed in class Analysispublic void keyReleased(java.awt.event.KeyEvent event)
keyReleased in interface java.awt.event.KeyListenerkeyReleased in class Analysispublic void keyPressed(java.awt.event.KeyEvent event)
keyPressed in interface java.awt.event.KeyListenerkeyPressed in class Analysispublic void keyTyped(java.awt.event.KeyEvent event)
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
adjustmentValueChanged in interface java.awt.event.AdjustmentListenerprotected void setSelectPanel()
setSelectPanel in class Analysisprotected void doRawDataNormalCurve()
protected void doSampleMeanNormalCurve()
protected void doZTestNormalCurve()
protected void resetParameterSelect()
resetParameterSelect in class Analysisprotected void setVisualizePanel()
setVisualizePanel in class Analysispublic void reset()
Analysisprotected void resetGraph()
resetGraph in class Analysisprotected void resetVisualize()
resetVisualize in class Analysispublic void mouseDragged(java.awt.event.MouseEvent evt)
mouseDragged in interface java.awt.event.MouseMotionListenermouseDragged in class Analysis