|
||||||||||
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 spatialMethod Detail |
---|
public void addMultitouchListener()
IContentItemImplementation
addMultitouchListener
in interface IContentItemImplementation
public boolean contains(java.awt.geom.Point2D.Float point)
IContentItemImplementation
contains
in interface IContentItemImplementation
point
- the point
public java.lang.Object getImplementationObject()
IContentItemImplementation
getImplementationObject
in interface IContentItemImplementation
public Location getLocalLocation()
public boolean hasCollision(ContentItem contentItem)
IContentItemImplementation
hasCollision
in interface IContentItemImplementation
contentItem
- the content item
public void init()
IContentItemImplementation
init
in interface IContentItemImplementation
public void setAngle(float angle)
IContentItemImplementation
setAngle
in interface IContentItemImplementation
angle
- the new anglepublic void setBackGround(Background backGround)
IContentItemImplementation
setBackGround
in interface IContentItemImplementation
backGround
- the new back groundpublic void setBorder(Border border)
IContentItemImplementation
setBorder
in interface IContentItemImplementation
border
- the new borderpublic void setBoundaryEnabled(boolean isBoundaryEnabled)
IContentItemImplementation
setBoundaryEnabled
in interface IContentItemImplementation
isBoundaryEnabled
- the new boundary enabledpublic void setId(java.lang.String id)
IContentItemImplementation
setId
in interface IContentItemImplementation
id
- the new idpublic void setLocalLocation(Location location)
IContentItemImplementation
setLocalLocation
in interface IContentItemImplementation
location
- the new local locationpublic void setLocation(Location location)
IContentItemImplementation
setLocation
in interface IContentItemImplementation
location
- the new locationpublic void setManipulate(boolean manipulate)
IContentItemImplementation
setManipulate
in interface IContentItemImplementation
manipulate
- the new manipulatepublic void setName(java.lang.String name)
IContentItemImplementation
setName
in interface IContentItemImplementation
name
- the new namepublic void setScale(float scaleFactor)
IContentItemImplementation
setScale
in interface IContentItemImplementation
scaleFactor
- the new scalepublic void setScale(float scaleFactor, Direction direction)
IContentItemImplementation
setScale
in interface IContentItemImplementation
scaleFactor
- the scale factordirection
- the directionpublic void setVisible(boolean isVisible)
IContentItemImplementation
setVisible
in interface IContentItemImplementation
isVisible
- the new visiblepublic void setVisible(boolean isVisible, boolean isUntouchable)
IContentItemImplementation
setVisible
in interface IContentItemImplementation
isVisible
- the is visibleisUntouchable
- the is untouchablepublic void update()
IContentItemImplementation
update
in interface IContentItemImplementation
public void update(float interpolation)
IContentItemImplementation
update
in interface IContentItemImplementation
interpolation
- the interpolation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |