apps.threedmanipulation.tools
Class MonitorScreen

java.lang.Object
  extended by com.jme.scene.Spatial
      extended by com.jme.scene.Node
          extended by apps.threedmanipulation.tools.MonitorScreen
All Implemented Interfaces:
com.jme.util.export.Savable, java.io.Serializable

public class MonitorScreen
extends com.jme.scene.Node

The Class MonitorScreen.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jme.scene.Spatial
com.jme.scene.Spatial.CullHint, com.jme.scene.Spatial.LightCombineMode, com.jme.scene.Spatial.NormalsMode, com.jme.scene.Spatial.TextureCombineMode
 
Field Summary
 
Fields inherited from class com.jme.scene.Spatial
LOCKED_BOUNDS, LOCKED_BRANCH, LOCKED_MESH_DATA, LOCKED_NONE, LOCKED_SHADOWS, LOCKED_TRANSFORMS, queueDistance
 
Constructor Summary
MonitorScreen(java.lang.String name, ContentSystem contentSystem, float width, com.jme.scene.CameraNode camNode, java.util.List<com.jme.scene.Spatial> manipulatableOjbects, java.lang.String skinColor, java.lang.String cameraOperationMode)
          Instantiates a new monitor screen.
 
Method Summary
 void addToolListener(ToolListener l)
          Adds the tool listener.
 void buildbuttons()
          Buildbuttons.
 void buildScreenFrame()
          Builds the screen frame.
 void buildScreenQuad()
          Builds the screen quad.
 OjbectManipulation getFocusedObject()
          Gets the focused object.
 com.jme.scene.shape.Quad getScreenQuad()
          Gets the screen quad.
 void removeToolListener(ToolListener l)
          Removes the tool listener.
 void setMode(java.lang.String mode)
          Sets the mode.
 void update(float tpf)
          Update.
 
Methods inherited from class com.jme.scene.Node
attachChild, attachChildAt, childChange, detachAllChildren, detachChild, detachChildAt, detachChildNamed, draw, findCollisions, findPick, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, hasCollision, lockBounds, lockMeshes, lockShadows, lockTransforms, read, setModelBound, sortLights, swapChildren, unlockBounds, unlockMeshes, unlockShadows, unlockTransforms, updateModelBound, updateWorldBound, updateWorldData, updateWorldVectors, write
 
Methods inherited from class com.jme.scene.Spatial
addController, calculateCollisions, calculatePick, clearControllers, clearRenderState, clearRenderState, getClassTag, getController, getControllerCount, getControllers, getCullHint, getLastFrustumIntersection, getLightCombineMode, getLocalCullHint, getLocalLightCombineMode, getLocalNormalsMode, getLocalRenderQueueMode, getLocalRotation, getLocalScale, getLocalTextureCombineMode, getLocalToWorldMatrix, getLocalTranslation, getLocks, getName, getNormalsMode, getParent, getRenderQueueMode, getRenderState, getRenderState, getTextureCombineMode, getUserData, getWorldBound, getWorldRotation, getWorldScale, getWorldTranslation, getZOrder, hasAncestor, isCollidable, localToWorld, lock, lock, lockBranch, lockMeshes, lookAt, onDraw, propagateBoundToRoot, propagateStatesFromRoot, removeController, removeController, removeFromParent, removeUserData, rotateUpTo, setCullHint, setIsCollidable, setLastFrustumIntersection, setLightCombineMode, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalTranslation, setLocalTranslation, setLocks, setLocks, setName, setNormalsMode, setRenderQueueMode, setRenderState, setTextureCombineMode, setUserData, setZOrder, setZOrder, toString, unlock, unlock, unlockBranch, unlockMeshes, updateGeometricState, updateRenderState, updateWorldVectors, worldToLocal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jme.util.export.Savable
getClassTag
 

Constructor Detail

MonitorScreen

public MonitorScreen(java.lang.String name,
                     ContentSystem contentSystem,
                     float width,
                     com.jme.scene.CameraNode camNode,
                     java.util.List<com.jme.scene.Spatial> manipulatableOjbects,
                     java.lang.String skinColor,
                     java.lang.String cameraOperationMode)
Instantiates a new monitor screen.

Parameters:
name - the name
contentSystem - the content system
width - the width
camNode - the cam node
manipulatableOjbects - the manipulatable ojbects
skinColor - the skin color
cameraOperationMode - the camera operation mode
Method Detail

addToolListener

public void addToolListener(ToolListener l)
Adds the tool listener.

Parameters:
l - the l

buildbuttons

public void buildbuttons()
Buildbuttons.


buildScreenFrame

public void buildScreenFrame()
Builds the screen frame.


buildScreenQuad

public void buildScreenQuad()
Builds the screen quad.


getFocusedObject

public OjbectManipulation getFocusedObject()
Gets the focused object.

Returns:
the focused object

getScreenQuad

public com.jme.scene.shape.Quad getScreenQuad()
Gets the screen quad.

Returns:
the screen quad

removeToolListener

public void removeToolListener(ToolListener l)
Removes the tool listener.

Parameters:
l - the l

setMode

public void setMode(java.lang.String mode)
Sets the mode.

Parameters:
mode - the new mode

update

public void update(float tpf)
Update.

Parameters:
tpf - the tpf