Package com.orange.links.client.shapes
Class FunctionShape
java.lang.Object
com.orange.links.client.shapes.AbstractShape
com.orange.links.client.shapes.FunctionShape
- All Implemented Interfaces:
- com.orange.links.client.shapes.Drawable,- com.orange.links.client.shapes.Shape
Override to remove the change of style tuding selection
- 
Constructor SummaryConstructorsConstructorDescriptionFunctionShape(DiagramController controller, com.google.gwt.user.client.ui.Widget widget) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddraw()voidbooleancom.orange.links.client.utils.Couple<com.orange.links.client.utils.Direction, com.orange.links.client.shapes.Point> getSelectableArea(com.orange.links.client.shapes.Point p) com.google.gwt.user.client.ui.WidgetinthashCode()voidhighlightSelectableArea(com.orange.links.client.shapes.Point mousePoint) booleanisMouseNearSelectableArea(com.orange.links.client.shapes.Point mousePoint) voidsetSynchronized(boolean sync) Methods inherited from class com.orange.links.client.shapes.AbstractShapeaddConnection, allowSynchronized, asWidget, getConnections, getHeight, getLeft, getTop, getWidth, isSynchronized, removeConnection, setAllowSynchronized
- 
Constructor Details- 
FunctionShape
 
- 
- 
Method Details- 
getWidgetpublic com.google.gwt.user.client.ui.Widget getWidget()
- 
setSynchronizedpublic void setSynchronized(boolean sync) - Specified by:
- setSynchronizedin interface- com.orange.links.client.shapes.Drawable
- Overrides:
- setSynchronizedin class- AbstractShape
 
- 
isMouseNearSelectableAreapublic boolean isMouseNearSelectableArea(com.orange.links.client.shapes.Point mousePoint) 
- 
highlightSelectableAreapublic void highlightSelectableArea(com.orange.links.client.shapes.Point mousePoint) 
- 
getSelectableAreapublic com.orange.links.client.utils.Couple<com.orange.links.client.utils.Direction,com.orange.links.client.shapes.Point> getSelectableArea(com.orange.links.client.shapes.Point p) 
- 
drawHighlightpublic void drawHighlight()
- 
drawpublic void draw()
- 
equals- Overrides:
- equalsin class- AbstractShape
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- AbstractShape
 
 
-