synergynetframework.appsystem.contentsystem.items.implementation.interfaces
Interface IFrameImplementation

All Superinterfaces:
IContentItemImplementation, IOrthoContentItemImplementation, IQuadContentItemImplementation
All Known Subinterfaces:
IBackgroundControllerImplementation, IDocViewerImplementation, IDrawableFrameImplementation, IHqPDFViewerImplementation, IHtmlFrameImplementation, IImageTextLabelImplementation, IMathPadImplementation, IMultiLineTextLabelImplementation, IObjShape, IPDFViewerImplementation, IPPTViewerImplementation, ISimpleButton, ISketchPadImplementation, ITextLabelImplementation
All Known Implementing Classes:
BackgroundController, DocViewer, DrawableFrame, Frame, HQPDFViewer, HtmlFrame, ImageTextLabel, JMEBackgroundController, JMEDrawableFrame, JMEFrame, JMEHQPDFViewer, JMEHtmlFrame, JMEImageTextLabel, JMEMathPad, JMEMultiLineTextLabel, JMEObjShape, JMEPDFViewer, JMEPPTViewer, JMESimpleButton, JMESketchPad, JMETextLabel, MathPad, MultiLineTextLabel, ObjShape, PDFViewer, PPTViewer, SimpleButton, SketchPad, TextLabel

public interface IFrameImplementation
extends IQuadContentItemImplementation

The Interface IFrameImplementation.


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.
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IQuadContentItemImplementation
setAutoFitSize, setHeight, setWidth
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IOrthoContentItemImplementation
addBringToTopListener, addFlickListener, addItemListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, centerItem, flick, getMaxScale, getMinScale, isFlickable, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeFlickListeners, removeItemListerner, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, reset, rotateRandom, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setFixLocations, setOrder, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setSingleTouchRotateTranslate, setSnapable, setTolerance, setZRotateLimit, turnOffEventDispatcher
 
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
 

Method Detail

drawImage

void drawImage(java.net.URL imageResource)
Draw image.

Parameters:
imageResource - the image resource

drawImage

void drawImage(java.net.URL imageResource,
               int x,
               int y,
               int width,
               int height)
Draw image.

Parameters:
imageResource - the image resource
x - the x
y - the y
width - the width
height - the height

flushGraphics

void flushGraphics()
Flush graphics.


getGraphicsContext

java.awt.Graphics2D getGraphicsContext()
Gets the graphics context.

Returns:
the graphics context

getImages

java.util.HashMap<java.net.URL,ImageInfo> getImages()
Gets the images.

Returns:
the images

removeAllImages

void removeAllImages()
Removes the all images.


removeImage

void removeImage(java.net.URL imageResource)
Removes the image.

Parameters:
imageResource - the image resource