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

All Superinterfaces:
IContentItemImplementation
All Known Subinterfaces:
IBackgroundControllerImplementation, IControlBarImplementation, IDocViewerImplementation, IDrawableFrameImplementation, IDropDownListImplementation, IFrameImplementation, IHqPDFViewerImplementation, IHtmlFrameImplementation, IImageTextLabelImplementation, IKeyboardImplementation, ILightImageLabelImplementation, ILineImplementation, IListContainerImplementation, IMathPadImplementation, IMediaPlayerImplementation, IMTKeyboardImplementation, IMultiLineTextLabelImplementation, IObjShape, IOrthoContainerImplementation, IPDFViewerImplementation, IPPTViewerImplementation, IQuadContentItemImplementation, IRoundContentItemImplementation, IRoundFrameImplementation, IRoundImageLabelImplementation, IRoundListContainerImplementation, IRoundTextLabelImplementation, IRoundWindowImplementation, ISimpleButton, ISketchPadImplementation, ITextLabelImplementation, ITwoDShape, IVideoPlayerImplementation, IVncFrameImplementation, IWindowImplementation
All Known Implementing Classes:
BackgroundController, ControlBar, DocViewer, DrawableFrame, DropDownList, Frame, HQPDFViewer, HtmlFrame, ImageTextLabel, JMEBackgroundController, JMEControlBar, JMEDrawableFrame, JMEDropDownList, JMEFrame, JMEHQPDFViewer, JMEHtmlFrame, JMEImageTextLabel, JMEKeyboard, JMELightImageLabel, JMELineItem, JMEListContainer, JMEMathPad, JMEMediaPlayer, JMEMTKeyboard, JMEMultiLineTextLabel, JMEObjShape, JMEOrthoContainer, JMEOrthoContentItem, JMEPDFViewer, JMEPPTViewer, JMEQuadContentItem, JMERoundContentItem, JMERoundFrame, JMERoundImageLabel, JMERoundListContainer, JMERoundTextLabel, JMERoundWindow, JMESimpleButton, JMESketchPad, JMESwingContainer, JMETextLabel, JMETwoDShape, JMEVideoPlayer, JMEVncFrame, JMEWindow, Keyboard, LightImageLabel, LineItem, ListContainer, MathPad, MediaPlayer, MTKeyboard, MultiLineTextLabel, ObjShape, OrthoContainer, OrthoContentItem, PDFViewer, PPTViewer, QuadContentItem, RoundContentItem, RoundFrame, RoundImageLabel, RoundListContainer, RoundTextLabel, RoundWindow, SimpleButton, SketchPad, SwingContainer, TextLabel, TwoDShape, VideoPlayer, VncFrame, Window

public interface IOrthoContentItemImplementation
extends IContentItemImplementation

The Interface IOrthoContentItemImplementation.


Method Summary
 void addBringToTopListener(BringToTopListener l)
          Adds the bring to top listener.
 void addFlickListener(OrthoFlickListener l)
          Adds the flick listener.
 void addItemListener(ItemListener itemListener)
          Adds the item listener.
 void addOrthoControlPointRotateTranslateScaleListener(OrthoControlPointRotateTranslateScaleListener l)
          Adds the ortho control point rotate translate scale listener.
 void addScreenCursorListener(ScreenCursorListener l)
          Adds the screen cursor listener.
 void addSnapListener(OrthoSnapListener l)
          Adds the snap listener.
 void allowMoreThanTwoToRotateAndScale(boolean b)
          Allow more than two to rotate and scale.
 void allowSingleTouchFreeMove(boolean b)
          Allow single touch free move.
 void allowSnapToOccupiedLocation(boolean allowSnapToOccupiedLocation)
          Allow snap to occupied location.
 void centerItem()
          Center item.
 void flick(float velocityX, float velocityY, float deceleration)
          Flick.
 float getMaxScale()
          Gets the max scale.
 float getMinScale()
          Gets the min scale.
 boolean isFlickable()
          Checks if is flickable.
 void makeFlickable(float deceleration)
          Make flickable.
 void makeUnflickable()
          Make unflickable.
 void placeRandom()
          Place random.
 void removeBringToTopListeners(BringToTopListener l)
          Removes the bring to top listeners.
 void removeFlickListeners(OrthoFlickListener l)
          Removes the flick listeners.
 void removeItemListerner(ItemListener itemListener)
          Removes the item listerner.
 void removeOrthoControlPointRotateTranslateScaleListeners(OrthoControlPointRotateTranslateScaleListener l)
          Removes the ortho control point rotate translate scale listeners.
 void removeScreenCursorListeners()
          Removes the screen cursor listeners.
 void removeSnapListeners(OrthoSnapListener l)
          Removes the snap listeners.
 void reset()
          Reset.
 void rotateRandom()
          Rotate random.
 void setAsBottomObject()
          Sets the as bottom object.
 void setAsTopObject()
          Sets the as top object.
 void setAsTopObjectAndBroadCastEvent()
          Sets the as top object and broad cast event.
 void setBringToTopable(boolean isEnabled)
          Sets the bring to topable.
 void setFixLocations(java.util.List<FixLocationStatus> fixLocations)
          Sets the fix locations.
 void setOrder(int zOrder)
          Sets the order.
 void setRightClickDistance(float distance)
          Sets the right click distance.
 void setRotateTranslateScalable(boolean isEnabled)
          Sets the rotate translate scalable.
 void setRotateTranslateScalable(boolean isEnabled, boolean attachToParent, ContentItem targetItem)
          Sets the rotate translate scalable.
 void setScaleLimit(float min, float max)
          Sets the scale limit.
 void setSingleTouchRotateTranslate(boolean isEnabled)
          Sets the single touch rotate translate.
 void setSnapable(boolean isEnabled)
          Sets the snapable.
 void setTolerance(float tolerance)
          Sets the tolerance.
 void setZRotateLimit(float min, float max)
          Sets the z rotate limit.
 void turnOffEventDispatcher()
          Turn off event dispatcher.
 
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

addBringToTopListener

void addBringToTopListener(BringToTopListener l)
Adds the bring to top listener.

Parameters:
l - the l

addFlickListener

void addFlickListener(OrthoFlickListener l)
Adds the flick listener.

Parameters:
l - the l

addItemListener

void addItemListener(ItemListener itemListener)
Adds the item listener.

Parameters:
itemListener - the item listener

addOrthoControlPointRotateTranslateScaleListener

void addOrthoControlPointRotateTranslateScaleListener(OrthoControlPointRotateTranslateScaleListener l)
Adds the ortho control point rotate translate scale listener.

Parameters:
l - the l

addScreenCursorListener

void addScreenCursorListener(ScreenCursorListener l)
Adds the screen cursor listener.

Parameters:
l - the l

addSnapListener

void addSnapListener(OrthoSnapListener l)
Adds the snap listener.

Parameters:
l - the l

allowMoreThanTwoToRotateAndScale

void allowMoreThanTwoToRotateAndScale(boolean b)
Allow more than two to rotate and scale.

Parameters:
b - the b

allowSingleTouchFreeMove

void allowSingleTouchFreeMove(boolean b)
Allow single touch free move.

Parameters:
b - the b

allowSnapToOccupiedLocation

void allowSnapToOccupiedLocation(boolean allowSnapToOccupiedLocation)
Allow snap to occupied location.

Parameters:
allowSnapToOccupiedLocation - the allow snap to occupied location

centerItem

void centerItem()
Center item.


flick

void flick(float velocityX,
           float velocityY,
           float deceleration)
Flick.

Parameters:
velocityX - the velocity x
velocityY - the velocity y
deceleration - the deceleration

getMaxScale

float getMaxScale()
Gets the max scale.

Returns:
the max scale

getMinScale

float getMinScale()
Gets the min scale.

Returns:
the min scale

isFlickable

boolean isFlickable()
Checks if is flickable.

Returns:
true, if is flickable

makeFlickable

void makeFlickable(float deceleration)
Make flickable.

Parameters:
deceleration - the deceleration

makeUnflickable

void makeUnflickable()
Make unflickable.


placeRandom

void placeRandom()
Place random.


removeBringToTopListeners

void removeBringToTopListeners(BringToTopListener l)
Removes the bring to top listeners.

Parameters:
l - the l

removeFlickListeners

void removeFlickListeners(OrthoFlickListener l)
Removes the flick listeners.

Parameters:
l - the l

removeItemListerner

void removeItemListerner(ItemListener itemListener)
Removes the item listerner.

Parameters:
itemListener - the item listener

removeOrthoControlPointRotateTranslateScaleListeners

void removeOrthoControlPointRotateTranslateScaleListeners(OrthoControlPointRotateTranslateScaleListener l)
Removes the ortho control point rotate translate scale listeners.

Parameters:
l - the l

removeScreenCursorListeners

void removeScreenCursorListeners()
Removes the screen cursor listeners.


removeSnapListeners

void removeSnapListeners(OrthoSnapListener l)
Removes the snap listeners.

Parameters:
l - the l

reset

void reset()
Reset.


rotateRandom

void rotateRandom()
Rotate random.


setAsBottomObject

void setAsBottomObject()
Sets the as bottom object.


setAsTopObject

void setAsTopObject()
Sets the as top object.


setAsTopObjectAndBroadCastEvent

void setAsTopObjectAndBroadCastEvent()
Sets the as top object and broad cast event.


setBringToTopable

void setBringToTopable(boolean isEnabled)
Sets the bring to topable.

Parameters:
isEnabled - the new bring to topable

setFixLocations

void setFixLocations(java.util.List<FixLocationStatus> fixLocations)
Sets the fix locations.

Parameters:
fixLocations - the new fix locations

setOrder

void setOrder(int zOrder)
Sets the order.

Parameters:
zOrder - the new order

setRightClickDistance

void setRightClickDistance(float distance)
Sets the right click distance.

Parameters:
distance - the new right click distance

setRotateTranslateScalable

void setRotateTranslateScalable(boolean isEnabled)
Sets the rotate translate scalable.

Parameters:
isEnabled - the new rotate translate scalable

setRotateTranslateScalable

void setRotateTranslateScalable(boolean isEnabled,
                                boolean attachToParent,
                                ContentItem targetItem)
Sets the rotate translate scalable.

Parameters:
isEnabled - the is enabled
attachToParent - the attach to parent
targetItem - the target item

setScaleLimit

void setScaleLimit(float min,
                   float max)
Sets the scale limit.

Parameters:
min - the min
max - the max

setSingleTouchRotateTranslate

void setSingleTouchRotateTranslate(boolean isEnabled)
                                   throws java.lang.Exception
Sets the single touch rotate translate.

Parameters:
isEnabled - the new single touch rotate translate
Throws:
java.lang.Exception - the exception

setSnapable

void setSnapable(boolean isEnabled)
Sets the snapable.

Parameters:
isEnabled - the new snapable

setTolerance

void setTolerance(float tolerance)
Sets the tolerance.

Parameters:
tolerance - the new tolerance

setZRotateLimit

void setZRotateLimit(float min,
                     float max)
Sets the z rotate limit.

Parameters:
min - the min
max - the max

turnOffEventDispatcher

void turnOffEventDispatcher()
Turn off event dispatcher.