当前位置: 代码迷 >> J2SE >> 帮忙解决个有关问题啦,各位大侠
  详细解决方案

帮忙解决个有关问题啦,各位大侠

热度:37   发布时间:2016-04-24 14:13:49.0
帮忙解决个问题啦,各位大侠
分不够多了,只好先给这么点啦~一题20分

1.A   video   software   has   3   buttons:   Play,   Pause,   Step   Forward.   Initially,   only   play   button   is   visible.   When   user   clicks   play   button,   it   starts   to   play   video   and   only   pause   button   is   visible.   Click   pause,   only   play   and   step   forward   buttons   are   visible.   Complete   the   state   machine   table   below   with   3   states:   Play,   Pause,   Null.
State   \   Event Click   Play   button Click   Pause   button Click   Step   Forward   button
Init  
Play
Pause


2.
In   a   simple   game,   a   ball   is   moving   along   a   line   from   the   left   end   toward   the   right   end.
Show   UML   class   diagram

------解决方案--------------------
1: \ EventClick | Play buttonClick | Pause buttonClick |Step Forward button
State

Init Play Null Null
Play Pause Play Null
Pause Play Pause Play

2:不好显示图表
  相关解决方案