|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.contentsystem.ContentSystem
synergynetframework.appsystem.contentsystem.jme.JMEContentSystem
public class JMEContentSystem
The Class JMEContentSystem.
| Constructor Summary | |
|---|---|
JMEContentSystem()
Instantiates a new JME content system. |
|
JMEContentSystem(com.jme.scene.Node orthoNode)
Instantiates a new JME content system. |
|
| Method Summary | |
|---|---|
void |
addContentItem(ContentItem contentItem)
Adds the content item. |
ContentItem |
createContentItem(java.lang.Class<? extends ContentItem> contentItemType)
Create a content item where the name will be auto-generated. |
ContentItem |
createContentItem(java.lang.Class<? extends ContentItem> contentItemType,
java.lang.String itemName)
Create a content item with a specific name. |
ContentItem |
getContentItem(com.jme.scene.Spatial spatial)
Gets the content item. |
com.jme.scene.Spatial |
getOrthoRootNode()
Gets the ortho root node. |
int |
getScreenHeight()
Gets the screen height. |
int |
getScreenWidth()
Gets the screen width. |
boolean |
isTopLevelContainer(java.lang.Object item)
Checks if is top level container. |
void |
removeAllContentItems()
Removes the all content items. |
void |
removeContentItem(ContentItem contentItem)
Removes the content item. |
void |
removeContentItem(ContentItem contentItem,
boolean releaseTextures)
Removes the content item. |
void |
setItemName(ContentItem item,
java.lang.String newName)
Sets the item name. |
void |
update(float tpf)
Update. |
| Methods inherited from class synergynetframework.appsystem.contentsystem.ContentSystem |
|---|
addUpdateableListener, generateUniqueName, getAllContentItems, getContentItem, getContentItemsCount, getContentSystemForSynergyNetApp, getImplementationItemFactory, loadContentItems, removeUpdateableListener |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMEContentSystem()
public JMEContentSystem(com.jme.scene.Node orthoNode)
orthoNode - the ortho node| Method Detail |
|---|
public void addContentItem(ContentItem contentItem)
ContentSystem
addContentItem in class ContentSystemcontentItem - the content itempublic ContentItem createContentItem(java.lang.Class<? extends ContentItem> contentItemType)
createContentItem in class ContentSystemcontentItemType - the content item type
public ContentItem createContentItem(java.lang.Class<? extends ContentItem> contentItemType,
java.lang.String itemName)
createContentItem in class ContentSystemcontentItemType - the content item typeitemName - the item name
public ContentItem getContentItem(com.jme.scene.Spatial spatial)
spatial - the spatial
public com.jme.scene.Spatial getOrthoRootNode()
public int getScreenHeight()
ContentSystem
getScreenHeight in class ContentSystempublic int getScreenWidth()
ContentSystem
getScreenWidth in class ContentSystempublic boolean isTopLevelContainer(java.lang.Object item)
ContentSystem
isTopLevelContainer in class ContentSystemitem - the implementation object
public void removeAllContentItems()
ContentSystem
removeAllContentItems in class ContentSystempublic void removeContentItem(ContentItem contentItem)
ContentSystem
removeContentItem in class ContentSystemcontentItem - the content item
public void removeContentItem(ContentItem contentItem,
boolean releaseTextures)
ContentSystem
removeContentItem in class ContentSystemcontentItem - the content itemreleaseTextures - the release textures
public void setItemName(ContentItem item,
java.lang.String newName)
ContentSystem
setItemName in class ContentSystemitem - the itemnewName - the name namepublic void update(float tpf)
ContentSystem
update in class ContentSystemtpf - the tpf
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||