jjdh API

jjdh.opengl.input.actions
Class ToggleViewModeAction

java.lang.Object
  extended by jjdh.opengl.input.actions.ToggleViewModeAction
All Implemented Interfaces:
IAction, ISingularAction

public class ToggleViewModeAction
extends Object
implements ISingularAction


Field Summary
private  JoglInputListener inputListener
           
private  OrthogonalMouseLook orthogonalMouseLook
           
private  OpenGLProgram program
           
 
Constructor Summary
ToggleViewModeAction(OpenGLProgram program, JoglInputListener listener)
           
 
Method Summary
 void execute()
           
 String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

program

private OpenGLProgram program

orthogonalMouseLook

private OrthogonalMouseLook orthogonalMouseLook

inputListener

private JoglInputListener inputListener
Constructor Detail

ToggleViewModeAction

public ToggleViewModeAction(OpenGLProgram program,
                            JoglInputListener listener)
Method Detail

execute

public void execute()
Specified by:
execute in interface ISingularAction

getDescription

public String getDescription()
Specified by:
getDescription in interface IAction
Returns:
a textual description of the effects of this action

jjdh API

Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.