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
public class FunctionShape extends AbstractShape
Override to remove the change of style tuding selection 
- 
- 
Constructor Summary
Constructors Constructor Description FunctionShape(DiagramController controller, com.google.gwt.user.client.ui.Widget widget) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw()voiddrawHighlight()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)com.google.gwt.user.client.ui.WidgetgetWidget()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.AbstractShape
addConnection, allowSynchronized, asWidget, equals, getConnections, getHeight, getLeft, getTop, getWidth, hashCode, isSynchronized, removeConnection, setAllowSynchronized 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
FunctionShape
public FunctionShape(DiagramController controller, com.google.gwt.user.client.ui.Widget widget)
 
 - 
 
- 
Method Detail
- 
getWidget
public com.google.gwt.user.client.ui.Widget getWidget()
 
- 
setSynchronized
public void setSynchronized(boolean sync)
- Specified by:
 setSynchronizedin interfacecom.orange.links.client.shapes.Drawable- Overrides:
 setSynchronizedin classAbstractShape
 
- 
isMouseNearSelectableArea
public boolean isMouseNearSelectableArea(com.orange.links.client.shapes.Point mousePoint)
 
- 
highlightSelectableArea
public void highlightSelectableArea(com.orange.links.client.shapes.Point mousePoint)
 
- 
getSelectableArea
public 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)
 
- 
drawHighlight
public void drawHighlight()
 
- 
draw
public void draw()
 
 - 
 
 -