JHeightMap
Class JControls

java.lang.Object
  extended by javax.media.j3d.SceneGraphObject
      extended by javax.media.j3d.Node
          extended by javax.media.j3d.Leaf
              extended by javax.media.j3d.Behavior
                  extended by JHeightMap.JControls

public class JControls
extends javax.media.j3d.Behavior

Class JControls extends class Behavior. Class used to control of the height map.

Author:
Martin Kinkor

Field Summary
 
Fields inherited from class javax.media.j3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Constructor Summary
JControls()
          The constructor initializes the capture without any keyboard event.
JControls(JPanelMap panel)
          The constructor initializes the capture of events from the keyboard.
JControls(JPanelMap panel, double zoomInc, int angleInc)
          The constructor initializes the capture of events from the keyboard.
 
Method Summary
 void addText(java.lang.String next)
          Adds the text into the help description
 void initialize()
          The method initializes the capture of evens.
 void processStimulus(java.util.Enumeration criteria)
          The method captures the events of keyboard.
 
Methods inherited from class javax.media.j3d.Behavior
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences, wakeupOn
 
Methods inherited from class javax.media.j3d.Node
cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JControls

public JControls()
The constructor initializes the capture without any keyboard event.


JControls

public JControls(JPanelMap panel,
                 double zoomInc,
                 int angleInc)
The constructor initializes the capture of events from the keyboard.

Parameters:
panel - Panel with height map
zoomInc - value for decrease/increase of zoom during surface viewing
angleInc - value for decrease/increase of angle during surface rotation

JControls

public JControls(JPanelMap panel)
The constructor initializes the capture of events from the keyboard.

Parameters:
panel - Panel with height map
Method Detail

addText

public void addText(java.lang.String next)
Adds the text into the help description

Parameters:
next - added text

initialize

public void initialize()
The method initializes the capture of evens.

Specified by:
initialize in class javax.media.j3d.Behavior

processStimulus

public void processStimulus(java.util.Enumeration criteria)
The method captures the events of keyboard.

Specified by:
processStimulus in class javax.media.j3d.Behavior