public interface WiresShape
Modifier and Type | Method and Description |
---|---|
void |
addControl(com.ait.lienzo.client.core.shape.Group ctrl)
Add a Control to the WiresShape
|
boolean |
contains(double cx,
double cy)
Check whether the Shape contains a point
|
void |
destroy()
Destroy the shape and any related components
|
String |
getId()
Get UUID for Shape
|
void |
hideControls()
Hide Controls related to this WiresShape
|
boolean |
isControlsVisible()
Are the Controls associated with this WireShape visible
|
void |
removeControl(com.ait.lienzo.client.core.shape.Group ctrl)
Remove a Control from the WiresShape
|
void |
setControls(List<com.ait.lienzo.client.core.shape.Group> controls)
Set the Controls for the WiresShape
|
void |
setSelected(boolean isSelected)
Select the shape.
|
void |
showControls()
Show Controls related to this WiresShape
|
String getId()
void setSelected(boolean isSelected)
void destroy()
boolean contains(double cx, double cy)
cx
- Canvas X coordinatecy
- Canvas Y coordinatevoid addControl(com.ait.lienzo.client.core.shape.Group ctrl)
ctrl
- void removeControl(com.ait.lienzo.client.core.shape.Group ctrl)
ctrl
- void setControls(List<com.ait.lienzo.client.core.shape.Group> controls)
controls
- void showControls()
void hideControls()
boolean isControlsVisible()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.