Page MenuHomec4science

MedUnitGUI.html
No OneTemporary

File Metadata

Created
Mon, Jan 6, 23:48

MedUnitGUI.html

This document is not UTF8. It was detected as Shift JIS and converted to UTF8 for display.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Fri Jan 10 14:26:17 CET 2014 -->
<title>MedUnitGUI</title>
<meta name="date" content="2014-01-10">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MedUnitGUI";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MedUnitGUI.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../ClientGUI/PatientGUI.html" title="class in ClientGUI"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?ClientGUI/MedUnitGUI.html" target="_top">Frames</a></li>
<li><a href="MedUnitGUI.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_classes_inherited_from_class_javax.swing.JFrame">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">ClientGUI</div>
<h2 title="Class MedUnitGUI" class="title">Class MedUnitGUI</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.awt.Component</li>
<li>
<ul class="inheritance">
<li>java.awt.Container</li>
<li>
<ul class="inheritance">
<li>java.awt.Window</li>
<li>
<ul class="inheritance">
<li>java.awt.Frame</li>
<li>
<ul class="inheritance">
<li>javax.swing.JFrame</li>
<li>
<ul class="inheritance">
<li>ClientGUI.MedUnitGUI</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">MedUnitGUI</span>
extends javax.swing.JFrame</pre>
<div class="block">The Class MedUnitGUI. This class manages the GUI of the medical unit
(Desktop)</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Kevin Serrano, J駻emy Weber</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../serialized-form.html#ClientGUI.MedUnitGUI">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_javax.swing.JFrame">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;javax.swing.JFrame</h3>
<code>javax.swing.JFrame.AccessibleJFrame</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Frame">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Frame</h3>
<code>java.awt.Frame.AccessibleAWTFrame</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Window">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Window</h3>
<code>java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Container">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Container</h3>
<code>java.awt.Container.AccessibleAWTContainer</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Component">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Component</h3>
<code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.util.ArrayList&lt;<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#alrp">alrp</a></strong></code>
<div class="block">The arraylist of RequestPatients.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.util.ArrayList&lt;<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#alrpOK">alrpOK</a></strong></code>
<div class="block">The alrp ok.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int[]</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#diseases_id_list">diseases_id_list</a></strong></code>
<div class="block">The diseases_id_list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private javax.swing.JTextField</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#id_p_fieldOK">id_p_fieldOK</a></strong></code>
<div class="block">The id_p_field ok.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#id_r">id_r</a></strong></code>
<div class="block">The id_r.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private javax.swing.JLabel</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#lblNameofpatient">lblNameofpatient</a></strong></code>
<div class="block">The lbl nameofpatient.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private javax.swing.DefaultListModel</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#listmodelPatient">listmodelPatient</a></strong></code>
<div class="block">The listmodel patient.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt;</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#mapDiseasesToID">mapDiseasesToID</a></strong></code>
<div class="block">The map diseases to id.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.util.HashMap&lt;java.lang.Integer,java.lang.Integer&gt;</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#mapIDdisToIDGroup">mapIDdisToIDGroup</a></strong></code>
<div class="block">The map id dis to id group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.util.HashMap&lt;java.lang.Integer,java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#mapIDgroupToGroup">mapIDgroupToGroup</a></strong></code>
<div class="block">The map id group to group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.util.HashMap&lt;java.lang.Integer,java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#mapIDtoDiseases">mapIDtoDiseases</a></strong></code>
<div class="block">The map i dto diseases.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../FrameWork/MedUnit.html" title="class in FrameWork">MedUnit</a></code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#mu">mu</a></strong></code>
<div class="block">Create the panel.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private javax.swing.JList</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#okList">okList</a></strong></code>
<div class="block">The ok list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private javax.swing.DefaultListModel</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#okModel">okModel</a></strong></code>
<div class="block">The ok model.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private javax.swing.JList</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#patient_list">patient_list</a></strong></code>
<div class="block">The patient_list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.util.ArrayList&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#patientArray">patientArray</a></strong></code>
<div class="block">The patient array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private javax.swing.JList</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#refusedList">refusedList</a></strong></code>
<div class="block">The refused list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private javax.swing.DefaultListModel</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#refusedModel">refusedModel</a></strong></code>
<div class="block">The refused model.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private javax.swing.JTabbedPane</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#tabbedPane">tabbedPane</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private javax.swing.JTree</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#tree">tree</a></strong></code>
<div class="block">The tree use to display tests (diseases)</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private javax.swing.JTextField</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#txtName">txtName</a></strong></code>
<div class="block">The txt name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private javax.swing.JList</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#waitingList">waitingList</a></strong></code>
<div class="block">The waiting list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private javax.swing.DefaultListModel</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#waitingModel">waitingModel</a></strong></code>
<div class="block">The waiting model.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_javax.swing.JFrame">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;javax.swing.JFrame</h3>
<code>accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_java.awt.Frame">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;java.awt.Frame</h3>
<code>CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_java.awt.Component">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;java.awt.Component</h3>
<code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_javax.swing.WindowConstants">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;javax.swing.WindowConstants</h3>
<code>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_java.awt.image.ImageObserver">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;java.awt.image.ImageObserver</h3>
<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../ClientGUI/MedUnitGUI.html#MedUnitGUI(FrameWork.MedUnit)">MedUnitGUI</a></strong>(<a href="../FrameWork/MedUnit.html" title="class in FrameWork">MedUnit</a>&nbsp;mu)</code>
<div class="block">Instantiates a new med unit gui.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../FrameWork/Request.html" title="class in FrameWork">Request</a></code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#createRequest(FrameWork.RequestPatient)">createRequest</a></strong>(<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&nbsp;rp)</code>
<div class="block">Creates the request for the SPU (i.e for performing a test) Given an
accepted RequestPatient, this function will create a Request for
performing a test on the SPU</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.ArrayList&lt;<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#createRequestsPatient()">createRequestsPatient</a></strong>()</code>
<div class="block">Creates the requests patient.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected javax.swing.JPanel</code></td>
<td class="colLast"><code><strong><a href="../ClientGUI/MedUnitGUI.html#showHistogram(double, int)">showHistogram</a></strong>(double&nbsp;result,
int&nbsp;id_p)</code>
<div class="block">Show histogram.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_javax.swing.JFrame">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;javax.swing.JFrame</h3>
<code>addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Frame">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.awt.Frame</h3>
<code>addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Window">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.awt.Window</h3>
<code>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Container">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.awt.Container</h3>
<code>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Component">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.awt.Component</h3>
<code>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, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.awt.MenuContainer">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.awt.MenuContainer</h3>
<code>getFont, postEvent</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="mu">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mu</h4>
<pre>private&nbsp;<a href="../FrameWork/MedUnit.html" title="class in FrameWork">MedUnit</a> mu</pre>
<div class="block">Create the panel.</div>
</li>
</ul>
<a name="id_r">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>id_r</h4>
<pre>private&nbsp;int id_r</pre>
<div class="block">The id_r.</div>
</li>
</ul>
<a name="patient_list">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patient_list</h4>
<pre>private&nbsp;javax.swing.JList patient_list</pre>
<div class="block">The patient_list.</div>
</li>
</ul>
<a name="diseases_id_list">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>diseases_id_list</h4>
<pre>private&nbsp;int[] diseases_id_list</pre>
<div class="block">The diseases_id_list.</div>
</li>
</ul>
<a name="tree">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tree</h4>
<pre>private&nbsp;javax.swing.JTree tree</pre>
<div class="block">The tree use to display tests (diseases)</div>
</li>
</ul>
<a name="listmodelPatient">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listmodelPatient</h4>
<pre>private&nbsp;javax.swing.DefaultListModel listmodelPatient</pre>
<div class="block">The listmodel patient.</div>
</li>
</ul>
<a name="txtName">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>txtName</h4>
<pre>private&nbsp;javax.swing.JTextField txtName</pre>
<div class="block">The txt name.</div>
</li>
</ul>
<a name="patientArray">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patientArray</h4>
<pre>private&nbsp;java.util.ArrayList&lt;java.lang.String&gt; patientArray</pre>
<div class="block">The patient array.</div>
</li>
</ul>
<a name="lblNameofpatient">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lblNameofpatient</h4>
<pre>private&nbsp;javax.swing.JLabel lblNameofpatient</pre>
<div class="block">The lbl nameofpatient.</div>
</li>
</ul>
<a name="waitingList">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitingList</h4>
<pre>private&nbsp;javax.swing.JList waitingList</pre>
<div class="block">The waiting list.</div>
</li>
</ul>
<a name="waitingModel">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitingModel</h4>
<pre>private&nbsp;javax.swing.DefaultListModel waitingModel</pre>
<div class="block">The waiting model.</div>
</li>
</ul>
<a name="okList">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>okList</h4>
<pre>private&nbsp;javax.swing.JList okList</pre>
<div class="block">The ok list.</div>
</li>
</ul>
<a name="alrpOK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>alrpOK</h4>
<pre>private&nbsp;java.util.ArrayList&lt;<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&gt; alrpOK</pre>
<div class="block">The alrp ok.</div>
</li>
</ul>
<a name="okModel">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>okModel</h4>
<pre>private&nbsp;javax.swing.DefaultListModel okModel</pre>
<div class="block">The ok model.</div>
</li>
</ul>
<a name="refusedList">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refusedList</h4>
<pre>private&nbsp;javax.swing.JList refusedList</pre>
<div class="block">The refused list.</div>
</li>
</ul>
<a name="refusedModel">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refusedModel</h4>
<pre>private&nbsp;javax.swing.DefaultListModel refusedModel</pre>
<div class="block">The refused model.</div>
</li>
</ul>
<a name="alrp">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>alrp</h4>
<pre>private&nbsp;java.util.ArrayList&lt;<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&gt; alrp</pre>
<div class="block">The arraylist of RequestPatients.</div>
</li>
</ul>
<a name="mapIDtoDiseases">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapIDtoDiseases</h4>
<pre>private&nbsp;java.util.HashMap&lt;java.lang.Integer,java.lang.String&gt; mapIDtoDiseases</pre>
<div class="block">The map i dto diseases.</div>
</li>
</ul>
<a name="mapDiseasesToID">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapDiseasesToID</h4>
<pre>private&nbsp;java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt; mapDiseasesToID</pre>
<div class="block">The map diseases to id.</div>
</li>
</ul>
<a name="mapIDgroupToGroup">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapIDgroupToGroup</h4>
<pre>private&nbsp;java.util.HashMap&lt;java.lang.Integer,java.lang.String&gt; mapIDgroupToGroup</pre>
<div class="block">The map id group to group.</div>
</li>
</ul>
<a name="mapIDdisToIDGroup">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapIDdisToIDGroup</h4>
<pre>private&nbsp;java.util.HashMap&lt;java.lang.Integer,java.lang.Integer&gt; mapIDdisToIDGroup</pre>
<div class="block">The map id dis to id group.</div>
</li>
</ul>
<a name="id_p_fieldOK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>id_p_fieldOK</h4>
<pre>private&nbsp;javax.swing.JTextField id_p_fieldOK</pre>
<div class="block">The id_p_field ok.</div>
</li>
</ul>
<a name="tabbedPane">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>tabbedPane</h4>
<pre>private&nbsp;javax.swing.JTabbedPane tabbedPane</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="MedUnitGUI(FrameWork.MedUnit)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MedUnitGUI</h4>
<pre>public&nbsp;MedUnitGUI(<a href="../FrameWork/MedUnit.html" title="class in FrameWork">MedUnit</a>&nbsp;mu)</pre>
<div class="block">Instantiates a new med unit gui.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>mu</code> - the mu</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="showHistogram(double, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>showHistogram</h4>
<pre>protected&nbsp;javax.swing.JPanel&nbsp;showHistogram(double&nbsp;result,
int&nbsp;id_p)</pre>
<div class="block">Show histogram.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>results</code> - the results</dd><dd><code>id_p</code> - </dd><dd><code>iDs_t</code> - </dd><dd><code>group</code> - </dd><dd><code>traits</code> - </dd><dd><code>iDs_t</code> - the i ds_t</dd><dd><code>id_p</code> - the id_p</dd></dl>
</li>
</ul>
<a name="createRequestsPatient()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRequestsPatient</h4>
<pre>public&nbsp;java.util.ArrayList&lt;<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&gt;&nbsp;createRequestsPatient()</pre>
<div class="block">Creates the requests patient. This generate a list of RequestPatient
given the ID of patient, the ID test, and ID of MU</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the array list</dd></dl>
</li>
</ul>
<a name="createRequest(FrameWork.RequestPatient)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createRequest</h4>
<pre>public&nbsp;<a href="../FrameWork/Request.html" title="class in FrameWork">Request</a>&nbsp;createRequest(<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&nbsp;rp)</pre>
<div class="block">Creates the request for the SPU (i.e for performing a test) Given an
accepted RequestPatient, this function will create a Request for
performing a test on the SPU</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rp</code> - the RequestPatient</dd>
<dt><span class="strong">Returns:</span></dt><dd>the request</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MedUnitGUI.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../ClientGUI/PatientGUI.html" title="class in ClientGUI"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?ClientGUI/MedUnitGUI.html" target="_top">Frames</a></li>
<li><a href="MedUnitGUI.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_classes_inherited_from_class_javax.swing.JFrame">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

Event Timeline