org.argosfields.battlefield
Class DefaultState

java.lang.Object
  extended byorg.argosfields.battlefield.State
      extended byorg.argosfields.battlefield.DefaultState
All Implemented Interfaces:
EventListener, org.eclipse.swt.events.KeyListener, org.eclipse.swt.events.MouseListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener

public class DefaultState
extends State

DefaultState.java

Version:
$Revision: 1.5 $ $Date: 2003/12/01 07:38:05 $
Author:
Xavier Cho

Constructor Summary
DefaultState(Context context)
           
 
Method Summary
 String getName()
           
 void keyPressed(org.eclipse.swt.events.KeyEvent event)
           
 void mouseDoubleClick(org.eclipse.swt.events.MouseEvent event)
           
 void mouseDown(org.eclipse.swt.events.MouseEvent event)
           
 void paintControl(org.eclipse.swt.events.PaintEvent event)
           
 
Methods inherited from class org.argosfields.battlefield.State
getContext, getTile, keyReleased, mouseUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultState

public DefaultState(Context context)
Parameters:
context -
Method Detail

getName

public String getName()
Specified by:
getName in class State
See Also:
org.argosfields.widget.state.State#getName()

mouseDoubleClick

public void mouseDoubleClick(org.eclipse.swt.events.MouseEvent event)
Specified by:
mouseDoubleClick in interface org.eclipse.swt.events.MouseListener
Overrides:
mouseDoubleClick in class State
See Also:
MouseListener.mouseDoubleClick(org.eclipse.swt.events.MouseEvent)

mouseDown

public void mouseDown(org.eclipse.swt.events.MouseEvent event)
Specified by:
mouseDown in interface org.eclipse.swt.events.MouseListener
Overrides:
mouseDown in class State
See Also:
MouseListener.mouseDown(org.eclipse.swt.events.MouseEvent)

keyPressed

public void keyPressed(org.eclipse.swt.events.KeyEvent event)
Specified by:
keyPressed in interface org.eclipse.swt.events.KeyListener
Overrides:
keyPressed in class State
See Also:
KeyListener.keyPressed(org.eclipse.swt.events.KeyEvent)

paintControl

public void paintControl(org.eclipse.swt.events.PaintEvent event)
Specified by:
paintControl in interface org.eclipse.swt.events.PaintListener
Overrides:
paintControl in class State
See Also:
PaintListener.paintControl(org.eclipse.swt.events.PaintEvent)


Copyright © Gnome Korea. All Rights Reserved.