apps.projectmanagement.component.utils
Class ClipRectangleHud

java.lang.Object
  extended by apps.projectmanagement.component.utils.ClipRectangleHud
All Implemented Interfaces:
ClipRegion

public class ClipRectangleHud
extends java.lang.Object
implements ClipRegion

The Class ClipRectangleHud.


Constructor Summary
ClipRectangleHud(com.jme.scene.Spatial spat, float wi, float he)
          Instantiates a new clip rectangle hud.
 
Method Summary
 boolean isPicked(com.jme.math.Vector2f screenPos)
          Checks if is picked.
 void setSpatialClip(com.jme.scene.Spatial spatial, boolean isClipEnabled)
          Sets the spatial clip.
 void updateEquations()
          Update equations.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClipRectangleHud

public ClipRectangleHud(com.jme.scene.Spatial spat,
                        float wi,
                        float he)
Instantiates a new clip rectangle hud.

Parameters:
spat - the spat
wi - the wi
he - the he
Method Detail

isPicked

public boolean isPicked(com.jme.math.Vector2f screenPos)
Description copied from interface: ClipRegion
Checks if is picked.

Specified by:
isPicked in interface ClipRegion
Parameters:
screenPos - the screen pos
Returns:
true, if is picked

setSpatialClip

public void setSpatialClip(com.jme.scene.Spatial spatial,
                           boolean isClipEnabled)
Sets the spatial clip.

Parameters:
spatial - the spatial
isClipEnabled - the is clip enabled

updateEquations

public void updateEquations()
Update equations.