public final class NodeReshapeHandles extends AbstractReshapeHandleProvider
| Constructor and Description |
|---|
NodeReshapeHandles(IReshapeHandler handler,
HandlePositions handlePositions,
INode item) |
| Modifier and Type | Method and Description |
|---|---|
IHandle |
getHandle(IInputModeContext inputModeContext,
HandlePositions position)
Provides a
IHandle that uses the rectangle and reshapeable instance bound to this instance to perform the actual
reshaping. |
getAvailableHandles, getHandlePositions, getMaximumSize, getMinimumEnclosedArea, getMinimumSize, setHandlePositions, setMaximumSize, setMinimumEnclosedArea, setMinimumSizepublic NodeReshapeHandles(IReshapeHandler handler, HandlePositions handlePositions, INode item)
public IHandle getHandle(IInputModeContext inputModeContext, HandlePositions position)
AbstractReshapeHandleProviderIHandle that uses the rectangle and reshapeable instance bound to this instance to perform the actual
reshaping.
This method may be called for each possible single position contained in the set as returned by
AbstractReshapeHandleProvider.getAvailableHandles(IInputModeContext).
getHandle in interface IReshapeHandleProvidergetHandle in class AbstractReshapeHandleProviderinputModeContext - The context for which the handles are queried.position - The position to provide an instance for.