|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEBackgroundController
public class JMEBackgroundController
The Class JMEBackgroundController.
| Constructor Summary | |
|---|---|
JMEBackgroundController(ContentItem contentItem)
Instantiates a new JME background controller. |
|
| Method Summary | |
|---|---|
void |
drawImage(java.net.URL imageResource)
Draw image. |
void |
drawImage(java.net.URL imageResource,
int x,
int y,
int width,
int height)
Draw image. |
void |
flushGraphics()
Flush graphics. |
java.awt.Graphics2D |
getGraphicsContext()
Gets the graphics context. |
java.util.HashMap<java.net.URL,ImageInfo> |
getImages()
Gets the images. |
void |
init()
Inits the. |
void |
removeAllImages()
Removes the all images. |
void |
removeImage(java.net.URL imageResource)
Removes the image. |
void |
setAutoFitSize(boolean isEnabled)
Sets the auto fit size. |
void |
setBackgroundRotateTranslateScalable(boolean isEnabled)
Sets the background rotate translate scalable. |
void |
setHeight(int height)
Sets the height. |
void |
setWidth(int width)
Sets the width. |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem |
|---|
cursorChanged, cursorClicked, cursorPressed, cursorReleased |
| 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.IContentItemImplementation |
|---|
addMultitouchListener, contains, getImplementationObject, hasCollision, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
| Constructor Detail |
|---|
public JMEBackgroundController(ContentItem contentItem)
contentItem - the content item| Method Detail |
|---|
public void drawImage(java.net.URL imageResource)
IFrameImplementation
drawImage in interface IFrameImplementationimageResource - the image resource
public void drawImage(java.net.URL imageResource,
int x,
int y,
int width,
int height)
IFrameImplementation
drawImage in interface IFrameImplementationimageResource - the image resourcex - the xy - the ywidth - the widthheight - the heightpublic void flushGraphics()
IFrameImplementation
flushGraphics in interface IFrameImplementationpublic java.awt.Graphics2D getGraphicsContext()
IFrameImplementation
getGraphicsContext in interface IFrameImplementationpublic java.util.HashMap<java.net.URL,ImageInfo> getImages()
IFrameImplementation
getImages in interface IFrameImplementationpublic void init()
IContentItemImplementation
init in interface IContentItemImplementationinit in class JMEContentItempublic void removeAllImages()
IFrameImplementation
removeAllImages in interface IFrameImplementationpublic void removeImage(java.net.URL imageResource)
IFrameImplementation
removeImage in interface IFrameImplementationimageResource - the image resourcepublic void setAutoFitSize(boolean isEnabled)
IQuadContentItemImplementation
setAutoFitSize in interface IQuadContentItemImplementationsetAutoFitSize in class JMEQuadContentItemisEnabled - the new auto fit sizepublic void setBackgroundRotateTranslateScalable(boolean isEnabled)
IBackgroundControllerImplementation
setBackgroundRotateTranslateScalable in interface IBackgroundControllerImplementationisEnabled - the new background rotate translate scalablepublic void setHeight(int height)
IQuadContentItemImplementation
setHeight in interface IQuadContentItemImplementationsetHeight in class JMEQuadContentItemheight - the new heightpublic void setWidth(int width)
IQuadContentItemImplementation
setWidth in interface IQuadContentItemImplementationsetWidth in class JMEQuadContentItemwidth - the new width
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||