Packagecom.yworks.graph.model
Interfacepublic interface IStripeHitTestHelper

Helper interface that allows to bundle IHitTestable implementations for the main regions of a IStripe instance.

The default IRow and IColumn implementations provide default implementations of this interface.

See also

com.yworks.canvas.drawing.IHitTestable
IStripe
IRow
IColumn


Public Methods
 MethodDefined By
  
Return a IHitTestable that should report hits on the far border region of the stripe.
IStripeHitTestHelper
  
Return a IHitTestable that should report hits on the leading header region of the stripe.
IStripeHitTestHelper
  
Return a IHitTestable that should report hits on the near border region of the stripe.
IStripeHitTestHelper
  
Return a IHitTestable that should report hits on the whole stripe.
IStripeHitTestHelper
  
Return a IHitTestable that should report hits on the header region of the stripe.
IStripeHitTestHelper
Method Detail
getFarBorderHitTestable()method
public function getFarBorderHitTestable():IHitTestable

Return a IHitTestable that should report hits on the far border region of the stripe.

The far border is the region that is used for the resize gesture in ResizeStripeInputMode to expand the stripe to the bottom or the right. This is typically the bottom border for an IRow instance and the right border for an IColumn.

Returns
IHitTestable — A IHitTestable that should report hits on the far border region of the stripe.

See also

getLeadingHeaderHitTestable()method 
public function getLeadingHeaderHitTestable():IHitTestable

Return a IHitTestable that should report hits on the leading header region of the stripe.

The leading header is the region that is used by default for click selection and as start location for a stripe drag. Typically, this is the area occupied by the left insets for an IRow instance and by the top insets for an IColumn instance.

Returns
IHitTestable — A IHitTestable that should report hits on the header region of the stripe.

See also

getNearBorderHitTestable()method 
public function getNearBorderHitTestable():IHitTestable

Return a IHitTestable that should report hits on the near border region of the stripe.

The near border is the region that is used for the resize gesture in ResizeStripeInputMode to expand the stripe to the top or the left. This is typically the upper border for an IRow instance and the left border for an IColumn.

Returns
IHitTestable — A IHitTestable that should report hits on the near border region of the stripe.

See also

getStripeHitTestable()method 
public function getStripeHitTestable():IHitTestable

Return a IHitTestable that should report hits on the whole stripe.

Returns
IHitTestable — A IHitTestable that should report hits on the whole stripe.

See also

getTrailingHeaderHitTestable()method 
public function getTrailingHeaderHitTestable():IHitTestable

Return a IHitTestable that should report hits on the header region of the stripe.

The trailing header is the region that is used by default for click selection and as start location for a stripe drag. Typically, this is the area occupied by the right insets for an IRow instance and by the bottom insets for an IColumn instance.

Returns
IHitTestable — A IHitTestable that should report hits on the header region of the stripe.

See also