Difference between revisions of "Wristwatch Example"

From WeizmannWiki
Jump to: navigation, search
Line 8: Line 8:
 
|-
 
|-
 
| when the user clicks the d_button, if the display mode is time, the display mode changes to date, otherwise if the display mode is date, the display mode changes to time.  
 
| when the user clicks the d_button, if the display mode is time, the display mode changes to date, otherwise if the display mode is date, the display mode changes to time.  
|[[Image:WatchModes.png|thumb|left|60px|LSC]]  
+
| [[Image:WatchModes.png|thumb|left|60px|LSC]]
 
|-
 
|-
| when the user clicks the a_button, if the display mode is time, the display mode changes to alarm, otherwise if the display mode is alarm, the display mode changes to chime, otherwise if the display mode is chime, the display mode changes to stopwatch, otherwise if the display mode is stopwatch, the display mode changes to time.
+
| when the user clicks the a_button, if the display mode is time, the display mode changes to alarm, otherwise if the display mode is alarm, the display mode changes to chime, otherwise if the display mode is chime, the display mode changes to stopwatch, otherwise if the display mode is stopwatch, the display mode changes to time.  
 
| [[Image:Modes.png|thumb|left|60px|LSC]]
 
| [[Image:Modes.png|thumb|left|60px|LSC]]
 
|-
 
|-
|  
+
| when the user clicks the c_button , if the display mode is alarm then the display mode changes to "alarm minutes" , otherwise if the display mode is "alarm minutes" then the display mode changes to "alarm hours" , otherwise if the display mode is "alarm hours" then the display mode changes to alarm
|  
+
| [[Image:ModesAlarm.png|thumb|left|60px|LSC]]
 
|}
 
|}
  
Line 21: Line 21:
 
<br>  
 
<br>  
  
+
<br>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
  
Here we will add Michal's wrist watch example.
+
<br>
  
Should have a link from the Example Page.  
+
TODO - Should have a link from the Example Page.  
  
 
== Download the Wrist Watch Example  ==
 
== Download the Wrist Watch Example  ==

Revision as of 08:23, 5 February 2013

We will present each of the requirements text, and the LSC created from them. 

Requirements

Watch Modes

when the user clicks the d_button, if the display mode is time, the display mode changes to date, otherwise if the display mode is date, the display mode changes to time.
LSC
when the user clicks the a_button, if the display mode is time, the display mode changes to alarm, otherwise if the display mode is alarm, the display mode changes to chime, otherwise if the display mode is chime, the display mode changes to stopwatch, otherwise if the display mode is stopwatch, the display mode changes to time.
LSC
when the user clicks the c_button , if the display mode is alarm then the display mode changes to "alarm minutes" , otherwise if the display mode is "alarm minutes" then the display mode changes to "alarm hours" , otherwise if the display mode is "alarm hours" then the display mode changes to alarm
LSC










TODO - Should have a link from the Example Page.

Download the Wrist Watch Example

The following zip files contain...

WristWatchExampleSwingGUI.zip
WristWatchExampleSystemModelGUI.zip

Installation Instructions

  1. Extract the downloaded file. The zip includes an executable jar and a properties file - ToDO: extend this and add image of the extracted folder.
  2. Double click the jar and start playing