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 Summary
ConstructorsConstructorDescriptionFunctionShape(DiagramController controller, com.google.gwt.user.client.ui.Widget widget) -
Method Summary
Modifier 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.AbstractShape
addConnection, allowSynchronized, asWidget, getConnections, getHeight, getLeft, getTop, getWidth, isSynchronized, removeConnection, setAllowSynchronized
-
Constructor Details
-
FunctionShape
-
-
Method Details
-
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() -
equals
- Overrides:
equalsin classAbstractShape
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractShape
-