synergynetframework.appsystem.contentsystem.jme.items
Class JMEObjShape

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
      extended by synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
          extended by synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem
              extended by synergynetframework.appsystem.contentsystem.jme.items.JMEFrame
                  extended by synergynetframework.appsystem.contentsystem.jme.items.JMEObjShape
All Implemented Interfaces:
IContentItemImplementation, IFrameImplementation, IOrthoContentItemImplementation, IQuadContentItemImplementation, IObjShape, ScreenCursorListener, OrthoBringToTop.OrthoBringToTopListener, OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener, OrthoCursorEventDispatcher.CommonCursorEventListener, OrthoSnap.SnapListener, FlickMover.FlickListener

public class JMEObjShape
extends JMEFrame
implements IObjShape

The Class JMEObjShape.


Constructor Summary
JMEObjShape(ContentItem contentItem)
          Instantiates a new JME obj shape.
JMEObjShape(ContentItem contentItem, com.jme.scene.Spatial spatial)
          Instantiates a new JME obj shape.
 
Method Summary
 java.lang.String getObjFileText()
          Gets the obj file text.
 void setShapeGeometry(java.lang.String geomLoc)
          Sets the shape geometry.
 void setShapeGeometry(java.net.URL geomLoc)
          Sets the shape geometry.
 void setSolidColour(com.jme.renderer.ColorRGBA colour)
          Sets the solid colour.
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEFrame
drawImage, drawImage, flushGraphics, getGraphicsContext, getImages, init, removeAllImages, removeImage, setAutoFitSize, setBackGround, setBorder, setHeight, setWidth
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem
cursorChanged, cursorClicked, cursorPressed, cursorReleased
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
addBringToTopListener, addFlickListener, addItemListener, addMultitouchListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, centerItem, cursorRightClicked, flick, getMaxScale, getMinScale, isFlickable, ItemBringToTop, itemFlicked, itemMoved, itemRotated, itemScaled, itemSnapped, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeFlickListeners, removeItemListerner, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, reset, rotateRandom, screenCursorChanged, screenCursorClicked, screenCursorPressed, screenCursorReleased, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setFixLocations, setLocalLocation, setName, setOrder, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setSingleTouchRotateTranslate, setSnapable, setTolerance, setZRotateLimit, turnOffEventDispatcher, update, update
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
contains, getImplementationObject, getLocalLocation, hasCollision, 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.IFrameImplementation
drawImage, drawImage, flushGraphics, getGraphicsContext, getImages, removeAllImages, removeImage
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IQuadContentItemImplementation
setAutoFitSize, setHeight, setWidth
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IOrthoContentItemImplementation
addBringToTopListener, addFlickListener, addItemListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, centerItem, flick, getMaxScale, getMinScale, isFlickable, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeFlickListeners, removeItemListerner, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, reset, rotateRandom, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setFixLocations, setOrder, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setSingleTouchRotateTranslate, setSnapable, setTolerance, setZRotateLimit, turnOffEventDispatcher
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update
 

Constructor Detail

JMEObjShape

public JMEObjShape(ContentItem contentItem)
Instantiates a new JME obj shape.

Parameters:
contentItem - the content item

JMEObjShape

public JMEObjShape(ContentItem contentItem,
                   com.jme.scene.Spatial spatial)
Instantiates a new JME obj shape.

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

getObjFileText

public java.lang.String getObjFileText()
                                throws java.io.IOException
Description copied from interface: IObjShape
Gets the obj file text.

Specified by:
getObjFileText in interface IObjShape
Returns:
the obj file text
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

setShapeGeometry

public void setShapeGeometry(java.lang.String geomLoc)
                      throws java.lang.Exception
Description copied from interface: IObjShape
Sets the shape geometry.

Specified by:
setShapeGeometry in interface IObjShape
Parameters:
geomLoc - the new shape geometry
Throws:
java.lang.Exception - the exception

setShapeGeometry

public void setShapeGeometry(java.net.URL geomLoc)
                      throws java.lang.Exception
Description copied from interface: IObjShape
Sets the shape geometry.

Specified by:
setShapeGeometry in interface IObjShape
Parameters:
geomLoc - the new shape geometry
Throws:
java.lang.Exception - the exception

setSolidColour

public void setSolidColour(com.jme.renderer.ColorRGBA colour)
Description copied from interface: IObjShape
Sets the solid colour.

Specified by:
setSolidColour in interface IObjShape
Parameters:
colour - the new solid colour