public class OffsetEdgeLabelOnDragPolicy extends AbstractFXOnDragPolicy
OffsetEdgeLabelOnDragPolicy is an AbstractFXOnDragPolicy
that can be installed on EdgeLabelParts (see getHost()). It
moves its host when the host is
dragged.| Constructor and Description |
|---|
OffsetEdgeLabelOnDragPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
drag(javafx.scene.input.MouseEvent e,
Dimension delta) |
EdgeLabelPart |
getHost() |
void |
press(javafx.scene.input.MouseEvent e) |
void |
release(javafx.scene.input.MouseEvent e,
Dimension delta) |
commit, disableRefreshVisuals, enableRefreshVisuals, getAdaptable, init, setAdaptablepublic void drag(javafx.scene.input.MouseEvent e,
Dimension delta)
drag in class AbstractFXOnDragPolicypublic EdgeLabelPart getHost()
getHost in interface IPolicy<javafx.scene.Node>getHost in class AbstractPolicy<javafx.scene.Node>public void press(javafx.scene.input.MouseEvent e)
press in class AbstractFXOnDragPolicypublic void release(javafx.scene.input.MouseEvent e,
Dimension delta)
release in class AbstractFXOnDragPolicyCopyright (c) 2014 itemis AG and others. All rights reserved.