|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOrthoContentItemImplementation
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 |
---|
void addBringToTopListener(BringToTopListener l)
l
- the lvoid addFlickListener(OrthoFlickListener l)
l
- the lvoid addItemListener(ItemListener itemListener)
itemListener
- the item listenervoid addOrthoControlPointRotateTranslateScaleListener(OrthoControlPointRotateTranslateScaleListener l)
l
- the lvoid addScreenCursorListener(ScreenCursorListener l)
l
- the lvoid addSnapListener(OrthoSnapListener l)
l
- the lvoid allowMoreThanTwoToRotateAndScale(boolean b)
b
- the bvoid allowSingleTouchFreeMove(boolean b)
b
- the bvoid allowSnapToOccupiedLocation(boolean allowSnapToOccupiedLocation)
allowSnapToOccupiedLocation
- the allow snap to occupied locationvoid centerItem()
void flick(float velocityX, float velocityY, float deceleration)
velocityX
- the velocity xvelocityY
- the velocity ydeceleration
- the decelerationfloat getMaxScale()
float getMinScale()
boolean isFlickable()
void makeFlickable(float deceleration)
deceleration
- the decelerationvoid makeUnflickable()
void placeRandom()
void removeBringToTopListeners(BringToTopListener l)
l
- the lvoid removeFlickListeners(OrthoFlickListener l)
l
- the lvoid removeItemListerner(ItemListener itemListener)
itemListener
- the item listenervoid removeOrthoControlPointRotateTranslateScaleListeners(OrthoControlPointRotateTranslateScaleListener l)
l
- the lvoid removeScreenCursorListeners()
void removeSnapListeners(OrthoSnapListener l)
l
- the lvoid reset()
void rotateRandom()
void setAsBottomObject()
void setAsTopObject()
void setAsTopObjectAndBroadCastEvent()
void setBringToTopable(boolean isEnabled)
isEnabled
- the new bring to topablevoid setFixLocations(java.util.List<FixLocationStatus> fixLocations)
fixLocations
- the new fix locationsvoid setOrder(int zOrder)
zOrder
- the new ordervoid setRightClickDistance(float distance)
distance
- the new right click distancevoid setRotateTranslateScalable(boolean isEnabled)
isEnabled
- the new rotate translate scalablevoid setRotateTranslateScalable(boolean isEnabled, boolean attachToParent, ContentItem targetItem)
isEnabled
- the is enabledattachToParent
- the attach to parenttargetItem
- the target itemvoid setScaleLimit(float min, float max)
min
- the minmax
- the maxvoid setSingleTouchRotateTranslate(boolean isEnabled) throws java.lang.Exception
isEnabled
- the new single touch rotate translate
java.lang.Exception
- the exceptionvoid setSnapable(boolean isEnabled)
isEnabled
- the new snapablevoid setTolerance(float tolerance)
tolerance
- the new tolerancevoid setZRotateLimit(float min, float max)
min
- the minmax
- the maxvoid turnOffEventDispatcher()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |