|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.ContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContentItem
synergynetframework.appsystem.contentsystem.items.QuadContentItem
synergynetframework.appsystem.contentsystem.items.BackgroundController
public class BackgroundController
The Class BackgroundController.
Field Summary |
---|
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Constructor Summary | |
---|---|
BackgroundController(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new 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 |
removeAllImages()
Removes the all images. |
void |
removeImage(java.net.URL imageResource)
Removes the image. |
void |
setBackgroundRotateTranslateScalable(boolean isEnabled)
Sets the background rotate translate scalable. |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.QuadContentItem |
---|
addSizeChangeListener, clone, getHeight, getWidth, isAutoFitSize, removeSizeChangeListener, setAutoFit, setAutoFitSize, setHeight, setWidth |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
addMultitouchListener, canManipulate, contains, generateUniqueName, getAngle, getBackGround, getBackgroundColour, getBorder, getBorderColour, getBorderSize, getContentSystem, getId, getImplementationObject, getLocalLocation, getName, getNote, getResource, getScale, hasCollision, init, initImplementationObjet, isBoundaryEnabled, isVisible, setAngle, setBackGround, setBackgroundColour, setBorder, setBorderColour, setBorderSize, setBoundaryEnabled, setContentSystem, setId, setLocalLocation, setLocalLocation, setLocalLocation, setManipulate, setNote, setResource, setScale, setScale, setVisible, setVisible, update, update |
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.IQuadContentItemImplementation |
---|
setAutoFitSize, setHeight, setWidth |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation |
---|
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
Constructor Detail |
---|
public BackgroundController(ContentSystem contentSystem, java.lang.String name)
contentSystem
- the content systemname
- the nameMethod 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 removeAllImages()
IFrameImplementation
removeAllImages
in interface IFrameImplementation
public void removeImage(java.net.URL imageResource)
IFrameImplementation
removeImage
in interface IFrameImplementation
imageResource
- the image resourcepublic void setBackgroundRotateTranslateScalable(boolean isEnabled)
IBackgroundControllerImplementation
setBackgroundRotateTranslateScalable
in interface IBackgroundControllerImplementation
isEnabled
- the new background rotate translate scalable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |