|
||||||||||
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.JMEFrame
public class JMEFrame
The Class JMEFrame.
Constructor Summary | |
---|---|
JMEFrame(ContentItem contentItem)
Instantiates a new JME frame. |
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 |
setBackGround(Background backGround)
Sets the back ground. |
void |
setBorder(Border border)
Sets the border. |
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, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
Constructor Detail |
---|
public JMEFrame(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 setBackGround(Background backGround)
IContentItemImplementation
setBackGround
in interface IContentItemImplementation
setBackGround
in class JMEOrthoContentItem
backGround
- the new back groundpublic void setBorder(Border border)
IContentItemImplementation
setBorder
in interface IContentItemImplementation
setBorder
in class JMEOrthoContentItem
border
- the new borderpublic 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 |