public class Survival extends Analysis implements java.beans.PropertyChangeListener
javax.swing.JApplet.AccessibleJAppletjava.applet.Applet.AccessibleApplet| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.JLabel |
censorLabel |
protected javax.swing.JLabel |
groupNameLabel |
protected javax.swing.JLabel |
timeLabel |
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, 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 |
|---|
Survival() |
| 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 |
addButtonCensor() |
protected void |
addButtonGroupNames() |
protected void |
addButtonTime() |
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() |
java.awt.Container |
getDisplayPane() |
java.lang.String |
getOnlineDescription()
This method returns an online description of this Statistical Analysis.
|
void |
init()
Initialize the Analysis
|
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 |
paintTable(int[] lstInd) |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Implementation of PropertyChageListener.
|
protected void |
removeButtonCensor() |
protected void |
removeButtonDependent() |
protected void |
removeButtonGroupNames() |
protected void |
removeButtonIndependentAll() |
protected void |
removeButtonTime() |
void |
reset()
This method is the default reset method, that resets the analysis
process to its initial state.
|
protected void |
setMappingPanel() |
protected void |
setResultPanel() |
void |
start()
This method sets up the analysis protocol, when the applet starts
|
void |
updateResults() |
addButtonDependent, addTabbedPane, addTabbedPane, appendTableColumns, appendTableRows, chkDataIntegrity, format, getAppletInfo, getDistinctElements, getInstance, getOnlineHelp, getStaticExample, getTime, hookTableAction, initialize, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, removeButtonDependentAll, removeButtonIndependent, removeTabbedPane, resetGraph, resetMappingList, resetMappingListGUI, resetParameterSelect, resetTable, resetTableColumns, resetTableRows, resetVisualize, run, setDataPanel, setDecimalFormat, setFormat, setGraphPanel, setInputPanel, setMainPanel, setSelectPanel, setStopNow, setTabbedPaneComponent, setVisualizePanel, 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 javax.swing.JLabel timeLabel
protected javax.swing.JLabel censorLabel
protected javax.swing.JLabel groupNameLabel
protected 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 Analysisprotected void setMappingPanel()
setMappingPanel in class Analysispublic void paintTable(int[] lstInd)
paintTable in class Analysispublic void actionPerformed(java.awt.event.ActionEvent event)
AnalysisactionPerformed in interface java.awt.event.ActionListeneractionPerformed in class Analysisprotected void addButtonTime()
addButtonTime in class Analysisprotected void removeButtonTime()
removeButtonTime in class Analysisprotected void addButtonCensor()
addButtonCensor in class Analysisprotected void removeButtonCensor()
removeButtonCensor in class Analysisprotected void addButtonGroupNames()
addButtonGroupNames in class Analysisprotected void removeButtonGroupNames()
removeButtonGroupNames in class Analysispublic void reset()
Analysisprotected void removeButtonIndependentAll()
removeButtonIndependentAll in class Analysisprotected void removeButtonDependent()
removeButtonDependent in class Analysisprotected void setResultPanel()
setResultPanel in class Analysis