Class StuMan.StudyMan
All Packages Class Hierarchy This Package Previous Next Index
Class StuMan.StudyMan
Object
|
+----Component
|
+----Container
|
+----Panel
|
+----StuMan.StudyMan
- public class StudyMan
- extends Panel
This class contains the study browser. A tree shows the study/series/instance
information hierarchically. The user can modify the shown information with
checkboxes on the bottom left corner. Instances or presentation states
can be loaded with a double-click on an list entry or with selecting and using the
"Load"-button (the viewer will be shown automatically).
They can also be sent to other workstations with the "Sent-To"-button.
Further, studies/series/instances (and Presentation states) can be deleted.
- Author:
- Andreas Schroeter
- Since:
- 30.04.1999
-
dvi
- The Interface class
-
instance
- an instance of this class
-
suspendThread
- pause the update-thread?
-
StuMan.StudyMan(jDVInterface, DICOMscope, ViewInterface, Statusline)
- constructor, sets up the panel
-
LoadAll(boolean)
- Loads the Studies, series and instances.
-
OnDelete()
- called after the delete button was clicked.
-
OnLoad()
- called after the load button was clicked.
-
OnLoadFile()
- called if the load-file button was clicked.
-
OnSend()
- called after the SendTo button was clicked.
-
addNotify()
- call parent's notify
-
getSelectedTreeElement()
- Gets the selected tree element
-
selectPState(TreeElement, String, String, String)
- Selects a PState for a loaded image.
-
setVisible(boolean)
- Shows or hides the component depending on the boolean flag b.
-
startThread()
- Starts the Thread
-
toReadableDate(String)
- Corrects the given date (yyyymmdd) to a "readable" date (mm/dd/yyyy).
-
toReadableTime(String)
- Corrects the given time (hhmmss) to a "readable" time (hh:mm).
dvi
protected J2Ci.jDVInterface dvi
- The Interface class
instance
public static StuMan.StudyMan instance
- an instance of this class
suspendThread
public boolean suspendThread
- pause the update-thread?
StudyMan
public StudyMan(jDVInterface dvi,
DICOMscope parent,
ViewInterface viewInterface,
Statusline sl)
- constructor, sets up the panel
- Parameters:
- dvi - the Interface to the DICOMtoolkit
- parent - parent frame
- viewInterface - reference to the viewer
- sl - reference to the statusbar
- Since:
- 30.03
LoadAll
public void LoadAll(boolean reloadAll)
- Loads the Studies, series and instances.
- Parameters:
- reloadAll - true to load new and old element, false to load only new element.
- Since:
- 30.03
OnDelete
public void OnDelete()
- called after the delete button was clicked. Deletes all studies, one study/series
or instance/presentation state.
- Since:
- 30.03
OnLoad
public void OnLoad()
- called after the load button was clicked. This method loads the selected instance
or presentation state. If an instance was selected that have at least one
presentation state, a dialog box will appear. In this box you may select a
presentation state or the default state. Then the viewer will be shown with
the loaded instance / presentation state.
- Since:
- 30.03
OnLoadFile
public void OnLoadFile()
- called if the load-file button was clicked. A File-Open-Dialog wil appear and
ask for a filename from the dicom file. Then another FileOpen Dialogbox will
appear to ask for a presentation state file. You may click on Cancel to load no
presentation state. After a successful load the viewer is shown with the loaded
image.
- Since:
- 30.03
OnSend
public void OnSend()
- called after the SendTo button was clicked. A list box will appear to select the
destination workstation to send the selected study/series/instance/presentation
state to. Details can be requested with the Detail button.
- Since:
- 30.03
addNotify
public void addNotify()
- call parent's notify
- Overrides:
- addNotify in class Panel
- Since:
- 30.03
getSelectedTreeElement
protected StuMan.TreeElement getSelectedTreeElement()
- Gets the selected tree element
- Returns:
- the tree element
- Since:
- 30.03
selectPState
public int selectPState(TreeElement te,
String instanceUID,
String seriesUID,
String studyUID)
- Selects a PState for a loaded image.
- Parameters:
- te - the selected Tree element
- instanceUID - the instance UID
- seriesUID - series UID
- studyUID - study UID
- Since:
- 30.03
setVisible
public void setVisible(boolean b)
- Shows or hides the component depending on the boolean flag b.
- Parameters:
- b - if true, show the component
- Overrides:
- setVisible in class Component
- Since:
- 30.03
- See Also:
- isVisible
startThread
public void startThread()
- Starts the Thread
- Since:
- 30.03
toReadableDate
protected java.lang.String toReadableDate(String ddate)
- Corrects the given date (yyyymmdd) to a "readable" date (mm/dd/yyyy).
if the year is 2 digits long, the output will be "mm/dd/yy".
- Parameters:
- ddate - a date to correct
- Returns:
- the corrected date
- Since:
- 30.03
toReadableTime
protected java.lang.String toReadableTime(String dtime)
- Corrects the given time (hhmmss) to a "readable" time (hh:mm).
- Parameters:
- dtime - a time to correct.
- Returns:
- the corrected time
- Since:
- 30.03
All Packages Class Hierarchy This Package Previous Next Index