|
||||||||||
| 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.Frame
public class Frame
The Class Frame.
| Field Summary |
|---|
| Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
|---|
removable |
| Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
|---|
name |
| Constructor Summary | |
|---|---|
Frame(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new 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.LinkedHashMap<java.net.URL,ImageInfo> |
getImageResources()
Gets the image resources. |
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. |
| 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 Frame(ContentSystem contentSystem,
java.lang.String name)
contentSystem - the content systemname - the name| 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.LinkedHashMap<java.net.URL,ImageInfo> getImageResources()
public java.util.HashMap<java.net.URL,ImageInfo> getImages()
IFrameImplementation
getImages in interface IFrameImplementationpublic void removeAllImages()
IFrameImplementation
removeAllImages in interface IFrameImplementationpublic void removeImage(java.net.URL imageResource)
IFrameImplementation
removeImage in interface IFrameImplementationimageResource - the image resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||