synergynetframework.appsystem.contentsystem.jme.items
Class JMEOrthoContentItem

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
      extended by synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
All Implemented Interfaces:
IContentItemImplementation, IOrthoContentItemImplementation, ScreenCursorListener, OrthoBringToTop.OrthoBringToTopListener, OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener, OrthoCursorEventDispatcher.CommonCursorEventListener, OrthoSnap.SnapListener, FlickMover.FlickListener
Direct Known Subclasses:
JMEOrthoContainer, JMEQuadContentItem, JMERoundContentItem, JMETwoDShape

public class JMEOrthoContentItem
extends JMEContentItem
implements IOrthoContentItemImplementation, OrthoCursorEventDispatcher.CommonCursorEventListener, OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener, OrthoBringToTop.OrthoBringToTopListener, OrthoSnap.SnapListener, FlickMover.FlickListener, ScreenCursorListener

The Class JMEOrthoContentItem.


Constructor Summary
JMEOrthoContentItem(ContentItem contentItem, com.jme.scene.Spatial spatial)
          Instantiates a new JME ortho content item.
 
Method Summary
 void addBringToTopListener(BringToTopListener l)
          Adds the bring to top listener.
 void addFlickListener(OrthoFlickListener l)
          Adds the flick listener.
 void addItemListener(ItemListener l)
          Adds the item listener.
 void addMultitouchListener()
          Adds the multitouch listener.
 void addOrthoControlPointRotateTranslateScaleListener(OrthoControlPointRotateTranslateScaleListener l)
          Adds the ortho control point rotate translate scale listener.
 void addScreenCursorListener(ScreenCursorListener l)
          Adds the screen cursor listener.
 void addSnapListener(OrthoSnapListener l)
          Adds the snap listener.
 void allowMoreThanTwoToRotateAndScale(boolean b)
          Allow more than two to rotate and scale.
 void allowSingleTouchFreeMove(boolean b)
          Allow single touch free move.
 void allowSnapToOccupiedLocation(boolean allowSnapToOccupiedLocation)
          Allow snap to occupied location.
 void centerItem()
          Center item.
 void cursorChanged(OrthoCursorEventDispatcher commonCursorEventDispatcher, ScreenCursor c, MultiTouchCursorEvent event)
          Cursor changed.
 void cursorClicked(OrthoCursorEventDispatcher commonCursorEventDispatcher, ScreenCursor c, MultiTouchCursorEvent event)
          Cursor clicked.
 void cursorPressed(OrthoCursorEventDispatcher commonCursorEventDispatcher, ScreenCursor c, MultiTouchCursorEvent event)
          Cursor pressed.
 void cursorReleased(OrthoCursorEventDispatcher commonCursorEventDispatcher, ScreenCursor c, MultiTouchCursorEvent event)
          Cursor released.
 void cursorRightClicked(OrthoCursorEventDispatcher commonCursorEventDispatcher, ScreenCursor c, MultiTouchCursorEvent event)
          Cursor right clicked.
 void flick(float velocityX, float velocityY, float deceleration)
          Flick.
 float getMaxScale()
          Gets the max scale.
 float getMinScale()
          Gets the min scale.
 boolean isFlickable()
          Checks if is flickable.
 void ItemBringToTop()
          Item bring to top.
 void itemFlicked(FlickMover multiTouchElement, com.jme.scene.Spatial targetSpatial, float newLocationX, float newLocationY, float oldLocationX, float oldLocationY)
          Item flicked.
 void itemMoved(OrthoControlPointRotateTranslateScale multiTouchElement, com.jme.scene.Spatial targetSpatial, float newLocationX, float newLocationY, float oldLocationX, float oldLocationY)
          Item moved.
 void itemRotated(OrthoControlPointRotateTranslateScale multiTouchElement, com.jme.scene.Spatial targetSpatial, float newAngle, float oldAngle)
          Item rotated.
 void itemScaled(OrthoControlPointRotateTranslateScale multiTouchElement, com.jme.scene.Spatial targetSpatial, float scaleChange)
          Item scaled.
 void itemSnapped(OrthoSnap multiTouchElement, com.jme.scene.Spatial targetSpatial, FixLocationStatus fixLocationStatus)
          Item snapped.
 void makeFlickable(float deceleration)
          Make flickable.
 void makeUnflickable()
          Make unflickable.
 void placeRandom()
          Place random.
 void removeBringToTopListeners(BringToTopListener l)
          Removes the bring to top listeners.
 void removeFlickListeners(OrthoFlickListener l)
          Removes the flick listeners.
 void removeItemListerner(ItemListener l)
          Removes the item listerner.
 void removeOrthoControlPointRotateTranslateScaleListeners(OrthoControlPointRotateTranslateScaleListener l)
          Removes the ortho control point rotate translate scale listeners.
 void removeScreenCursorListeners()
          Removes the screen cursor listeners.
 void removeSnapListeners(OrthoSnapListener l)
          Removes the snap listeners.
 void reset()
          Reset.
 void rotateRandom()
          Rotate random.
 void screenCursorChanged(ContentItem item, long id, float x, float y, float pressure)
          Screen cursor changed.
 void screenCursorClicked(ContentItem item, long id, float x, float y, float pressure)
          Screen cursor clicked.
 void screenCursorPressed(ContentItem item, long id, float x, float y, float pressure)
          Screen cursor pressed.
 void screenCursorReleased(ContentItem item, long id, float x, float y, float pressure)
          Screen cursor released.
 void setAsBottomObject()
          Sets the as bottom object.
 void setAsTopObject()
          Sets the as top object.
 void setAsTopObjectAndBroadCastEvent()
          Sets the as top object and broad cast event.
 void setBackGround(Background backGround)
          Sets the back ground.
 void setBorder(Border border)
          Sets the border.
 void setBringToTopable(boolean isEnabled)
          Sets the bring to topable.
 void setFixLocations(java.util.List<FixLocationStatus> fixLocations)
          Sets the fix locations.
 void setLocalLocation(Location location)
          Sets the local location.
 void setName(java.lang.String name)
          Sets the name.
 void setOrder(int order)
          Sets the order.
 void setRightClickDistance(float distance)
          Sets the right click distance.
 void setRotateTranslateScalable(boolean isEnabled)
          Sets the rotate translate scalable.
 void setRotateTranslateScalable(boolean isEnabled, boolean attachToParent, ContentItem targetItem)
          Sets the rotate translate scalable.
 void setScaleLimit(float min, float max)
          Sets the scale limit.
 void setSingleTouchRotateTranslate(boolean isEnabled)
          Sets the single touch rotate translate.
 void setSnapable(boolean isEnabled)
          Sets the snapable.
 void setTolerance(float tolerance)
          Sets the tolerance.
 void setZRotateLimit(float min, float max)
          Sets the z rotate limit.
 void turnOffEventDispatcher()
          Turn off event dispatcher.
 void update()
          Update.
 void update(float interpolation)
          Update.
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
contains, getImplementationObject, getLocalLocation, hasCollision, init, setAngle, setBoundaryEnabled, setId, setLocation, setManipulate, setScale, setScale, setVisible, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation
contains, getImplementationObject, hasCollision, init, setAngle, setBoundaryEnabled, setId, setLocation, setManipulate, setScale, setScale, setVisible, setVisible
 

Constructor Detail

JMEOrthoContentItem

public JMEOrthoContentItem(ContentItem contentItem,
                           com.jme.scene.Spatial spatial)
Instantiates a new JME ortho content item.

Parameters:
contentItem - the content item
spatial - the spatial
Method Detail

addBringToTopListener

public void addBringToTopListener(BringToTopListener l)
Description copied from interface: IOrthoContentItemImplementation
Adds the bring to top listener.

Specified by:
addBringToTopListener in interface IOrthoContentItemImplementation
Parameters:
l - the l

addFlickListener

public void addFlickListener(OrthoFlickListener l)
Description copied from interface: IOrthoContentItemImplementation
Adds the flick listener.

Specified by:
addFlickListener in interface IOrthoContentItemImplementation
Parameters:
l - the l

addItemListener

public void addItemListener(ItemListener l)
Description copied from interface: IOrthoContentItemImplementation
Adds the item listener.

Specified by:
addItemListener in interface IOrthoContentItemImplementation
Parameters:
l - the item listener

addMultitouchListener

public void addMultitouchListener()
Description copied from interface: IContentItemImplementation
Adds the multitouch listener.

Specified by:
addMultitouchListener in interface IContentItemImplementation
Overrides:
addMultitouchListener in class JMEContentItem

addOrthoControlPointRotateTranslateScaleListener

public void addOrthoControlPointRotateTranslateScaleListener(OrthoControlPointRotateTranslateScaleListener l)
Description copied from interface: IOrthoContentItemImplementation
Adds the ortho control point rotate translate scale listener.

Specified by:
addOrthoControlPointRotateTranslateScaleListener in interface IOrthoContentItemImplementation
Parameters:
l - the l

addScreenCursorListener

public void addScreenCursorListener(ScreenCursorListener l)
Description copied from interface: IOrthoContentItemImplementation
Adds the screen cursor listener.

Specified by:
addScreenCursorListener in interface IOrthoContentItemImplementation
Parameters:
l - the l

addSnapListener

public void addSnapListener(OrthoSnapListener l)
Description copied from interface: IOrthoContentItemImplementation
Adds the snap listener.

Specified by:
addSnapListener in interface IOrthoContentItemImplementation
Parameters:
l - the l

allowMoreThanTwoToRotateAndScale

public void allowMoreThanTwoToRotateAndScale(boolean b)
Description copied from interface: IOrthoContentItemImplementation
Allow more than two to rotate and scale.

Specified by:
allowMoreThanTwoToRotateAndScale in interface IOrthoContentItemImplementation
Parameters:
b - the b

allowSingleTouchFreeMove

public void allowSingleTouchFreeMove(boolean b)
Description copied from interface: IOrthoContentItemImplementation
Allow single touch free move.

Specified by:
allowSingleTouchFreeMove in interface IOrthoContentItemImplementation
Parameters:
b - the b

allowSnapToOccupiedLocation

public void allowSnapToOccupiedLocation(boolean allowSnapToOccupiedLocation)
Description copied from interface: IOrthoContentItemImplementation
Allow snap to occupied location.

Specified by:
allowSnapToOccupiedLocation in interface IOrthoContentItemImplementation
Parameters:
allowSnapToOccupiedLocation - the allow snap to occupied location

centerItem

public void centerItem()
Description copied from interface: IOrthoContentItemImplementation
Center item.

Specified by:
centerItem in interface IOrthoContentItemImplementation

cursorChanged

public void cursorChanged(OrthoCursorEventDispatcher commonCursorEventDispatcher,
                          ScreenCursor c,
                          MultiTouchCursorEvent event)
Description copied from interface: OrthoCursorEventDispatcher.CommonCursorEventListener
Cursor changed.

Specified by:
cursorChanged in interface OrthoCursorEventDispatcher.CommonCursorEventListener
Parameters:
commonCursorEventDispatcher - the common cursor event dispatcher
c - the c
event - the event

cursorClicked

public void cursorClicked(OrthoCursorEventDispatcher commonCursorEventDispatcher,
                          ScreenCursor c,
                          MultiTouchCursorEvent event)
Description copied from interface: OrthoCursorEventDispatcher.CommonCursorEventListener
Cursor clicked.

Specified by:
cursorClicked in interface OrthoCursorEventDispatcher.CommonCursorEventListener
Parameters:
commonCursorEventDispatcher - the common cursor event dispatcher
c - the c
event - the event

cursorPressed

public void cursorPressed(OrthoCursorEventDispatcher commonCursorEventDispatcher,
                          ScreenCursor c,
                          MultiTouchCursorEvent event)
Description copied from interface: OrthoCursorEventDispatcher.CommonCursorEventListener
Cursor pressed.

Specified by:
cursorPressed in interface OrthoCursorEventDispatcher.CommonCursorEventListener
Parameters:
commonCursorEventDispatcher - the common cursor event dispatcher
c - the c
event - the event

cursorReleased

public void cursorReleased(OrthoCursorEventDispatcher commonCursorEventDispatcher,
                           ScreenCursor c,
                           MultiTouchCursorEvent event)
Description copied from interface: OrthoCursorEventDispatcher.CommonCursorEventListener
Cursor released.

Specified by:
cursorReleased in interface OrthoCursorEventDispatcher.CommonCursorEventListener
Parameters:
commonCursorEventDispatcher - the common cursor event dispatcher
c - the c
event - the event

cursorRightClicked

public void cursorRightClicked(OrthoCursorEventDispatcher commonCursorEventDispatcher,
                               ScreenCursor c,
                               MultiTouchCursorEvent event)
Description copied from interface: OrthoCursorEventDispatcher.CommonCursorEventListener
Cursor right clicked.

Specified by:
cursorRightClicked in interface OrthoCursorEventDispatcher.CommonCursorEventListener
Parameters:
commonCursorEventDispatcher - the common cursor event dispatcher
c - the c
event - the event

flick

public void flick(float velocityX,
                  float velocityY,
                  float deceleration)
Description copied from interface: IOrthoContentItemImplementation
Flick.

Specified by:
flick in interface IOrthoContentItemImplementation
Parameters:
velocityX - the velocity x
velocityY - the velocity y
deceleration - the deceleration

getMaxScale

public float getMaxScale()
Description copied from interface: IOrthoContentItemImplementation
Gets the max scale.

Specified by:
getMaxScale in interface IOrthoContentItemImplementation
Returns:
the max scale

getMinScale

public float getMinScale()
Description copied from interface: IOrthoContentItemImplementation
Gets the min scale.

Specified by:
getMinScale in interface IOrthoContentItemImplementation
Returns:
the min scale

isFlickable

public boolean isFlickable()
Description copied from interface: IOrthoContentItemImplementation
Checks if is flickable.

Specified by:
isFlickable in interface IOrthoContentItemImplementation
Returns:
true, if is flickable

ItemBringToTop

public void ItemBringToTop()
Description copied from interface: OrthoBringToTop.OrthoBringToTopListener
Item bring to top.

Specified by:
ItemBringToTop in interface OrthoBringToTop.OrthoBringToTopListener

itemFlicked

public void itemFlicked(FlickMover multiTouchElement,
                        com.jme.scene.Spatial targetSpatial,
                        float newLocationX,
                        float newLocationY,
                        float oldLocationX,
                        float oldLocationY)
Description copied from interface: FlickMover.FlickListener
Item flicked.

Specified by:
itemFlicked in interface FlickMover.FlickListener
Parameters:
multiTouchElement - the multi touch element
targetSpatial - the target spatial
newLocationX - the new location x
newLocationY - the new location y
oldLocationX - the old location x
oldLocationY - the old location y

itemMoved

public void itemMoved(OrthoControlPointRotateTranslateScale multiTouchElement,
                      com.jme.scene.Spatial targetSpatial,
                      float newLocationX,
                      float newLocationY,
                      float oldLocationX,
                      float oldLocationY)
Description copied from interface: OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener
Item moved.

Specified by:
itemMoved in interface OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener
Parameters:
multiTouchElement - the multi touch element
targetSpatial - the target spatial
newLocationX - the new location x
newLocationY - the new location y
oldLocationX - the old location x
oldLocationY - the old location y

itemRotated

public void itemRotated(OrthoControlPointRotateTranslateScale multiTouchElement,
                        com.jme.scene.Spatial targetSpatial,
                        float newAngle,
                        float oldAngle)
Description copied from interface: OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener
Item rotated.

Specified by:
itemRotated in interface OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener
Parameters:
multiTouchElement - the multi touch element
targetSpatial - the target spatial
newAngle - the new angle
oldAngle - the old angle

itemScaled

public void itemScaled(OrthoControlPointRotateTranslateScale multiTouchElement,
                       com.jme.scene.Spatial targetSpatial,
                       float scaleChange)
Description copied from interface: OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener
Item scaled.

Specified by:
itemScaled in interface OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener
Parameters:
multiTouchElement - the multi touch element
targetSpatial - the target spatial
scaleChange - the scale change

itemSnapped

public void itemSnapped(OrthoSnap multiTouchElement,
                        com.jme.scene.Spatial targetSpatial,
                        FixLocationStatus fixLocationStatus)
Description copied from interface: OrthoSnap.SnapListener
Item snapped.

Specified by:
itemSnapped in interface OrthoSnap.SnapListener
Parameters:
multiTouchElement - the multi touch element
targetSpatial - the target spatial
fixLocationStatus - the fix location status

makeFlickable

public void makeFlickable(float deceleration)
Description copied from interface: IOrthoContentItemImplementation
Make flickable.

Specified by:
makeFlickable in interface IOrthoContentItemImplementation
Parameters:
deceleration - the deceleration

makeUnflickable

public void makeUnflickable()
Description copied from interface: IOrthoContentItemImplementation
Make unflickable.

Specified by:
makeUnflickable in interface IOrthoContentItemImplementation

placeRandom

public void placeRandom()
Description copied from interface: IOrthoContentItemImplementation
Place random.

Specified by:
placeRandom in interface IOrthoContentItemImplementation

removeBringToTopListeners

public void removeBringToTopListeners(BringToTopListener l)
Description copied from interface: IOrthoContentItemImplementation
Removes the bring to top listeners.

Specified by:
removeBringToTopListeners in interface IOrthoContentItemImplementation
Parameters:
l - the l

removeFlickListeners

public void removeFlickListeners(OrthoFlickListener l)
Description copied from interface: IOrthoContentItemImplementation
Removes the flick listeners.

Specified by:
removeFlickListeners in interface IOrthoContentItemImplementation
Parameters:
l - the l

removeItemListerner

public void removeItemListerner(ItemListener l)
Description copied from interface: IOrthoContentItemImplementation
Removes the item listerner.

Specified by:
removeItemListerner in interface IOrthoContentItemImplementation
Parameters:
l - the item listener

removeOrthoControlPointRotateTranslateScaleListeners

public void removeOrthoControlPointRotateTranslateScaleListeners(OrthoControlPointRotateTranslateScaleListener l)
Description copied from interface: IOrthoContentItemImplementation
Removes the ortho control point rotate translate scale listeners.

Specified by:
removeOrthoControlPointRotateTranslateScaleListeners in interface IOrthoContentItemImplementation
Parameters:
l - the l

removeScreenCursorListeners

public void removeScreenCursorListeners()
Description copied from interface: IOrthoContentItemImplementation
Removes the screen cursor listeners.

Specified by:
removeScreenCursorListeners in interface IOrthoContentItemImplementation

removeSnapListeners

public void removeSnapListeners(OrthoSnapListener l)
Description copied from interface: IOrthoContentItemImplementation
Removes the snap listeners.

Specified by:
removeSnapListeners in interface IOrthoContentItemImplementation
Parameters:
l - the l

reset

public void reset()
Description copied from interface: IOrthoContentItemImplementation
Reset.

Specified by:
reset in interface IOrthoContentItemImplementation

rotateRandom

public void rotateRandom()
Description copied from interface: IOrthoContentItemImplementation
Rotate random.

Specified by:
rotateRandom in interface IOrthoContentItemImplementation

screenCursorChanged

public void screenCursorChanged(ContentItem item,
                                long id,
                                float x,
                                float y,
                                float pressure)
Description copied from interface: ScreenCursorListener
Screen cursor changed.

Specified by:
screenCursorChanged in interface ScreenCursorListener
Parameters:
item - the item
id - the id
x - the x
y - the y
pressure - the pressure

screenCursorClicked

public void screenCursorClicked(ContentItem item,
                                long id,
                                float x,
                                float y,
                                float pressure)
Description copied from interface: ScreenCursorListener
Screen cursor clicked.

Specified by:
screenCursorClicked in interface ScreenCursorListener
Parameters:
item - the item
id - the id
x - the x
y - the y
pressure - the pressure

screenCursorPressed

public void screenCursorPressed(ContentItem item,
                                long id,
                                float x,
                                float y,
                                float pressure)
Description copied from interface: ScreenCursorListener
Screen cursor pressed.

Specified by:
screenCursorPressed in interface ScreenCursorListener
Parameters:
item - the item
id - the id
x - the x
y - the y
pressure - the pressure

screenCursorReleased

public void screenCursorReleased(ContentItem item,
                                 long id,
                                 float x,
                                 float y,
                                 float pressure)
Description copied from interface: ScreenCursorListener
Screen cursor released.

Specified by:
screenCursorReleased in interface ScreenCursorListener
Parameters:
item - the item
id - the id
x - the x
y - the y
pressure - the pressure

setAsBottomObject

public void setAsBottomObject()
Description copied from interface: IOrthoContentItemImplementation
Sets the as bottom object.

Specified by:
setAsBottomObject in interface IOrthoContentItemImplementation

setAsTopObject

public void setAsTopObject()
Description copied from interface: IOrthoContentItemImplementation
Sets the as top object.

Specified by:
setAsTopObject in interface IOrthoContentItemImplementation

setAsTopObjectAndBroadCastEvent

public void setAsTopObjectAndBroadCastEvent()
Description copied from interface: IOrthoContentItemImplementation
Sets the as top object and broad cast event.

Specified by:
setAsTopObjectAndBroadCastEvent in interface IOrthoContentItemImplementation

setBackGround

public void setBackGround(Background backGround)
Description copied from interface: IContentItemImplementation
Sets the back ground.

Specified by:
setBackGround in interface IContentItemImplementation
Overrides:
setBackGround in class JMEContentItem
Parameters:
backGround - the new back ground

setBorder

public void setBorder(Border border)
Description copied from interface: IContentItemImplementation
Sets the border.

Specified by:
setBorder in interface IContentItemImplementation
Overrides:
setBorder in class JMEContentItem
Parameters:
border - the new border

setBringToTopable

public void setBringToTopable(boolean isEnabled)
Description copied from interface: IOrthoContentItemImplementation
Sets the bring to topable.

Specified by:
setBringToTopable in interface IOrthoContentItemImplementation
Parameters:
isEnabled - the new bring to topable

setFixLocations

public void setFixLocations(java.util.List<FixLocationStatus> fixLocations)
Description copied from interface: IOrthoContentItemImplementation
Sets the fix locations.

Specified by:
setFixLocations in interface IOrthoContentItemImplementation
Parameters:
fixLocations - the new fix locations

setLocalLocation

public void setLocalLocation(Location location)
Description copied from interface: IContentItemImplementation
Sets the local location.

Specified by:
setLocalLocation in interface IContentItemImplementation
Overrides:
setLocalLocation in class JMEContentItem
Parameters:
location - the new local location

setName

public void setName(java.lang.String name)
Description copied from interface: IContentItemImplementation
Sets the name.

Specified by:
setName in interface IContentItemImplementation
Overrides:
setName in class JMEContentItem
Parameters:
name - the new name

setOrder

public void setOrder(int order)
Description copied from interface: IOrthoContentItemImplementation
Sets the order.

Specified by:
setOrder in interface IOrthoContentItemImplementation
Parameters:
order - the new order

setRightClickDistance

public void setRightClickDistance(float distance)
Description copied from interface: IOrthoContentItemImplementation
Sets the right click distance.

Specified by:
setRightClickDistance in interface IOrthoContentItemImplementation
Parameters:
distance - the new right click distance

setRotateTranslateScalable

public void setRotateTranslateScalable(boolean isEnabled)
Description copied from interface: IOrthoContentItemImplementation
Sets the rotate translate scalable.

Specified by:
setRotateTranslateScalable in interface IOrthoContentItemImplementation
Parameters:
isEnabled - the new rotate translate scalable

setRotateTranslateScalable

public void setRotateTranslateScalable(boolean isEnabled,
                                       boolean attachToParent,
                                       ContentItem targetItem)
Description copied from interface: IOrthoContentItemImplementation
Sets the rotate translate scalable.

Specified by:
setRotateTranslateScalable in interface IOrthoContentItemImplementation
Parameters:
isEnabled - the is enabled
attachToParent - the attach to parent
targetItem - the target item

setScaleLimit

public void setScaleLimit(float min,
                          float max)
Description copied from interface: IOrthoContentItemImplementation
Sets the scale limit.

Specified by:
setScaleLimit in interface IOrthoContentItemImplementation
Parameters:
min - the min
max - the max

setSingleTouchRotateTranslate

public void setSingleTouchRotateTranslate(boolean isEnabled)
                                   throws java.lang.Exception
Description copied from interface: IOrthoContentItemImplementation
Sets the single touch rotate translate.

Specified by:
setSingleTouchRotateTranslate in interface IOrthoContentItemImplementation
Parameters:
isEnabled - the new single touch rotate translate
Throws:
java.lang.Exception - the exception

setSnapable

public void setSnapable(boolean isEnabled)
Description copied from interface: IOrthoContentItemImplementation
Sets the snapable.

Specified by:
setSnapable in interface IOrthoContentItemImplementation
Parameters:
isEnabled - the new snapable

setTolerance

public void setTolerance(float tolerance)
Description copied from interface: IOrthoContentItemImplementation
Sets the tolerance.

Specified by:
setTolerance in interface IOrthoContentItemImplementation
Parameters:
tolerance - the new tolerance

setZRotateLimit

public void setZRotateLimit(float min,
                            float max)
Description copied from interface: IOrthoContentItemImplementation
Sets the z rotate limit.

Specified by:
setZRotateLimit in interface IOrthoContentItemImplementation
Parameters:
min - the min
max - the max

turnOffEventDispatcher

public void turnOffEventDispatcher()
Description copied from interface: IOrthoContentItemImplementation
Turn off event dispatcher.

Specified by:
turnOffEventDispatcher in interface IOrthoContentItemImplementation

update

public void update()
Description copied from interface: IContentItemImplementation
Update.

Specified by:
update in interface IContentItemImplementation
Overrides:
update in class JMEContentItem

update

public void update(float interpolation)
Description copied from interface: IContentItemImplementation
Update.

Specified by:
update in interface IContentItemImplementation
Overrides:
update in class JMEContentItem
Parameters:
interpolation - the interpolation