|
||||||||||
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 itemMethod Detail |
---|
public void drawImage(java.net.URL imageResource)
IFrameImplementation
drawImage
in interface IFrameImplementation
imageResource
- the image resourcepublic void drawImage(java.net.URL imageResource, int x, int y, int width, int height)
IFrameImplementation
drawImage
in interface IFrameImplementation
imageResource
- the image resourcex
- the xy
- the ywidth
- the widthheight
- the heightpublic void flushGraphics()
IFrameImplementation
flushGraphics
in interface IFrameImplementation
public java.awt.Graphics2D getGraphicsContext()
IFrameImplementation
getGraphicsContext
in interface IFrameImplementation
public java.util.HashMap<java.net.URL,ImageInfo> getImages()
IFrameImplementation
getImages
in interface IFrameImplementation
public void init()
IContentItemImplementation
init
in interface IContentItemImplementation
init
in class JMEContentItem
public void removeAllImages()
IFrameImplementation
removeAllImages
in interface IFrameImplementation
public void removeImage(java.net.URL imageResource)
IFrameImplementation
removeImage
in interface IFrameImplementation
imageResource
- the image resourcepublic void setAutoFitSize(boolean isEnabled)
IQuadContentItemImplementation
setAutoFitSize
in interface IQuadContentItemImplementation
setAutoFitSize
in class JMEQuadContentItem
isEnabled
- the new auto fit sizepublic void setBackgroundRotateTranslateScalable(boolean isEnabled)
IBackgroundControllerImplementation
setBackgroundRotateTranslateScalable
in interface IBackgroundControllerImplementation
isEnabled
- the new background rotate translate scalablepublic void setHeight(int height)
IQuadContentItemImplementation
setHeight
in interface IQuadContentItemImplementation
setHeight
in class JMEQuadContentItem
height
- the new heightpublic void setWidth(int width)
IQuadContentItemImplementation
setWidth
in interface IQuadContentItemImplementation
setWidth
in class JMEQuadContentItem
width
- the new width
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |