documentationfor yFiles for HTML 3.0.0.3

Usages of IHitTestable

Properties

validClickHitTestablein ClickInputModeGets or sets a hit test that determines where this mode should recognize clicks.
validClickHitTestableTouchin ClickInputModeGets or sets a hit test that determines where this mode should recognize click events that were caused by touch input.
validMenuLocationHitTestablein ContextMenuInputModeGets or sets an IHitTestable that determines whether it is valid to open a context menu at the queried position.
beginHitTestablein CreateBendInputModeGets or sets the IHitTestable that determines where bends may be created.
beginHitTestablein CreateEdgeInputModeGets or sets a IHitTestable that determines whether it is valid to start an edge creation gesture here.
endHitTestablein CreateEdgeInputModeGets or sets a IHitTestable that determines whether it is valid to finish an edge creation gesture here if valid IPortCandidates are available.
prematureEndHitTestablein CreateEdgeInputModeGets or sets a IHitTestable that determines whether it is valid to finish an edge creation gesture here even if no IPortCandidates are available.
showStartPortCandidatesHitTestablein CreateEdgeInputModeGets or sets a IHitTestable that determines whether to show start port candidates if the cursor hovers over the provided location.
validBendHitTestablein CreateEdgeInputModeGets or sets a IHitTestable that determines whether it is valid to create a bend here.
validDropHitTestablein DropInputModeGets or sets the IHitTestable that determines whether the given location is a valid drop location.
hitTestablein MoveInputModeGets or sets the IHitTestable that will be used by this mode to determine where the user may start dragging.
validHoverLocationHitTestablein ToolTipInputModeGets or sets an IHitTestable that determines where the mouse may hover and a tooltip can be shown.

Fields

MOVE_SELECTED_ITEMS_HIT_TESTABLEin GraphEditorInputModeAn IHitTestable that tests if any selected model item that is movable is hit.
MOVE_UNSELECTED_ITEMS_HIT_TESTABLEin GraphEditorInputModeAn IHitTestable that tests if any model item that is movable is hit.
ALWAYSin IHitTestableAn IHitTestable that always returns true.
NEVERin IHitTestableAn IHitTestable that always returns false.

Method Return Values

getHitTestable (HandlesRenderTag)in HandlesRenderer
getHitTestable ()in IClickListenerGets an IHitTestable that can be used to check if onClicked should be invoked.
create (function(IInputModeContext, Point):boolean)in IHitTestableWraps a hit testable handler into an IHitTestable interface.
getFarBorderHitTestable ()in IStripeHitTestHelperReturn a IHitTestable that should report hits on the far border region of the stripe.
getLeadingHeaderHitTestable ()in IStripeHitTestHelperReturn an IHitTestable that should report hits on the leading header region of the stripe.
getNearBorderHitTestable ()in IStripeHitTestHelperReturn an IHitTestable that should report hits on the near border region of the stripe.
getStripeHitTestable ()in IStripeHitTestHelperReturn an IHitTestable that should report hits on the whole stripe.
getTrailingHeaderHitTestable ()in IStripeHitTestHelperReturn an IHitTestable that should report hits on the trailing header region of the stripe.
getHitTestable (IEdge, IEdgeStyle)in IEdgeStyleRendererGets an implementation of the IHitTestable interface that can handle the provided edge and its associated style.
getHitTestable (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the IHitTestable interface that can handle the provided label and its associated style.
getHitTestable (INode, INodeStyle)in INodeStyleRendererGets an implementation of the IHitTestable interface that can handle the provided node and its associated style.
getHitTestable (IPort, IPortStyle)in IPortStyleRendererGets an implementation of the IHitTestable interface that can handle the provided port and its associated style.
getHitTestable (IEdge)in EdgeStyleIndicatorRenderer
getHitTestable (IGraph)in GraphOverviewRenderer
getHitTestable (GridInfo)in GridRenderer
getHitTestable (TRenderTag)in IObjectRendererReturns an implementation of IHitTestable that can determine whether the rendering of the render tag has been hit at a given coordinate.
getHitTestable (ILabel)in LabelStyleIndicatorRenderer
getHitTestable (INode)in NodeStyleIndicatorRenderer
getHitTestable (TRenderTag)in ObjectRendererBase
getHitTestable (PortCandidateRenderTag)in PortCandidateRenderer
getHitTestable (IPort)in PortStyleIndicatorRenderer

Method Parameters

ClickInputMode ()in ClickInputModeCreates a new instance of this mode that detects left mouse clicks.
ContextMenuInputMode ()in ContextMenuInputModeInitializes a new instance of the ContextMenuInputMode class.
CreateBendInputMode ()in CreateBendInputModeCreates a new instance that will use the IGraph from the parentInputModeContext to create bends in.
CreateEdgeInputMode ()in CreateEdgeInputModeCreates a new instance that will use the IGraph from the parentInputModeContext to create edges in.
DropInputMode (string, )in DropInputModeInitializes a new instance of the DropInputMode class for the given data type.
ItemDropInputMode (string, )in ItemDropInputModeInitializes a new instance of the ItemDropInputMode<T> class for the given data type.
LabelDropInputMode (string, )in LabelDropInputModeInitializes a new instance of the LabelDropInputMode class for the given data type.
MoveInputMode ()in MoveInputModeInitializes a new instance of the MoveInputMode class.
NodeDropInputMode (string, )in NodeDropInputModeInitializes a new instance of the NodeDropInputMode class for the given data type.
PortDropInputMode (string, )in PortDropInputModeInitializes a new instance of the PortDropInputMode class for the given data type.
ReparentStripeInputMode ()in ReparentStripeInputMode
StripeDropInputMode (string, )in StripeDropInputModeInitializes a new instance of the StripeDropInputMode class for the given data type.
ToolTipInputMode ()in ToolTipInputModeCreates a new instance using the provided optional text provider.