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
ConstructorDescriptionFunctionShape
(DiagramController controller, com.google.gwt.user.client.ui.Widget widget) -
Method Summary
Modifier and TypeMethodDescriptionvoid
draw()
void
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.Widget
void
highlightSelectableArea
(com.orange.links.client.shapes.Point mousePoint) boolean
isMouseNearSelectableArea
(com.orange.links.client.shapes.Point mousePoint) void
setSynchronized
(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 Details
-
FunctionShape
-
-
Method Details
-
getWidget
public com.google.gwt.user.client.ui.Widget getWidget() -
setSynchronized
public void setSynchronized(boolean sync) - Specified by:
setSynchronized
in interfacecom.orange.links.client.shapes.Drawable
- Overrides:
setSynchronized
in 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()
-