|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
javax.swing.JApplet
edu.ucla.stat.SOCR.analyses.gui.Analysis
This class defines a basic type of Statistical Analysis procedure that can be subclassed by the specific types of analyses (e.g., ANOVA, Regression, prediction, etc.)
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JApplet |
javax.swing.JApplet.AccessibleJApplet |
| Nested classes inherited from class java.applet.Applet |
java.applet.Applet.AccessibleApplet |
| Nested classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected java.lang.String |
ADD
|
javax.swing.JButton |
addButton1
|
javax.swing.JButton |
addButton2
|
javax.swing.JButton |
addButton3
|
protected java.lang.Thread |
analysis
|
protected java.lang.String |
analysisDescription1
|
protected java.lang.String |
analysisDescription2
|
protected java.lang.String |
analysisDescription3
|
protected java.lang.String |
analysisDescription4
|
protected java.lang.String |
analysisDescription5
|
protected java.lang.String |
analysisDescription6
|
protected java.lang.String |
analysisDescription7
|
protected java.lang.String |
analysisName
|
protected short |
analysisType
|
protected javax.swing.JPanel |
bPanel
|
protected java.lang.String |
CALCULATE
|
protected javax.swing.Action |
callServerAction
|
protected int |
censorIndex
|
protected Chart |
chartFactory
|
protected java.lang.String |
CLEAR
|
protected javax.swing.Action |
clearAction
|
protected javax.swing.table.TableColumnModel |
columnModel
|
java.lang.String[] |
columnNames
|
protected int |
columnNumber
|
protected javax.swing.Action |
computeAction
|
protected static javax.swing.JPanel |
controlPanel
|
protected int |
currentDepIndex
|
protected int |
currentIndepIndex
|
protected Data |
data
|
protected java.lang.String |
DATA
|
protected java.lang.String |
DATA_COLINEAR_MESSAGE
|
protected java.lang.String |
DATA_ERROR_MESSAGE
|
protected java.lang.String |
DATA_MISSING_MESSAGE
|
java.lang.Object[][] |
dataObject
|
protected static javax.swing.JPanel |
dataPanel
|
static javax.swing.JTable |
dataTable
|
protected java.lang.String |
dataText
|
static int |
DEFAULT_DATA_PANEL_HEIGHT
|
static int |
DEFAULT_DATA_PANEL_WIDTH
|
static java.lang.String |
DEFAULT_HEADER
|
static java.lang.String |
DEFAULT_HEADER_1
|
static java.lang.String |
DEFAULT_HEADER_2
|
static int |
DEFAULT_MAX_COLUMN_NUMBER
|
static int |
DEFAULT_PANE_HEIGHT
|
static int |
DEFAULT_PANE_WIDTH
Start Variable Declaration |
protected static int |
DEFAULT_RESULT_PANEL_HEIGHT
|
protected static int |
DEFAULT_RESULT_PANEL_WIDTH
|
protected int |
dependentIndex
|
protected javax.swing.JScrollPane |
dependentPane
|
protected javax.swing.JLabel |
depLabel
|
protected int |
depMax
|
protected java.text.DecimalFormat |
dFormat
|
protected java.lang.String |
EXAMPLE_1
|
protected java.lang.String |
EXAMPLE_2
|
protected java.lang.String |
EXAMPLE_3
|
protected java.lang.String |
EXAMPLE_4
|
protected java.lang.String |
EXAMPLE_5
|
protected java.lang.String |
EXAMPLE_6
|
protected java.lang.String |
EXAMPLE_7
|
protected short |
exampleID
|
protected javax.swing.Action |
exampleInputAction
|
protected javax.swing.Action |
exampleLocalAction
|
protected javax.swing.Action |
exampleRandomAction
|
protected javax.swing.Action |
exampleRemoteAction
|
protected int |
exampleSampleSize
|
protected javax.swing.Action |
exampleStaticAction1
************** |
protected javax.swing.Action |
exampleStaticAction2
|
protected javax.swing.Action |
exampleStaticAction3
|
protected javax.swing.Action |
exampleStaticAction4
|
protected javax.swing.Action |
exampleStaticAction5
|
protected javax.swing.Action |
exampleStaticAction6
|
protected javax.swing.Action |
exampleStaticAction7
|
protected javax.swing.Action |
fileLoadAction
|
protected java.lang.String |
FIRST_BUTTON_LABEL
|
static java.awt.Font |
font
|
static java.lang.String |
FORMAT00001
|
static java.lang.String |
FORMAT001
|
static java.lang.String |
FORMATALL
|
protected java.lang.String |
GRAPH
|
protected static javax.swing.JPanel |
graphPanel
|
protected NormalCurve |
graphRawData
|
protected NormalCurve |
graphSampleMean
|
protected NormalCurve |
graphZScore
|
protected int |
groupNamesIndex
|
protected boolean |
hasExample
|
protected boolean |
hasInput
|
static javax.swing.JTable |
headerTable
|
static javax.swing.table.DefaultTableModel |
hModel
|
protected java.lang.String |
hypothesisType
|
protected java.lang.String[] |
independentHeaderArray
|
protected int |
independentIndex
|
protected int |
independentLength
|
protected java.util.LinkedList |
independentList
|
protected int |
independentListCursor
|
protected javax.swing.JLabel |
indLabel
|
protected int |
indMax
|
protected java.lang.String |
INPUT
|
protected static javax.swing.JPanel |
inputPanel
|
protected java.lang.String |
inputXMLString
|
protected boolean |
isInitialInput
|
javax.swing.JPanel |
leftAnalysisChoicePanel
|
protected javax.swing.JPanel |
leftPanel
|
javax.swing.JList |
listAdded
|
javax.swing.JList |
listCensor
|
javax.swing.JList |
listDepRemoved
|
javax.swing.JList |
listGroupNames
|
javax.swing.JList |
listIndepRemoved
|
int[] |
listIndex
|
javax.swing.JList |
listTime
|
protected java.lang.String |
LOAD_FILE
|
protected java.lang.String |
MAPPING
|
protected static javax.swing.JPanel |
mappingInnerPanel
|
protected static javax.swing.JPanel |
mappingPanel
|
protected java.lang.String |
NULL_VARIABLE_MESSAGE
|
protected java.lang.String |
onlineDescription
|
protected java.lang.String |
onlineHelp
|
protected static java.lang.String |
outputFontFace
|
protected static int |
outputFontSize
|
protected int |
plotHeight
|
protected int |
plotWidth
|
protected java.lang.String |
RANDOM_EXAMPLE
|
protected static boolean |
randomDataStep
|
protected java.lang.String |
REMOVE
|
javax.swing.JButton |
removeButton1
|
javax.swing.JButton |
removeButton2
|
javax.swing.JButton |
removeButton3
|
protected java.lang.String |
RESULT
|
protected static int |
RESULT_PANEL_COL_SIZE
|
protected static int |
RESULT_PANEL_ROW_SIZE
|
protected static javax.swing.JPanel |
resultPanel
|
javax.swing.JTextArea |
resultPanelTextArea
|
protected javax.swing.JPanel |
rightPanel
|
protected int |
rowNumber
|
protected java.lang.String |
SECOND_BUTTON_LABEL
|
protected java.lang.String |
SELECT
|
int |
selectedInd
|
protected static javax.swing.JPanel |
selectPanel
|
protected java.lang.String |
SHOW_ALL
|
protected boolean |
stopNow
|
static int |
SURVIVAL_LIST_LENGTH
|
javax.swing.JTabbedPane |
tabbedPanelContainer
|
protected int |
timeIndex
|
static javax.swing.table.DefaultTableModel |
tModel
|
protected java.lang.String |
USE_SERVER
|
protected boolean |
useGraph
|
protected boolean |
useInputExample
|
protected boolean |
useLocalExample
|
protected java.lang.String |
USER_INPUT
|
protected boolean |
useRandomExample
flags that controls the actions |
protected javax.swing.Action |
userDataAction
|
protected boolean |
useServerExample
|
protected boolean[] |
useStaticExample
|
protected java.lang.String |
VARIABLE
|
protected java.lang.String |
VARIABLE_1
|
protected java.lang.String |
VARIABLE_2
|
protected java.lang.String |
VARIABLE_MISSING_MESSAGE
|
protected javax.swing.JLabel |
varLabel
|
protected java.lang.String |
VISUALIZE
|
protected static javax.swing.JPanel |
visualizePanel
|
protected java.lang.String |
xmlInputString
|
protected java.lang.String |
xmlOutputString
|
| Fields inherited from class javax.swing.JApplet |
accessibleContext, rootPane, rootPaneCheckingEnabled |
| 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 | |
Analysis()
|
|
| Method Summary | |
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 |
addButtonDependent()
|
protected void |
addButtonGroupNames()
|
protected void |
addButtonTime()
|
void |
addTabbedPane(java.lang.String title,
javax.swing.Icon icon,
javax.swing.JComponent component,
java.lang.String tip)
This method add a new component to the tabbed panel. |
void |
addTabbedPane(java.lang.String name,
javax.swing.JComponent c)
This method add a new component to the tabbed panel. |
void |
appendTableColumns(int n)
|
void |
appendTableRows(int n)
|
int |
chkDataIntegrity()
|
protected void |
createActionComponents(javax.swing.JToolBar toolBar)
|
void |
doAnalysis()
This method defines what the analysis really does, and should be overridden by the specific analysis tools. |
protected void |
doGraph()
|
java.lang.String |
format(double x,
java.lang.String precision)
|
java.lang.String |
getAppletInfo()
This method returns basic copyright, author, and other metadata information |
java.awt.Container |
getDisplayPane()
|
int |
getDistinctElements(Matrix Cl)
|
static Analysis |
getInstance(java.lang.String classname)
|
java.lang.String |
getOnlineDescription()
This method returns an online description of this Statistical Analysis. |
java.lang.String |
getOnlineHelp()
|
static ExampleData |
getStaticExample(short analysisType,
short exampleID)
|
int |
getTime()
This method gets the time parameter of the analysis process. |
protected void |
hookTableAction()
Add customized table actions. |
void |
init()
This method initializes the Analysis, by setting up the basic tabbedPanes. |
void |
initialize()
used for some sublcass to initialize befrore be used |
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
keyTyped(java.awt.event.KeyEvent e)
|
void |
mouseClicked(java.awt.event.MouseEvent event)
Mouse events |
void |
mouseDragged(java.awt.event.MouseEvent event)
|
void |
mouseEntered(java.awt.event.MouseEvent event)
|
void |
mouseExited(java.awt.event.MouseEvent event)
|
void |
mouseMoved(java.awt.event.MouseEvent event)
Mouse motion events |
void |
mousePressed(java.awt.event.MouseEvent event)
|
void |
mouseReleased(java.awt.event.MouseEvent event)
|
void |
paintTable(int[] lstInd)
|
protected void |
removeButtonCensor()
|
protected void |
removeButtonDependent()
|
protected void |
removeButtonDependentAll()
|
protected void |
removeButtonGroupNames()
|
protected void |
removeButtonIndependent()
|
protected void |
removeButtonIndependentAll()
|
protected void |
removeButtonTime()
|
void |
removeTabbedPane(int index)
This method removes a component from the tabbed panel. |
void |
reset()
This method is the default reset method, that resets the analysis process to its initial state. |
protected void |
resetGraph()
|
void |
resetMappingList()
|
void |
resetMappingListGUI()
|
protected void |
resetParameterSelect()
|
void |
resetTableColumns(int n)
|
void |
resetTableRows(int n)
|
protected void |
resetVisualize()
|
void |
run()
This method runs the analysis thread |
protected void |
setDataPanel()
|
void |
setDecimalFormat(java.text.DecimalFormat d)
This method sets the decimal format, so that the properties of the decimal format can then be changed |
void |
setFormat(java.lang.String f)
|
protected void |
setGraphPanel()
|
protected void |
setInputPanel()
|
void |
setMainPanel()
Sets the amin Stat Analysis GUI with left-analysis-choice & right-data-cointrol Jpanel's. |
protected void |
setMappingPanel()
|
protected void |
setResultPanel()
|
protected void |
setSelectPanel()
|
void |
setStopNow(boolean b)
This method defines the boolean variable that stops the analysis, when the process is in run mode |
void |
setTabbedPaneComponent(int index,
javax.swing.JComponent c)
This method sets a component in the tabbed panel to a specified new component. |
protected void |
setVisualizePanel()
|
void |
step()
This method is the default step method, that runs the analysis one time unit. |
void |
stop()
This method stops the analysis thread |
void |
update()
This method is the default update method and defines how the display is updated. |
void |
updateExample(ExampleData example)
|
void |
updateResults()
|
void |
windowActivated(java.awt.event.WindowEvent event)
|
void |
windowClosed(java.awt.event.WindowEvent event)
|
void |
windowClosing(java.awt.event.WindowEvent event)
|
void |
windowDeactivated(java.awt.event.WindowEvent event)
|
void |
windowDeiconified(java.awt.event.WindowEvent event)
|
void |
windowIconified(java.awt.event.WindowEvent event)
|
void |
windowOpened(java.awt.event.WindowEvent event)
Window events |
| Methods inherited from class javax.swing.JApplet |
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
| Methods inherited from class java.applet.Applet |
destroy, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start |
| Methods inherited from class java.awt.Panel |
addNotify |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, 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 |
public static final int DEFAULT_PANE_WIDTH
public static final int DEFAULT_PANE_HEIGHT
public static final int DEFAULT_DATA_PANEL_WIDTH
public static final int DEFAULT_DATA_PANEL_HEIGHT
protected static final int DEFAULT_RESULT_PANEL_WIDTH
protected static final int DEFAULT_RESULT_PANEL_HEIGHT
protected static final int RESULT_PANEL_ROW_SIZE
protected static final int RESULT_PANEL_COL_SIZE
protected final java.lang.String EXAMPLE_1
protected final java.lang.String EXAMPLE_2
protected final java.lang.String EXAMPLE_3
protected final java.lang.String EXAMPLE_4
protected final java.lang.String EXAMPLE_5
protected final java.lang.String EXAMPLE_6
protected final java.lang.String EXAMPLE_7
protected final java.lang.String VARIABLE
protected final java.lang.String VARIABLE_1
protected final java.lang.String VARIABLE_2
protected final java.lang.String CALCULATE
protected final java.lang.String CLEAR
protected final java.lang.String LOAD_FILE
protected final java.lang.String USER_INPUT
protected final java.lang.String USE_SERVER
protected final java.lang.String DATA
protected final java.lang.String RESULT
protected final java.lang.String GRAPH
protected final java.lang.String MAPPING
protected final java.lang.String SELECT
protected final java.lang.String ADD
protected final java.lang.String REMOVE
protected final java.lang.String VISUALIZE
protected final java.lang.String INPUT
protected final java.lang.String SHOW_ALL
protected final java.lang.String RANDOM_EXAMPLE
protected java.lang.String FIRST_BUTTON_LABEL
protected java.lang.String SECOND_BUTTON_LABEL
public static final java.lang.String DEFAULT_HEADER
public static final java.lang.String DEFAULT_HEADER_1
public static final java.lang.String DEFAULT_HEADER_2
protected final java.lang.String DATA_MISSING_MESSAGE
protected final java.lang.String VARIABLE_MISSING_MESSAGE
protected final java.lang.String DATA_COLINEAR_MESSAGE
protected final java.lang.String DATA_ERROR_MESSAGE
protected final java.lang.String NULL_VARIABLE_MESSAGE
protected static final java.lang.String outputFontFace
protected static final int outputFontSize
public static final int SURVIVAL_LIST_LENGTH
protected java.lang.String onlineDescription
protected java.lang.String onlineHelp
protected int independentLength
protected int plotWidth
protected int plotHeight
protected int independentIndex
protected int dependentIndex
protected int timeIndex
protected int censorIndex
protected int groupNamesIndex
protected java.lang.String analysisName
protected boolean useRandomExample
protected boolean useLocalExample
protected boolean useInputExample
protected boolean useServerExample
protected boolean useGraph
protected boolean[] useStaticExample
protected boolean isInitialInput
protected boolean hasExample
protected boolean hasInput
protected javax.swing.Action exampleStaticAction1
protected javax.swing.Action exampleStaticAction2
protected javax.swing.Action exampleStaticAction3
protected javax.swing.Action exampleStaticAction4
protected javax.swing.Action exampleStaticAction5
protected javax.swing.Action exampleStaticAction6
protected javax.swing.Action exampleStaticAction7
protected javax.swing.Action exampleRandomAction
protected javax.swing.Action exampleLocalAction