synergynetframework.appsystem.contentsystem.items
Class RoundFrame

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.items.ContentItem
      extended by synergynetframework.appsystem.contentsystem.items.OrthoContentItem
          extended by synergynetframework.appsystem.contentsystem.items.RoundContentItem
              extended by synergynetframework.appsystem.contentsystem.items.RoundFrame
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<OrthoContentItem>, IContentItemImplementation, IOrthoContentItemImplementation, IRoundContentItemImplementation, IRoundFrameImplementation, BringToTopListener, ItemListener, OrthoControlPointRotateTranslateScaleListener, OrthoFlickListener, OrthoScaleMotionListener, OrthoSnapListener, OrthoSpinListener
Direct Known Subclasses:
RoundImageLabel, RoundTextLabel

public class RoundFrame
extends RoundContentItem
implements IRoundFrameImplementation

The Class RoundFrame.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem
removable
 
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem
name
 
Constructor Summary
RoundFrame(ContentSystem contentSystem, java.lang.String name)
          Instantiates a new round 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.
 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.RoundContentItem
getRadius, setRadius
 
Methods inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem
addBringToTopListener, addFlickListener, addItemListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, bindImplementationOjbect, centerItem, clone, compareTo, cursorChanged, cursorClicked, cursorDoubleClicked, cursorLongHeld, cursorPressed, cursorReleased, cursorRightClicked, enableMultiTouchElementListeners, fireCursorChanged, fireCursorClicked, fireCursorDoubleClicked, fireCursorLongHeld, fireCursorPressed, fireCursorReleased, fireCursorRightClicked, fireScreenCursorChanged, fireScreenCursorClicked, fireScreenCursorPressed, fireScreenCursorReleased, flick, getBringToTopListeners, getFlickDeceleration, getFlickListeners, getItemListeners, getLocation, getMaxScale, getMinScale, getOrder, getOrthoControlPointRotateTranslateScaleListeners, getOrthoSnapListeners, getParent, getScaleMotionDeceleration, getScaleMotionListeners, getSpinListeners, isBringToTopEnabled, isFlickable, isRotateTranslateScaleEnabled, isSingleTouchRotateTranslate, isSnapEnabled, itemBringToToped, itemFlicked, itemRotated, itemScaled, itemScaleMotioned, itemSnapped, itemSpun, itemTranslated, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeBringToTopListeners, removeFlickListeners, removeFlickListeners, removeItemListerner, removeItemListerners, removeOrthoControlPointRotateTranslateScaleListeners, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, removeSnapListeners, reset, rotateRandom, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setBringToTopListeners, setFixLocations, setFlickListeners, setItemListeners, setLocation, setLocation, setName, setOrder, setOrthoControlPointRotateTranslateScaleListeners, setOrthoSnapListeners, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setScaleMotionListeners, setSingleTouchRotateTranslate, setSnapable, setSpinListeners, setTolerance, setZRotateLimit, turnOffEventDispatcher
 
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.IRoundContentItemImplementation
setRadius
 
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
 

Constructor Detail

RoundFrame

public RoundFrame(ContentSystem contentSystem,
                  java.lang.String name)
Instantiates a new round frame.

Parameters:
contentSystem - the content system
name - the name
Method Detail

drawImage

public void drawImage(java.net.URL imageResource)
Description copied from interface: IRoundFrameImplementation
Draw image.

Specified by:
drawImage in interface IRoundFrameImplementation
Parameters:
imageResource - the image resource

drawImage

public void drawImage(java.net.URL imageResource,
                      int x,
                      int y,
                      int width,
                      int height)
Description copied from interface: IRoundFrameImplementation
Draw image.

Specified by:
drawImage in interface IRoundFrameImplementation
Parameters:
imageResource - the image resource
x - the x
y - the y
width - the width
height - the height

getImageResources

public java.util.LinkedHashMap<java.net.URL,ImageInfo> getImageResources()
Gets the image resources.

Returns:
the image resources

getImages

public java.util.HashMap<java.net.URL,ImageInfo> getImages()
Description copied from interface: IRoundFrameImplementation
Gets the images.

Specified by:
getImages in interface IRoundFrameImplementation
Returns:
the images

removeAllImages

public void removeAllImages()
Description copied from interface: IRoundFrameImplementation
Removes the all images.

Specified by:
removeAllImages in interface IRoundFrameImplementation

removeImage

public void removeImage(java.net.URL imageResource)
Description copied from interface: IRoundFrameImplementation
Removes the image.

Specified by:
removeImage in interface IRoundFrameImplementation
Parameters:
imageResource - the image resource