documentationfor yFiles for HTML 2.6

Usages of IReshapeHandler

Properties

reshapeHandlerDecoratorin NodeDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IReshapeHandler type for the INodes this instance has been created for.
wrappedHandlerin ConstrainedReshapeHandlerGets the wrapped handler to which calls will be ultimately delegated.
reshapeHandlerin NodeReshapeHandleProviderGets the reshape handler to delegate the actual reshaping to.
reshapeHandlerin ReshapeHandlerHandleGets the IReshapeHandler instance to write the changes to.
coreHandlerin TableReshapeHandlerGets the core reshape handler wrapped by this instance.

Method Return Values

create ()in IReshapeHandlerCreates an implementation of the interface IReshapeHandler from the given definition.

Method Parameters

ConstrainedReshapeHandler (IReshapeHandler)in ConstrainedReshapeHandlerInitializes a new instance of the ConstrainedReshapeHandler class that delegates to the wrappedHandler.
NodeReshapeHandleProvider (INode, IReshapeHandler, HandlePositions)in NodeReshapeHandleProviderCreates a default instance that provide handles for each of the handlePositions given for the node.
NodeReshapeHandlerHandle (INode, IReshapeHandler, HandlePositions)in NodeReshapeHandlerHandleDefault constructor that creates a handle for the given position to reshape the node using the given reshapeHandler.
ReshapeHandlerHandle (HandlePositions, IReshapeHandler, ISize?, ISize?)in ReshapeHandlerHandleSubclass constructor that creates a handle for the given position using the location instance as the location for the handle.
TableReshapeHandler (IReshapeHandler, INode, ITable)in TableReshapeHandlerCreates a new instance of this Handler which wraps an existing instance of coreHandler and uses table for additional constraints.

Implementing Types

ConstrainedReshapeHandlerAn implementation of the IReshapeHandler interface that can be used to constrain the reshaping of an existing instance conveniently.
TableReshapeHandlerIReshapeHandler implementation that constrains node resizes so that minimum size constraints of an associated ITable are satisfied and which resizes the outer IStripes of such a table when the node is resized.