easik.states
Class BasicEditingState

java.lang.Object
  extended by easik.states.EasikState
      extended by easik.states.BasicEditingState

public class BasicEditingState
extends EasikState

The basic editing state is the lowest state of the state manager. It can not be popped off. Basic editing allows access to the basic tools of building sketches.

Version:
2006-07-13 Kevin Green
Author:
Rob Fletcher 2005, Kevin Green 2006

Field Summary
 
Fields inherited from class easik.states.EasikState
_ourSketch
 
Constructor Summary
BasicEditingState()
           
 
Method Summary
 void poppedOff()
          Empty method, as this should never be popped off.
 void pushedOn()
          There is nowhere to go from basic editing (state-wise) so when it is pushed on, it disables Next and Cancel.
 void selectionUpdated()
          Update the selection so that the only selectable items will be those within reach of the existing edges.
 java.lang.String toString()
          Used to identify this class.
 
Methods inherited from class easik.states.EasikState
cancelClicked, finishClicked, gotFocus, nextClicked, resetColors, setCancelButton, setFinishButton, setNextButton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicEditingState

public BasicEditingState()
Method Detail

pushedOn

public void pushedOn()
There is nowhere to go from basic editing (state-wise) so when it is pushed on, it disables Next and Cancel.

Specified by:
pushedOn in class EasikState

poppedOff

public void poppedOff()
Empty method, as this should never be popped off.

Specified by:
poppedOff in class EasikState

toString

public java.lang.String toString()
Used to identify this class.

Specified by:
toString in class EasikState
Returns:
String literal "Basic Editing"

selectionUpdated

public void selectionUpdated()
Update the selection so that the only selectable items will be those within reach of the existing edges.

Overrides:
selectionUpdated in class EasikState