Package | Description |
---|---|
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Method and Description |
---|---|
protected StripeReparentPolicy |
ReparentStripePositionHandler.determineGesture(IInputModeContext context,
IPoint location,
IStripe sourceStripe,
StripeSubregion targetSubregion,
RectD targetBounds)
Determine the reparent gesture that would result from the given parameters.
|
static StripeReparentPolicy |
StripeReparentPolicy.fromOrdinal(int ordinal) |
static StripeReparentPolicy |
StripeReparentPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StripeReparentPolicy[] |
StripeReparentPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ReparentStripeHandler.adjustSize(IInputModeContext context,
IStripe stripe,
IStripe newParent,
StripeReparentPolicy reparentPosition,
int index,
double originalStripeSize,
double originalParentSize)
Adjust the size of the source or the target stripe.
|
boolean |
ReparentStripeHandler.isValidParent(IInputModeContext context,
IStripe stripe,
IStripe newParent,
int index,
StripeReparentPolicy reparentPosition)
Checks the constraints imposed by
MaxRowLevel or MaxColumnLevel
for a valid gesture. |
boolean |
IReparentStripeHandler.isValidParent(IInputModeContext context,
IStripe stripe,
IStripe newParent,
int index,
StripeReparentPolicy reparentPosition)
Determines whether the provided node may be reparented to a
newParent . |
void |
ReparentStripeHandler.reparent(IInputModeContext context,
IStripe stripe,
IStripe newParent,
int index,
StripeReparentPolicy reparentPosition)
Performs the actual reparenting after the reparent gesture has been finalized.
|
void |
IReparentStripeHandler.reparent(IInputModeContext context,
IStripe movedStripe,
IStripe newParent,
int index,
StripeReparentPolicy reparentPosition)
Performs the actual reparenting after the reparent gesture has been finalized.
|
protected ICanvasObject |
ReparentStripePositionHandler.updateSourceVisualization(IInputModeContext context,
ICanvasObject targetVisualization,
IStripe targetStripe,
StripeReparentPolicy reparentPosition)
Modifies the source visualization itself.
|
protected ICanvasObject |
ReparentStripePositionHandler.updateTargetVisualization(IInputModeContext context,
ICanvasObject targetVisualization,
IStripe targetStripe,
StripeReparentPolicy reparentPosition,
RectD targetBounds)
Modifies the target visualization itself.
|
protected RectD |
ReparentStripePositionHandler.updateTargetVisualizationBounds(RectD originalTargetBounds,
StripeReparentPolicy reparentPosition,
IStripe targetStripe)
Updates the visualization bounds for the target visualization depending on the provided values.
|