![]() |
Dynamic Presentation Systemhttp://dpsys.sourceforge.net/http://sourceforge.net/projects/dpsys/ |
| An Do | <ad68ATdrexelDOTedu> |
| Lay Gauv | <lcg22ATdrexelDOTedu> |
| Sarith Kim | <sk63ATdrexelDOTedu> |
| John Trainer | <jwt25ATdrexelDOTedu> |
| Rami Quezada | <rq23ATdrexelDOTedu> |
1.4. Design Goals and Objectives
1.5. Overview of the Remainder of the Document
3. Architectural and Component-level Design
3.1.2.3.5. setDisplaysHeight()
3.1.2.3.9. setLowestResolution()
3.1.3. DPSBaseAboutDPSDialog Class
3.1.3.3.1. DPSBaseAboutDPSDialog()
3.1.3.3.3. okbuttonClickEventMethod()
3.1.4.3.3. setFileName(filename)
3.1.4.3.8. setSlideIndex(index)
3.1.4.3.10. setDisplayType(type)
3.1.4.3.16. setCurrentSlide(slide)
3.1.4.3.18. setSlideAt(slideindex, slide)
3.1.4.3.19. getSlideAt(slideindex)
3.1.4.3.26. setDisplayLocked(lockflag)
3.1.4.3.27. getDisplayLocked()
3.1.4.3.29. duplicateSlide(todisplay)
3.1.5. DPSBaseDisplayOptionsDialog Class
3.1.5.2.1. SINGLE_DISPLAY, Constant set to 0.
3.1.5.2.2. MIRRORED_DISPLAY, Constant set to 1.
3.1.5.2.3. CHAINED_DISPLAY, Constant set to 2.
3.1.5.3.1. DPSBaseDisplayOptionsDialog()
3.1.5.3.2. DPSBaseDisplayOptionsDialog(displays, chainedid)
3.1.5.3.4. setDisplayType(type)
3.1.5.3.5. selectDisplays(displays)
3.1.5.3.6. selectDisplay(display)
3.1.5.3.8. rdsingleSelectEventMethod()
3.1.5.3.9. rdmirroredSelectEventMethod()
3.1.5.3.10. rdchainedSelectEventMethod()
3.1.5.3.11. okbuttonClickEventMethod()
3.1.5.3.12. cancelbuttonClickEventMethod()
3.1.6. DPSBaseDrawingLayout Class
3.1.6.3.1. DPSBaseDrawingLayout(display)
3.1.7. DPSBaseDuplicateSlideDialog Class
3.1.7.3.1. DPSBaseDuplicateSlideDialog()
3.1.7.3.2. DPSBaseDuplicateSlideDialog(displays,slideindex)
3.1.7.3.4. okbuttonClickEventMethod()
3.1.7.3.5. cancelbuttonClickEventMethod()
3.1.7.3.6. applybuttonClickEventMethod()
3.1.7.3.7. duplicateSlide(slideindex)
3.1.9.3.2. DPSBaseLayout(displays)
3.1.9.3.3. setDisplays(displays)
3.1.10.2.7. displayoptionsdialog
3.1.10.2.8. duplicateslidedialog
3.1.10.2.10. swapdisplaysdialog
3.1.10.3.2. DPSBaseMenuBar(displays, displayindex)
3.1.10.3.4. setDisplayIndex(displayindex)
3.1.10.3.17. miopenClickEventMethod()
3.1.10.3.18. micloseClickEventMethod()
3.1.10.3.19. miexitClickEventMethod()
3.1.10.3.20. mishowDisplayidsClickEventMethod()
3.1.10.3.22. miswapdisplaysClickEventMethod()
3.1.10.3.23. misetnewpasswordClickEventMethod()
3.1.10.3.24. mihelpcontentsClickEventMethod()
3.1.10.3.25. miaboutdpsClickEventMethod()
3.1.10.3.26. milockdisplayClickEventMethod()
3.1.10.3.27. miduplicateslideClickEventMethod()
3.1.10.3.28. midrawClickEventMethod()
3.1.11. DPSBaseOpenFileDialog Class
3.1.11.3.1. DPSBaseOpenFileDialog()
3.1.12. DPSBasePasswordDialog Class
3.1.12.2.2. currentpasswordlabel
3.1.12.2.4. confirmpasswordlabel
3.1.12.2.5. currentpasswordtextbox
3.1.12.2.6. newpasswordtextbox
3.1.12.2.7. confirmpasswordtextbox
3.1.12.3.1. DPSBasePasswordDialog(password)
3.1.12.3.2. setPassword(currpassword, newpassword, confirmnewpassword)
3.1.12.3.3. showPasswordSuccessful()
3.1.12.3.4. showNewPasswordError()
3.1.12.3.5. showCurrPasswordError()
3.1.12.3.6. okbuttonClickEventMethod()
3.1.12.3.7. cancelbuttonClickEventMethod()
3.1.13.2.1. COMM_ServerName, Constant set to 1001
3.1.13.2.2. COMM_DirectoryList, Constant set to 2001
3.1.13.2.3. COMM_DirectoryChange, Constant set to 2002
3.1.13.2.4. COMM_DirectoryUp, Constant set to 2003
3.1.13.2.5. COMM_PresentationOpen, Constant set to 3001
3.1.13.2.6. COMM_PresentationClose, Constant set to 3002
3.1.13.2.7. COMM_SlideFirst, Constant set to 4001
3.1.13.2.8. COMM_SlidePrevious, Constant set to 4002
3.1.13.2.9. COMM_SlideNext, Constant set to 4003
3.1.13.2.10. COMM_SlideLast, Constant set to 4004
3.1.13.2.11. COMM_DisplaySwap, Constant set to 5001
3.1.13.2.12. COMM_DisplayShowIDs, Constant set to 5002
3.1.13.2.13. COMM_DisplayDuplicate, Constant set to 5003
3.1.13.2.14. COMM_DrawEnable, Constant set to 6001
3.1.13.2.15. COMM_DrawPoint, Constant set to 6002
3.1.13.2.16. COMM_DrawColor, Constant set to 6003
3.1.13.2.17. COMM_DrawClear, Constant set to 6004
3.1.13.2.18. COMM_DrawDisable, Constant set to 6005
3.1.13.2.19. COMM_LockToggle, Constant set to 7001
3.1.13.2.20. COMM_Exit, Constant set to 8001
3.1.13.2.21. DISP_Single, Constant set to 5101
3.1.13.2.22. DISP_Mirrored, Constant set to 5102
3.1.13.2.23. DISP_Chained, Constant set to 5103
3.1.13.2.24. RESP_DirectoryName, Constant set to 2201
3.1.13.2.25. RESP_DirectoryBracket, Constant set to 2202
3.1.13.2.26. RESP_DirectoryListing, Constant set to 2203
3.1.13.2.27. RESP_DrawCapture, Constant set to 6201
3.1.13.2.28. RESP_PasswordResult, Constant set to 9201
3.1.13.2.29. RESP_CommandResult, Constant set to 9202
3.1.13.2.30. RESP_Disconnecting, Constant set to 9203
3.1.13.3.2. waitForConnection()
3.1.13.3.5. verifyPassword(password)
3.1.13.3.7. processCommand(command,argument1,argument2,argument3)
3.1.13.3.8. sendResponse(code,data)
3.1.14. DPSBaseServerException Class
3.1.14.3.1. DPSBaseServerException()
3.1.14.3.2. DPSBaseServerException(message)
3.1.15.3.2. DPSBaseSlide(id, slidepreview)
3.1.16. DPSBaseSlideControl Class
3.1.16.2.1. SINGLE_DISPLAY, Constant set to 0.
3.1.16.2.2. MIRRORED_DISPLAY, Constant set to 1.
3.1.16.2.3. CHAINED_DISPLAY, Constant set to 2.
3.1.16.3.1. DPSBaseSlideControl()
3.1.16.3.2. DPSBaseSlideControl(displays)
3.1.16.3.4. enabledFirstButton(enable)
3.1.16.3.5. enabledPreviousButton(enable)
3.1.16.3.6. enabledNextButton(enable)
3.1.16.3.7. enabledLastButton(enable)
3.1.16.3.8. enabledAllButtons(enable)
3.1.16.3.13. firstbuttonClickEventMethod()
3.1.16.3.14. previousbuttonClickEventMethod()
3.1.16.3.15. nextbuttonClickEventMethod()
3.1.16.3.16. lastbuttonClickEventMethod()
3.1.17. DPSBaseSlideView Class
3.1.17.3.1. DPSBaseSlideView()
3.1.17.3.2. DPSBaseSlideView(displays, displayindex)
3.1.17.3.3. initSlideButtons()
3.1.17.3.4. setSelection(slideindex)
3.1.17.3.5. selectClickEventMethod()
3.1.18. DPSBaseStatusBar Class
3.1.18.3.1. DPSBaseStatusBar()
3.1.19. DPSBaseSwapDisplayDialog Class
3.1.19.3.1. DPSBaseSwapDisplayDialog()
3.1.19.3.2. DPSBaseSwapDisplayDialog(displays,displayindex)
3.1.19.3.4. swapDisplay(displaya,displayb)
3.1.19.3.5. okButtonClickEventMethod()
3.1.19.3.6. cancelButtonClickEventMethod()
3.1.19.3.7. applyButtonClickEventMethod()
3.1.20.3.2. DPSBaseToolBar(displays,displayindex)
3.1.20.3.3. initToolBarButtons()
3.1.20.3.4. setDisplays(displays)
3.1.20.3.5. setBaseSlideControl(bSlideControl)
3.1.20.3.6. selectDisplay(displayindex)
3.1.20.3.9. showIDbuttonClickEventMethod()
3.1.20.3.10. swapbuttonClickEventMethod()
3.1.20.3.11. duplicatebuttonClickEventMethod()
3.1.20.3.12. drawbuttonClickEventMethod()
3.1.20.3.13. lockbuttonClickEventMethod()
3.1.20.3.14. displaydropmenuSelectEventMethod()
3.1.21. DPSBaseWhiteBoard Class
3.1.21.3.1. DPSBaseWhiteBoard(display)
3.1.21.3.3. changeColor(r,g,b)
3.2.3. DPSSatelliteAboutDPSDialog Class
3.2.3.3.1. DPSSatelliteAboutDPSDialog()
3.2.3.3.3. okButtonClickEventMethod()
3.2.4. DPSSatelliteBrowseServerDialog Class
3.2.4.3.1. DPSSatelliteBrowseServerDialog()
3.2.4.3.3. initServerListBox()
3.2.4.3.4. okbuttonClickEventMethod()
3.2.4.3.5. cancelbuttonClickEventMethod()
3.2.4.3.6. searchbuttonClickEventMethod()
3.2.4.3.7. passSelectedServer()
3.2.5. DPSSatelliteClient Class
3.2.5.2.1. COMM_ServerName, Constant set to 1001
3.2.5.2.2. COMM_DirectoryList, Constant set to 2001
3.2.5.2.3. COMM_DirectoryChange, Constant set to 2002
3.2.5.2.4. COMM_DirectoryUp, Constant set to 2003
3.2.5.2.5. COMM_PresentationOpen, Constant set to 3001
3.2.5.2.6. COMM_PresentationClose, Constant set to 3002
3.2.5.2.7. COMM_SlideFirst, Constant set to 4001
3.2.5.2.8. COMM_SlidePrevious, Constant set to 4002
3.2.5.2.9. COMM_SlideNext, Constant set to 4003
3.2.5.2.10. COMM_SlideLast, Constant set to 4004
3.2.5.2.11. COMM_DisplaySwap, Constant set to 5001
3.2.5.2.12. COMM_DisplayShowIDs, Constant set to 5002
3.2.5.2.13. COMM_DisplayDuplicate, Constant set to 5003
3.2.5.2.14. COMM_DrawEnable, Constant set to 6001
3.2.5.2.15. COMM_DrawPoint, Constant set to 6002
3.2.5.2.16. COMM_DrawColor, Constant set to 6003
3.2.5.2.17. COMM_DrawClear, Constant set to 6004
3.2.5.2.18. COMM_DrawDisable, Constant set to 6005
3.2.5.2.19. COMM_LockToggle, Constant set to 7001
3.2.5.2.20. COMM_Exit, Constant set to 8001
3.2.5.2.21. DISP_Single, Constant set to 5101
3.2.5.2.22. DISP_Mirrored, Constant set to 5102
3.2.5.2.23. DISP_Chained, Constant set to 5103
3.2.5.2.24. RESP_DirectoryName, Constant set to 2201
3.2.5.2.25. RESP_DirectoryBracket, Constant set to 2202
3.2.5.2.26. RESP_DirectoryListing, Constant set to 2203
3.2.5.2.27. RESP_DrawCapture, Constant set to 6201
3.2.5.2.28. RESP_PasswordResult, Constant set to 9201
3.2.5.2.29. RESP_CommandResult, Constant set to 9202
3.2.5.2.30. RESP_Disconnecting, Constant set to 9203
3.2.5.3.1. startConnection(server)
3.2.5.3.3. sendPassword(password)
3.2.5.3.4. sendCommand(command,argument1,argument2,argument3)
3.2.6. DPSSatelliteClientException Class
3.2.6.3.1. DPSSatelliteClientException()
3.2.6.3.2. DPSSatelliteClientException(message)
3.2.7. DPSSatelliteConnectDialog Class
3.2.7.3.1. DPSSatelliteConnectDialog()
3.2.7.3.3. connectbuttonClickEventMethod()
3.2.7.3.5. passwordErrorDialog()
3.2.7.3.6. connectSuccessfulDialog()
3.2.7.3.7. browsebuttonClickEventMethod()
3.2.7.3.8. ipcomboboxLeaveEventMethod()
3.2.7.3.10. connectbuttonClickEventMethod()
3.2.8. DPSSatelliteDisplayOptionsDialog Class
3.2.8.2.1. SINGLE_DISPLAY, Constant set to 0.
3.2.8.2.2. MIRRORED_DISPLAY, Constant set to 1.
3.2.8.2.3. CHAINED_DISPLAY, Constant set to 2.
3.2.8.3.1. DPSSatelliteDisplayOptionsDialog()
3.2.8.3.5. sendSelectedDisplays()
3.2.8.3.6. okbuttonClickEventMethod()
3.2.8.3.7. cancelbuttonClickEventMethod()
3.2.8.3.8. rdsingleSelectEventMethod()
3.2.8.3.9. rdmirroredSelectEventMethod()
3.2.8.3.10. rdchainedSelectEventMethod()
3.2.9. DPSSatelliteDuplicateSlideDialog Class
3.2.9.3.1. DPSSatelliteDuplicateSlideDialog()
3.2.9.3.2. DPSSatelliteDuplicateSlideDialog(displays,slideindex)
3.2.9.3.3. initDuplicateslide()
3.2.9.3.4. okbuttonClickEventMethod()
3.2.9.3.5. cancelbuttonClickEventMethod()
3.2.9.3.6. applybuttonClickEventMethod()
3.2.9.3.7. sendDuplicateSlide(slideindex)
3.2.10. DPSSatelliteHelp Class
3.2.10.3.1. DPSSatelliteHelp()
3.2.11. DPSSatelliteLayout Class
3.2.11.3.1. DPSSatelliteLayout()
3.2.11.3.2. DPSSatelliteLayout(displays)
3.2.12. DPSSatelliteMenuBar Class
3.2.12.2.19. displayoptionsdialog
3.2.12.2.20. duplicateslidedialog
3.2.12.2.21. swapdisplaysdialog
3.2.12.3.1. DPSSatelliteMenuBar()
3.2.12.3.3. sendSetDisplay(displayindex)
3.2.12.3.5. sendExtractSlides()
3.2.12.3.7. sendExitDPSSatellite()
3.2.12.3.10. sendShowDisplays()
3.2.12.3.16. miopenClickEventMethod()
3.2.12.3.17. micloseClickEventMethod()
3.2.12.3.18. miexitsatClickEventMethod()
3.2.12.3.19. miexitallClickEventMethod()
3.2.12.3.20. mishowdisplayClickEventMethod()
3.2.12.3.21. miswapdisplayClickEventMethod()
3.2.12.3.22. milockClickEventMethod()
3.2.12.3.23. miduplicateClickEventMethod()
3.2.12.3.24. midrawClickEventMethod()
3.2.12.3.25. mihelpcontentsClickEventMethod()
3.2.12.3.26. miaboutClickEventMethod()
3.2.13. DPSSatelliteOpenFileDialog Class
3.2.13.3.1. DPSSatelliteOpenFileDialog()
3.2.13.3.3. sendGetDirectories()
3.2.13.3.4. sendSelectedFilePath()
3.2.13.3.5. openButtonClickEventMethod()
3.2.13.3.6. cancelbuttonClickEventMethod()
3.2.13.3.7. upbuttonClickEventMethod()
3.2.14. DPSSatelliteSlideControl Class
3.2.14.3.1. DPSSatelliteSlideControl()
3.2.14.3.2. DPSSatelliteSlideControl(displays)
3.2.14.3.5. sendPreviousSlide()
3.2.14.3.8. firstButtonClickEventMethod()
3.2.14.3.9. previousButtonClickEventMethod()
3.2.14.3.10. nextButtonClickEventMethod()
3.2.14.3.11. lastButtonClickEventMethod()
3.2.15. DPSSatelliteSwapDisplayDialog Class
3.2.15.3.1. DPSSatelliteSwapDisplayDialog()
3.2.15.3.2. DPSSatelliteSwapDisplayDialog(displays,displayindex)
3.2.15.3.4. okbuttonClickEventMethod()
3.2.15.3.5. cancelbuttonClickEventMethod()
3.2.15.3.6. applybuttonClickEventMethod
3.2.16. DPSSatelliteToolBar Class
3.2.16.3.1. DPSSatelliteToolBar()
3.2.16.3.2. DPSSatelliteToolBar(displays,displayindex)
3.2.16.3.3. initToolBarButtons()
3.2.16.3.4. setDisplays(displays)
3.2.16.3.5. setBaseSlideControl(bSlideControl)
3.2.16.3.6. sendSelectDisplay(displayID)
3.2.16.3.8. sendUnlockDisplay()
3.2.16.3.9. showIDbuttonClickEventMethod()
3.2.16.3.10. swapbuttonClickEventMethod()
3.2.16.3.11. duplicatebuttonClickEventMethod()
3.2.16.3.12. drawbuttonClickEventMethod()
3.2.16.3.13. lockbuttonClickEventMethod()
3.2.16.3.14. displaydropmenuSelectEventMethod()
3.2.16.3.15. clearbuttonClickEventMethod()
3.2.17. DPSSatelliteWhiteBoard Class
3.2.17.3.1. DPSSatelliteWhiteboard()
3.2.17.3.2. sendEnableDrawing()
3.2.17.3.3. sendDisableDrawing()
3.2.17.3.4. sendDrawPoint(x,y)
3.2.17.3.5. sendChangeColor(r,g,b)
3.2.17.3.7. sendGetSlidePicture()
3.2.17.3.8. setSlidePicture(slidepicture)
The purpose of this document is to provide an overview and explanation of the architecture of the Dynamic Presentation System. It illustrates structural and functional design issues; describes system dependencies, collaboration and composition relations, and inheritance hierarchy.
This document is intended to be used by developers that will be implementing the system by providing thorough low-level and high-level descriptions of the system.
This document provides a complete design of the Dynamic Presentation System, and specifies how the functional and non-functional requirements set will be satisfied. The user-interface prototypes are included in the document. Also, the software architecture, classes, and functions are described.
Note: The document does not describe a completely working system. Therefore, the document might contain certain assumptions which might need to be changed in the implementation phase. Also, the class names and field names may be renamed in a better naming convention in the implementation phase.
DPS/Satellite, the remote-control application which may be used on a PDA, is able to connect to and control the functionality of DPS/Base, the "core" software, through the use of a custom client-server protocol. This protocol is a TCP state protocol. The state is not accessible to the client which is DPS/Satellite, but the server which is DPS/Base. There are a total of two states: Login and Command. The Login state is the initial state of the protocol during which the server accepts a connection on TCP port 29471 and processes login authentication. If a client is successfully authenticated, the server will move to the Command state, during which commands are accepted from the client. If the client disconnects or requests a connection close from the server, then the server will revert back to the Login state.
When the DPS/Satellite program is executed, the user will be prompted with a screen asking for the "Server IP" and "Password" screen. The user must enter the correct server ip and password in order to successfully establish a connection with the DPS/Base server protocol.
The messages that are being sent back and forth between the server and client protocol is a 4-digit integer. The number is split into the following parts:
This would be the best way to implement the client-server protocols. Our plan is to declare integer constants inside the DPSBaseServer and DPSSatelliteClient classes. These integers will be identical in both classes which makes it easier for the server and client to communicate to one another.
DPSBase Flow Chart| Input: | None. |
| Processing: | Call initDisplays() method. Set width and height to 0. Create object of DPSBaseLayout class. |
| Output: | None. |
| Input: | None. |
| Processing: | Call createDisplay() method. Call setDisplayWidth() method. Call setDisplayHeight() method. Call setLowestResolution() method. Call blankDisplays() method. Send list of displays to DPSBaseLayout object. |
| Output: | None. |
| Input: | None. |
| Processing: | Detect the number of displays. Create objects of Display class based on number of displays detected. |
| Output: | None. |
| Input: | None. |
| Processing: | Detect the width of each display. Set the Display objects width to its proper width. |
| Output: | None. |
| Input: | None. |
| Processing: | Detect the height of each display. Set the Display objects height to its proper height. |
| Output: | None. |
| Input: | None. |
| Processing: | Loop through displays list setting all display to a solid black color. |
| Output: | None. |
| Input: | None. |
| Processing: | Loop through display list to determine which display has the lowest width resolution. |
| Output: | A number value of the lowest width resolution. |
| Input: | None. |
| Processing: | Loop through display list to determine which display has the lowest height resolution. |
| Output: | A number value of the lowest height resolution. |
| Input: | None. |
| Processing: | Set width to return value of getLowestWidth() method. Set height to return value of getLowestHeight() method. Set the display's resolution to the new width and height values. |
| Output: | None. |

| Input: | None. |
| Processing: | Initiates the dialog window that will display the DPS information. |
| Output: | None. |
| Input: | None. |
| Processing: | Sets up the dialog box with the text and buttons to display information about DPS. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Close the current dialog window. |
| Output: | None. |
| Input: | None. |
| Processing: | Set id to 0. Set slideindex to 0. Set list of slides to a list object. Set lockflag to false. Set type to 0. |
| Output: | None. |
| Input: | A number ID. |
| Processing: | Set id to number input. Set slideindex to 0. Set list of slides to a list object. Set lockflag to false. Set type to 0. |
| Output: | None. |
| Input: | string of the File name. |
| Processing: | Set filename to the input parameter. |
| Output: | None. |
| Input: | None. |
| Processing: | Get the filename. Return the filename. |
| Output: | File name of the file. |
| Input: | None. |
| Processing: | Get the list of slides. Return the list of slides. |
| Output: | A list of slides. |
| Input: | A number ID. |
| Processing: | Set display ID to the input parameter. |
| Output: | None. |
| Input: | None. |
| Processing: | Get id of display. Return id. |
| Output: | A number ID of the display. |
| Input: | A number index. |
| Processing: | Set the slide index to the input parameter. |
| Output: | None. |
| Input: | None. |
| Processing: | Get slide index. Return slide index. |
| Output: | A number index of the slide. |
| Input: | A number representing a display type. |
| Processing: | Set display type to input parameter. |
| Output: | None. |
| Input: | None. |
| Processing: | Get display type. Return display type. |
| Output: | A number representing the display type. |
| Input: | The width value of the display. |
| Processing: | Set width to the input parameter. |
| Output: | None. |
| Input: | None. |
| Processing: | Get width of the display. Return width. |
| Output: | The width value of the display. |
| Input: | The height value of the display. |
| Processing: | Set height to the input parameter. |
| Output: | None. |
| Input: | None. |
| Processing: | Get height of the display. Return height. |
| Output: | The height value of the display. |
| Input: | The object of the current slide. |
| Processing: | Set current slide object to input parameter. |
| Output: | None. |
| Input: | None. |
| Processing: | Get current slide object. Return slide object. |
| Output: | An object of the current slide. |
| Input: | The index number of the slide, the object of the slide. |
| Processing: | Set slide object of the list at input parameter index to the slide object input parameter. |
| Output: | None. |
| Input: | The index number of the slide. |
| Processing: | Get slide object from the list using input parameter as the index. Return slide object. |
| Output: | An object of the slide. |
| Input: | The object of the slide. |
| Processing: | Add slide object to the slide list. |
| Output: | None. |
| Input: | None. |
| Processing: | Set slide index to 0. Call refresh() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Decrement slide index by 1. Call refresh() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Increment slide index by 1. Call refresh() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Set slide index to size of slide list minus 1. Call refresh() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Re-render the slide at the slide index for this Display object. |
| Output: | None. |
| Input: | Boolean value. |
| Processing: | Set lockflag value to input parameter boolean value. |
| Output: | None. |
| Input: | None. |
| Processing: | Get lockflag boolean value. Return lockflag boolean value. |
| Output: | Boolean value of lockflag. |
| Input: | None. |
| Processing: | Render the display ID on the displays. |
| Output: | None. |
| Input: | An object of display. |
| Processing: | Create object of slide class. Set new slide object to current slide object. Prompt user to confirm action. Call clear() method. Set new slide object to toDisplay's list of slide as first index. |
| Output: | None. |
| Input: | None. |
| Processing: | Clear items in slide list. |
| Output: | None. |

| Input: | None. |
| Processing: | Set displays list to a new list object. Set chained id to 0. Call initDialog() method. |
| Output: | None. |
| Input: | A list of displays, a number id. |
| Processing: | Set displays list to the input parameter list. Set chained id to the input parameter chainedid. Call initDialog(). |
| Output: | None. |
| Input: | None. |
| Processing: | Call extractSlides(). |
| Output: | None. |
| Input: | A number representing a display type. |
| Processing: | Set type to input parameter type. |
| Output: | None. |
| Input: | A list of displays. |
| Processing: | Loop through the display list setting each display with its type. Set chained id if chained type. Copies slides if mirrored type. |
| Output: | None. |
| Input: | A object of class Display. |
| Processing: | Set input parameter display type to selected type. Set slide of input parameter display. |
| Output: | None. |
| Input: | None. |
| Processing: | Extract each slide from the PowerPoint file. Create slide objects of each slide extracted. |
| Output: | None. |

| Input: | System Dependent. |
| Processing: | Set displaylist to be enable only SINGLE selection. Clear selection on displaylist. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Set displaylist to be enable MULTIPLE selections. Clear selection on displaylist. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Set displaylist to be enable MULTIPLE selections. Clear selection on displaylist. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Call setDisplayType() method. Call setDisplay() if type selected is single. Call setDisplays() if type selected is mirrored or chained. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Cancel any user input. Hide dialog window. |
| Output: | None. |

| Input: | Copy of the display being drawn to, by reference. |
| Processing: | Sets up the Screen Drawing dialog. The fields bslide and bdisplay will be set to the input variables. This method will then call createWhiteboard() to get a new DPSBaseWhiteboard object, sets up the panel of the window (drawpanel) properly to display the interface elements properly, then adds the whiteboard, color selector, a clear button, and a close button (closebutton) to that panel. |
| Output: | None. |
| Input: | None. |
| Processing: | This creates a whiteboard object of type DPSBaseWhiteboard, which is passed a reference to the display. |
| Output: | An object of type DPSBaseWhiteboard. |
| Input: | None. |
| Processing: | Destroys the whiteboard and closes the screen drawing dialog. |
| Output: | None. |


| Input: | None. |
| Processing: | Creates a new list and calls the initDuplicateDisplay() method. |
| Output: | None. |
| Input: | List of the displays that are available. |
| Processing: | Makes a copy of the displays that was passed in and calls the initDialog() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Initializes all of the GUI components. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls duplicateSlide() method and closes current window. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Closes the current dialog window. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls duplicateSlide() method and keep the current window open. |
| Output: | None. |
| Input: | Index of the display to be duplicated. |
| Processing: | Duplicates the display that is passed into the method on the current display. |
| Output: | None. |

| Input: | None. |
| Processing: | Initializes help topics. Call baseHelp() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Will call the HtmlHelp API, with four arguments. |
| Output: | None. |


| Input: | None. |
| Processing: | Creates the statusbar, menubar, toolbar, slideview, slidecontrol. Calls the initlayout method. |
| Output: | None. |
| Input: | List of the displays that are available |
| Processing: | Creates the statusbar, menubar, toolbar, slideview, slidecontrol and assigns the displays in the class from the input. Calls the initlayout method. |
| Output: | None. |
| Input: | List of the displays that are available |
| Processing: | Assigns displays for the toolbar, menubar, statusbar, slideview and for the array in the current class. |
| Output: | None. |
| Input: | None. |
| Processing: | Initializes all of the GUI's for the class |
| Output: | None. |


| Input: | None. |
| Processing: | Create a new list of displays. Set displayindex equal to 1 and call the initMenuItem() method. |
| Output: | None. |
| Input: | List of displays and the current displayindex. |
| Processing: | Set the current list of displays to the given displays input. Set the displayindex equal to the given displayindex input. Then call the initMenuItem() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Create the menubar and all its corresponding menu items. |
| Output: | None. |
| Input: | The current working display index. |
| Processing: | Set the displayindex equal to given the display index input. |
| Output: | None. |
| Input: | None. |
| Processing: | Create an open file modal dialog window to allow the user to select a PowerPoint file. Then create the display option dialog window to select which display type and displays will be use for the PowerPoint file. Then call the extractSlides(). |
| Output: | None. |
| Input: | None. |
| Processing: | Open up the PowerPoint file and extract all the slides. |
| Output: | None. |
| Input: | None. |
| Processing: | Check registry for recent open PowerPoint files and load them into the menu list. |
| Output: | None. |
| Input: | None. |
| Processing: | Loop through the list of displays and clear all the slides pertaining to them. Then set those displays to blank. |
| Output: | None. |
| Input: | None. |
| Processing: | Terminate the DPS/Base server and base program. |
| Output: | None. |
| Input: | None. |
| Processing: | Set the current working display lock flag to true. |
| Output: | None. |
| Input: | None. |
| Processing: | Create the swap displays modal dialog and set the dialog window to show. |
| Output: | None. |
| Input: | None. |
| Processing: | Create the duplicate slide modal dialog and set the dialog window to show. |
| Output: | None. |
| Input: | None. |
| Processing: | Creates the drawing layout modal dialog and set the dialog window to show. |
| Output: | None. |
| Input: | None. |
| Processing: | Create the set new password modal dialog and set the dialog window to show. |
| Output: | None. |
| Input: | None. |
| Processing: | Create the help contents modal dialog and set the dialog window to show. |
| Output: | None. |
| Input: | None. |
| Processing: | Create the About DPS modal dialog and set the dialog window to show. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls openFile() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls closeFile() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls exitDPSBase() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls showDisplays() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Shows the ID number for the displays. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls swapDisplays() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls setPassword() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls helpContents() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls aboutDPS() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls lockDisplay() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls duplicateDisplay() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls draw() method. |
| Output: | None. |


| Input: | None. |
| Processing: | Calls the initOpenFile() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Setup the dialog to filter for only PowerPoint file type. Setup the dialog window to be modal. |
| Output: | None. |


| Input: | User's password. |
| Processing: | Set the password. |
| Output: | None. |
| Input: | User's current password. The users new password that they want to set. A string that confirms the new password. |
| Processing: | The first thing that is done is to check the new password and the confirmation of that new password and make sure that they are equal. If the password is incorrect then a dialog box should be displayed to the user. If the password is correct than the new password is set. |
| Output: | None. |
| Input: | None. |
| Processing: | Display a modal dialog window that tells the user that their password was set successfully. |
| Output: | None. |
| Input: | None. |
| Processing: | Display a modal dialog window showing the comparison of the new password and the confirm password did not match up. |
| Output: | None. |
| Input: | None. |
| Processing: | Open a modal dialog window showing the comparison of the current password to the entered current password did not match up. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls checkCurrPassword() |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Closes the current dialog window. |
| Output: | None. |
| Input: | None. |
| Processing: | Starts a loop which listens for activity. It is executed through multithreading attributes of the environment. |
| Output: | None. |
| Input: | None. |
| Processing: | Loops waiting for a connection attempt from a DPS/Satellite client. |
| Output: | None. |
| Input: | None. |
| Processing: | Checks whether a connection established by a DPS/Satellite client is still active. |
| Output: | Whether or not the connection is still active. |
| Input: | None. |
| Processing: | Waits for a password to be sent from the DPS/Satellite client. |
| Output: | Password sent by the client. (Should be a MD5 hash.) |
| Input: | MD5 hash of password sent by client for verification. |
| Processing: | Checks the password sent against the password needed to establish a connection. Sends a result code to the client as to success or failure of this verification. |
| Output: | Success or failure of the password verification attempt. |
| Input: | None. |
| Processing: | Waits for a command to be sent from the DPS/Satellite client as well as associated arguments. If a command is received, whether or not it is valid, sends it to the processCommand() method. |
| Output: | None. |
| Input: | Command code (see fields), and the necessary arguments for that command. Arguments are optional. |
| Processing: | Checks the command code sent against the list of known commands. If the command is valid, this method calls the appropriate methods in other classes to perform actions requested by the client. Finally, sends a response to the client that depends on the type of command. |
| Output: | Success or failure of the command execution attempt. |
| Input: | Response code (see fields), and the necessary data for that response. Data is optional. |
| Processing: | Sends a response over the network to the DPS/Satellite client. |
| Output: | None. |
| Input: | None. |
| Processing: | Closes the connection with the DPS/Satellite client if one is established. |
| Output: | None. |
| Input: | None. |
| Processing: | Derived from the Exception class, calls super() method. |
| Output: | None. |
| Input: | Exception error message. |
| Processing: | Derived from the Exception class, calls super(message) method. |
| Output: | None. |
| Input: | None. |
| Processing: | Sets slide ID to 0. Creates a picture object. |
| Output: | None. |
| Input: | id number, picture representation of slide |
| Processing: | Sets slide ID to id. Sets slide picture to slidepreview. |
| Output: | None. |
| Input: | None. |
| Processing: | Gets the slide ID. Returns the slide ID. |
| Output: | Numerical ID of slide. |
| Input: | id number. |
| Processing: | Sets slide ID to id number. |
| Output: | None. |

| Input: | None. |
| Processing: | Sets displays to a list object. Calls initAllButtons() method. |
| Output: | None. |
| Input: | List of displays. |
| Processing: | Sets displays to list of displays. Calls initAllButtons() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Creates firstButton, previousButton, nextButton, and lastButton. Sets the text of the buttons. Note: This will only create the instance of the button and will not take care of disabling the correct button. |
| Output: | None. |
| Input: | Boolean value. |
| Processing: | Sets firstButton to boolean input. |
| Output: | None. |
| Input: | Boolean value. |
| Processing: | Sets previousButton to boolean input. |
| Output: | None. |
| Input: | Boolean value. |
| Processing: | Sets nextButton to boolean input. |
| Output: | None. |
| Input: | Boolean value. |
| Processing: | Set lastButton to boolean input. |
| Output: | None. |
| Input: | Boolean value. |
| Processing: | Sets firstButton, previousButton, nextButton, and lastButton to boolean input. |
| Output: | None. |
| Input: | None. |
| Processing: | Advances to the first slide of the presentation. |
| Output: | None. |
| Input: | None. |
| Processing: | Advances to the previous slide of the presentation. |
| Output: | None. |
| Input: | None. |
| Processing: | Advances to the next slide of the presentation. |
| Output: | None. |
| Input: | None. |
| Processing: | Advances to the end slide of the presentation. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls firstSlide() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls previousSlide() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls nextSlide() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls lastSlide() method. |
| Output: | None. |

| Input: | None. |
| Processing: | Creates a new list of buttons to hold the slide image. Creates a new list of displays. Creates the working panel. Sets the displayindex equal to 1 and call initSlideButtons(). |
| Output: | None. |
| Input: | List of display and the current display index. |
| Processing: | Creates a new list of buttons to hold the slide image. Creates a panel. Sets the current list of displays to the given displays input. Sets the display index equal to the given id input. Calls initSlideButtons(). |
| Output: | None. |
| Input: | None. |
| Processing: | Uses the panel to setup the layout. Creates all the buttons within the list. Sets all buttons to have the same size. Sets all all the button texts and their images. |
| Output: | None. |
| Input: | The selected slide numerical id. |
| Processing: | Makes the current select slide button to be 3D. Sets the old selected slide button to be flat. Sets the current working slide index to the new selected slide index and refresh the display. Note: This method will not enable/disable the appropriate buttons, this will be taken cared of in another class. |
| Output: | None. |
| Input: | None. |
| Processing: | Calls setSelection() method. |
| Output: | None. |
| Input: | None |
| Processing: | Sets up the components of the dialog such as the location, size, and the default text. |
| Output: | None. |
| Input: | None. |
| Processing: | Initializes the status bar. |
| Output: | None. |

| Input: | None. |
| Processing: | Initiates the buttons, labels, and combo boxes for the dialog window. |
| Output: | None. |
| Input: | List of displays. |
| Processing: | Initiates the buttons, labels, and combo boxes for the dialog window. Assigns the input display to the class list. |
| Output: | None. |
| Input: | None. |
| Processing: | Sets up the buttons, labels and combo boxes for the dialog window. |
| Output: | None. |
| Input: | The two displays that will be swapped. |
| Processing: | Swap display A with Display B and vice versa. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls swapDisplay() and closes current window. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Closes the current dialog window. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls swapDisplay() and keeps the current window opens. |
| Output: | None. |

| Input: | None. |
| Processing: | Sets displays to new list object. Calls initToolBarButtons() method. |
| Output: | None. |
| Input: | A list of displays. |
| Processing: | Sets displays to input parameter displays. Calls initToolBarButtons() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Creates objects of the buttons for the toolbar. Sets the button labels. |
| Output: | None. |
| Input: | A list of displays. |
| Processing: | Sets list of displays to input parameter displays. |
| Output: | None. |
| Input: | An object of DPSBaseSlideControl class. |
| Processing: | Sets object of DPSBaseSlideControl to input parameter bSlideControl. |
| Output: | None. |
| Input: | A number display index. |
| Processing: | Sets displayindex to input parameter displayindex. Sets currSlideIndex to index of the slide from the new display. Sets lockflag to the lockflag of new display. Calls bSlideControl's enableAllButton() method to determine state of the bSlideControl's buttons. Disables bSlideControl first button if the new slide index is at first slide. Disables bSlideControl last button if the new slide index is the last slide. |
| Output: | None. |
| Input: | None. |
| Processing: | Sets lockflag of display to true. Changes lockbutton label to "UNLOCK". Calls bSlideControl's enableAllButton() method to disables all bSlideControl's buttons. |
| Output: | None. |
| Input: | None. |
| Processing: | Sets lockflag of display to false. Changes lockbutton label to "LOCK". Calls bSlideControl's enableAllButton method to enables all bSlideControl's buttons. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Loops through the display list re-rendering their display ID on the screen for 5 seconds. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Sets swap to new object of DPSBaseSwapDisplayDialog class. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Sets duplicate to new object of DPSBaseDuplicateSlideDialog class. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Sets screendraw to new object of DPSBaseDrawingLayout class. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls unlockDisplay() if lockflag is true. Calls lockDisplay() if lockflag is false. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls selectDisplay() method with selected item's index as input parameter. |
| Output: | None. |

| Input: | Copy of the display being drawn to, by reference. |
| Processing: | Prepares to accept pointing device coordinate input. Obtains an image of the slide being drawn over, and sets the background of the interface element to that image. |
| Output: | None. |
| Input: | Coordinates of the pointing device cursor. |
| Processing: | Draws a point at the coordinates provided in inverted color. |
| Output: | None. |
| Input: | Red, green, and blue value of a color. |
| Processing: | Changes the drawing color of the whiteboard. |
| Output: | None. |
| Input: | None. |
| Processing: | Clears the display of drawings made by the whiteboard. |
| Output: | None. |


| Input: | None. |
| Processing: | Creates a new satellite layout and initializes it. |
| Output: | None. |

| Input: | None. |
| Processing: | Initiates the dialog window that will display the DPS information. |
| Output: | None. |
| Input: | None. |
| Processing: | Sets up the dialog box with the text and buttons to display information about DPS. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Close the current dialog window. |
| Output: | None. |

| Input: | None. |
| Processing: | Calls initLayout() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Sets the panel layout of the dialog window. Calls initServerListBox() method to setup the layout of the list box. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends out a broadcast in the subnet for active DPS/Base servers. Sets up the each DPS/Base server into the server list box. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls passSelectedServer() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Closes out of modal dialog. |
| Output: | None. |
| Input: | System Dependent |
| Processing: | Calls initServerListBox() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Returns user selected DPS/Base server. |
| Output: | String of the selected DPS/Base server. |
| Input: | Server's IP Address. |
| Processing: | Establishes a connection with a DPS/Base server. |
| Output: | Success or failure of the connection. |
| Input: | None. |
| Processing: | Checks whether the previously established connection with the DPS/Base server is still active. |
| Output: | Whether or not the connection is active. |
| Input: | MD5 hash of password. |
| Processing: | Sends a password to the DPS/Base server so that it may allow the DPS/Satellite client to connect. |
| Output: | None. |
| Input: | Command code (see fields), and the necessary arguments for that command. Arguments are optional. |
| Processing: | Sends the specified command over the network to the connected DPS/Base server. |
| Output: | None. |
| Input: | None. |
| Processing: | Waits for the DPS/Base server to respond to information sent to it by DPS/Satellite. |
| Output: | Response code (see fields). |
| Input: | None. |
| Processing: | Depending on the response code sent, this method retrieves any data sent with the response. |
| Output: | Data sent with response from DPS/Base server. |
| Input: | None. |
| Processing: | Sends a broadcast message requesting DPS/Base servers to identify themselves through a response. |
| Output: | None. |
| Input: | None. |
| Processing: | Terminates the connection to the DPS/Base server. |
| Output: | None. |
| Input: | None. |
| Processing: | Derived from the Exception class, calls super() method. |
| Output: | None. |
| Input: | Exception error message. |
| Processing: | Derived from the Exception class, calls super(message) method. |
| Output: | None. |

| Input: | None. |
| Processing: | Calls initLayout() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Sets up the panel with the IP combo box and the password text field and all the buttons. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Takes the IP combo box value and the password text field value and try to open a socket connection to the DPS/Base server. If the IP is bad, call IPErrorDialog() method. If the password is bad, call the passwordErrorDialog() method. If connection to the DPS/Base server is successful, call connectSuccefulDialog() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Creates a modal error dialog with the constant IP error string and shows the dialog to the user. |
| Output: | None. |
| Input: | None. |
| Processing: | Creates a modal error dialog with the constant password error string and shows the dialog to the user. |
| Output: | None. |
| Input: | None. |
| Processing: | Creates a modal dialog with a constant string showing a successful connection to the server and shows the dialog to the user. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Creates a new modal browser server dialog window. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls validateIP() method. |
| Output: | None. |
| Input: | IP address string. |
| Processing: | Checks the input parameter IP and validates if it is a valid IP. Calls ipErrorDialog() method if input parameter is invalid. |
| Output: | Boolean value. |
| Input: | System Dependent. |
| Processing: | Sends a signal to the base to verify the password. |
| Output: | None. |

| Input: | None. |
| Processing: | Sets the list of displays to the return value after calling sendGetDisplays() method. Then calls initLayout() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a command to the DPS/Base server to get a list of displays. |
| Output: | List of active displays. |
| Input: | None. |
| Processing: | Sets the panel with the radio buttons and the display list box. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a command to the DPS/Base server with the radio button value as the display type. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a command to the DPS/Base server with the display list box values as the selected displays. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendSelectedDisplays() and sendDisplayType() |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Closes out the dialog window. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Set displaylist to be enable only SINGLE selection. Clear selection on displaylist. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Set displaylist to be enable MULTIPLE selections. Clear selection on displaylist. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Set displaylist to be enable MULTIPLE selections. Clear selection on displaylist. |
| Output: | None. |

| Input: | None. |
| Processing: | Creates a new list and calls the initDuplicateDisplay() method. |
| Output: | None. |
| Input: | List of the displays that are available. |
| Processing: | Makes a copy of the displays that was passed in and calls the initDuplicateDisplay() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Initializes all of the GUI components. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendDuplicateSlide() method and closes current window. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Closes the current dialog window. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendDuplicateSlide() method and keep the current window open. |
| Output: | None. |
| Input: | Index of the display to be duplicated. |
| Processing: | Sends a message to the DPS/Base server to duplicate the display that is passed into the method on the current display index. |
| Output: | None. |
| Input: | None. |
| Processing: | Initializes help topics. Call satelliteHelp() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Will call the HtmlHelp API, with four arguments. |
| Output: | None. |


| Input: | None. |
| Processing: | Creates the statusbar, menubar, toolbar, slideview, slidecontrol, whiteboard and the array list for the class. Calls the initLayout() method. |
| Output: | None. |
| Input: | A list of the displays that are available |
| Processing: | Creates the statusbar, menubar, toolbar, slideview, slidecontrol, whiteboard and assigns the displays in the class from the input. Calls the initLayout() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Initializes all of the GUI's for the class. |
| Output: | None. |


| Input: | None. |
| Processing: | Call the initMenuItem() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Create the menubar and all its corresponding menu item. |
| Output: | None. |
| Input: | The current working display index. |
| Processing: | Sends a message to DPS/Base server to set the displayindex equal to given id input. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a message to the DPS/Base server to send a list of available files. Then creates an open file modal dialog window to allow the user to select a PowerPoint file. Then creates the display option dialog window to select which display type and displays will be use for the PowerPoint file. Then call the extractSlides(). |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a message to the DPS/Base server to open up the PowerPoint file and extract all the slides. |
| Output: | None. |
| Input: | None |
| Processing: | Send a message to the DPS/Base server to loop through the list of displays and clear all the slides pertaining to them. Then set those displays blank. |
| Output: | None. |
| Input: | None |
| Processing: | Terminate the DPS satellite program. |
| Output: | None. |
| Input: | None |
| Processing: | Call exitDPSSatellite() method. Sends a message to the DPS/Base server to terminate the program. |
| Output: | None. |
| Input: | None |
| Processing: | Send a message to DPS/Base server to set the current working display lock flag to true. |
| Output: | None |
| Input: | None. |
| Processing: | Send a message to the DPS/Base server to shows the ID number for the displays. |
| Output: | None. |
| Input: | None. |
| Processing: | Create the swap displays modal dialog and set the dialog window to show. |
| Output: | None. |
| Input: | None. |
| Processing: | Create the duplicate slide modal dialog and set the dialog window to show. |
| Output: | None. |
| Input: | None. |
| Processing: | Uses DPSSatelliteWhiteBoard object whiteboard to call its method getSlidePicture(). Calls its setSlidePicture() method after receiving the return object. |
| Output: | None. |
| Input: | None. |
| Processing: | Create the help contents modal dialog and set the dialog window to show. |
| Output: | None. |
| Input: | None. |
| Processing: | Create the about dps modal dialog and set the dialog window to show. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendOpenFile() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendCloseFile() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendExitDPSSatellite() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendExitAll() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendShowDisplays() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls swapDisplays() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendLockDisplay() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls duplicateSlide() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls draw() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls helpContents() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls aboutDPS() method. |
| Output: | None. |

| Input: | None. |
| Processing: | Calls sendGetDirectories() method to get a list of returned directories. Then call initLayout() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Setup the panel layout, button and list with directories contain within it. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a command to the DPS/Base Server to get a list of directories on the server. Set the list of directories to the returned list. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a command to the DPS/Base Server with the filepath so the server can load up the file. |
| Output: | None. |
| Input: | System dependent. |
| Processing: | Calls sendSelectedFilePath() method and close dialog window. |
| Output: | None. |
| Input: | System dependent. |
| Processing: | Close dialog window. |
| Output: | None. |
| Input: | System dependent. |
| Processing: | Calls sendGetDirectories() method to get a new list of directories outside of the current working directory and update the directory list. |
| Output: | None. |

| Input: | None. |
| Processing: | Prepare to set up the slide control buttons. |
| Output: | None. |
| Input: | A list of available displays. |
| Processing: | Prepares to set up the slide control buttons. |
| Output: | None. |
| Input: | None. |
| Processing: | Initializes all the slide control buttons. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a command to the DPS/Base server to set the current display index to 0. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a command to the DPS/Base server to decrement the current display index by 1. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a command to the DPS/Base server to increment the current display index by 1. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a command to the DPS/Base server to set the current display index to the size of the display list minus one. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendFirstSlide() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendPreviousSlide() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendNextSlide() method. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls sendLastSlide() method. |
| Output: | None. |

| Input: | None. |
| Processing: | Initiates the buttons, labels, and combo boxes for the dialog window. |
| Output: | None. |
| Input: | List of displays. |
| Processing: | Initiates the buttons, labels, and combo boxes for the dialog window. Assigns the input display to the class list. |
| Output: | None. |
| Input: | None. |
| Processing: | Sets up the buttons, labels and combo boxes for the dialog window. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Sends message to DPS/Base server to perform the swap. Closes the dialog. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Closes the current dialog window. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Sends message to DPS/Base server to perform the swap. |
| Output: | None. |

| Input: | None. |
| Processing: | Sets displays to new list object. Calls initToolBarButtons() method. |
| Output: | None. |
| Input: | A list of displays. |
| Processing: | Sets displays to input parameter displays. Calls initToolBarButtons() method. |
| Output: | None. |
| Input: | None. |
| Processing: | Creates objects of the buttons for the toolbar. Sets the button labels. |
| Output: | None. |
| Input: | A list of displays. |
| Processing: | Sets list of displays to input parameter displays. |
| Output: | None. |
| Input: | An object of DPSSatelliteSlideControl class. |
| Processing: | Sets object of DPSSatelliteSlideControl to input parameter bSlideControl. |
| Output: | None. |
| Input: | A number ID. |
| Processing: | Sends message to DPS/Base server to change the display to the input parameter display. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends message to DPS/Base server to lock display. Changes lockbutton label to "UNLOCK". Calls bSlideControl's enableAllButton() method to disables all bSlideControl's buttons. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends message to DPS/Base server to unlock display. Changes lockbutton label to "LOCK". Calls bSlideControl's enableAllButton method to enables all bSlideControl's buttons. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Send message to DPS/Base server to show display IDs. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Sets swap to new object of DPSSatelliteSwapDisplayDialog class. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Sets duplicate to new object of DPSSatelliteDuplicateSlideDialog class. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Uses DPSSatelliteWhiteBoard object whiteboard to call its method getSlidePicture(). Calls its setSlidePicture() method after receiving the return object. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls unlockDisplay() if lockflag is true. Calls lockDisplay() if lockflag is false. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls selectDisplay() method with selected item's index as input parameter. |
| Output: | None. |
| Input: | System Dependent. |
| Processing: | Calls DPSSatelliteWhiteBoard object whiteboard method clear() to clear the white board. |
| Output: | None. |

| Input: | None. |
| Processing: | Prepares to accept pointing device coordinate input. |
| Output: | None. |
| Input: | None. |
| Processing: | Enables the drawing interface, and sends a command to the DPS/Base server to allow drawings to appear on the display. Also, obtains an image of the slide being drawn over from the DPS/Base server, and sets the background of the interface element to that image. |
| Output: | None. |
| Input: | None. |
| Processing: | Disables the drawing interface, and sends a command to the DPS/Base server to remove the drawing from the display. |
| Output: | None. |
| Input: | Coordinates of the pointing device cursor. |
| Processing: | Sends a command to the DPS/Base server to draw a point at the coordinates provided in the current color. |
| Output: | None. |
| Input: | Red, green, and blue value of a color. |
| Processing: | Sends a command to the DPS/Base server to change the drawing color of the whiteboard. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a command to the DPS/Base server to clear the display of drawings made by the whiteboard. |
| Output: | None. |
| Input: | None. |
| Processing: | Sends a command to the DPS/Base server to send a picture representation of the the display's current slide. |
| Output: | A picture of the display's current slide. |
| Input: | A picture of the slide to be drawn on. |
| Processing: | Sets picture object to the input parameter slidepicture. |
| Output: | None. |

The menu bar allows the user access to the functionalities of DPS. There are 3 menu items: File, Tools, and Help.
The File menu item consists of 4 submenu items: Open File, Recent Files, Close, and Exit. Recent Files submenu item displays another submenu with the list of recent files that were opened previously.
The Tools menu item consists of 4 submenu items: Current Display, Show Display IDs, Swap Displays, and Set Password. The Current Display submenu item displays another submenu with submenu items Draw, Duplicate, and Lock.
The Help menu item consists of 2 submenu items: Help Contents, About DPS.
The toolbar consists of 5 toolbar buttons for Show IDs, Swap Displays, Duplicate Slides, Draw, and Lock. Each of these toolbar buttons calls the function to perform the functionality when clicked.
There is a drop-down menu list of displays on the opposite end of the toolbar. The menu list contains all the display IDs detected by DPS.
The menu bar allows the user access to the functionalities of the DPS. There are 3 menu items: File, Tools, and Help.
The File menu item consists of 4 submenu items: Open File, Recent Files, Close, and Exit. Recent Files submenu item displays another submenu with the list of recent files that were opened previously.
The Tools menu item consists of 3 submenu items: Current Display, Show Display IDs, and Swap Displays. The Current Display submenu item displays another submenu with submenu items Draw, Duplicate, and Lock.
The Help menu item consists of 2 submenu items: Help Contents, About DPS.
The action panel consists of 6 toolbar buttons for Show IDs, Swap Displays, Duplicate Slides, Draw, Clear, and Lock. Each of these buttons calls the function to perform the functionality when clicked.
There is a drop-down menu list of displays on the opposite end of the toolbar. The menu list contains all the display IDs detected by DPS.
| © 2005 The Dynamic Presentation System Team © 2005 Drexel University |
|