|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
public class JMEContentItem
The Class JMEContentItem.
| Constructor Summary | |
|---|---|
JMEContentItem(ContentItem contentItem,
com.jme.scene.Spatial spatial)
Instantiates a new JME content item. |
|
| Method Summary | |
|---|---|
void |
addMultitouchListener()
Adds the multitouch listener. |
boolean |
contains(java.awt.geom.Point2D.Float point)
Contains. |
java.lang.Object |
getImplementationObject()
Gets the implementation object. |
Location |
getLocalLocation()
Gets the local location. |
boolean |
hasCollision(ContentItem contentItem)
Checks for collision. |
void |
init()
Inits the. |
void |
setAngle(float angle)
Sets the angle. |
void |
setBackGround(Background backGround)
Sets the back ground. |
void |
setBorder(Border border)
Sets the border. |
void |
setBoundaryEnabled(boolean isBoundaryEnabled)
Sets the boundary enabled. |
void |
setId(java.lang.String id)
Sets the id. |
void |
setLocalLocation(Location location)
Sets the local location. |
void |
setLocation(Location location)
Sets the location. |
void |
setManipulate(boolean manipulate)
Sets the manipulate. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setScale(float scaleFactor)
Sets the scale. |
void |
setScale(float scaleFactor,
Direction direction)
Sets the scale. |
void |
setVisible(boolean isVisible)
Sets the visible. |
void |
setVisible(boolean isVisible,
boolean isUntouchable)
Sets the visible. |
void |
update()
Update. |
void |
update(float interpolation)
Update. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMEContentItem(ContentItem contentItem,
com.jme.scene.Spatial spatial)
contentItem - the content itemspatial - the spatial| Method Detail |
|---|
public void addMultitouchListener()
IContentItemImplementation
addMultitouchListener in interface IContentItemImplementationpublic boolean contains(java.awt.geom.Point2D.Float point)
IContentItemImplementation
contains in interface IContentItemImplementationpoint - the point
public java.lang.Object getImplementationObject()
IContentItemImplementation
getImplementationObject in interface IContentItemImplementationpublic Location getLocalLocation()
public boolean hasCollision(ContentItem contentItem)
IContentItemImplementation
hasCollision in interface IContentItemImplementationcontentItem - the content item
public void init()
IContentItemImplementation
init in interface IContentItemImplementationpublic void setAngle(float angle)
IContentItemImplementation
setAngle in interface IContentItemImplementationangle - the new anglepublic void setBackGround(Background backGround)
IContentItemImplementation
setBackGround in interface IContentItemImplementationbackGround - the new back groundpublic void setBorder(Border border)
IContentItemImplementation
setBorder in interface IContentItemImplementationborder - the new borderpublic void setBoundaryEnabled(boolean isBoundaryEnabled)
IContentItemImplementation
setBoundaryEnabled in interface IContentItemImplementationisBoundaryEnabled - the new boundary enabledpublic void setId(java.lang.String id)
IContentItemImplementation
setId in interface IContentItemImplementationid - the new idpublic void setLocalLocation(Location location)
IContentItemImplementation
setLocalLocation in interface IContentItemImplementationlocation - the new local locationpublic void setLocation(Location location)
IContentItemImplementation
setLocation in interface IContentItemImplementationlocation - the new locationpublic void setManipulate(boolean manipulate)
IContentItemImplementation
setManipulate in interface IContentItemImplementationmanipulate - the new manipulatepublic void setName(java.lang.String name)
IContentItemImplementation
setName in interface IContentItemImplementationname - the new namepublic void setScale(float scaleFactor)
IContentItemImplementation
setScale in interface IContentItemImplementationscaleFactor - the new scale
public void setScale(float scaleFactor,
Direction direction)
IContentItemImplementation
setScale in interface IContentItemImplementationscaleFactor - the scale factordirection - the directionpublic void setVisible(boolean isVisible)
IContentItemImplementation
setVisible in interface IContentItemImplementationisVisible - the new visible
public void setVisible(boolean isVisible,
boolean isUntouchable)
IContentItemImplementation
setVisible in interface IContentItemImplementationisVisible - the is visibleisUntouchable - the is untouchablepublic void update()
IContentItemImplementation
update in interface IContentItemImplementationpublic void update(float interpolation)
IContentItemImplementation
update in interface IContentItemImplementationinterpolation - the interpolation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||