Interface IBeginEndArgumentPropertyOwner<T>

Type Parameters:
T - visual set data elements type
All Known Implementing Classes:
AbstractRegionVisualSet, ConnectionVisualSet, GanttVisualSet, RangeRegionVisualSet, RegionVisualSet, SlotsVisualSet

public interface IBeginEndArgumentPropertyOwner<T>
Interface of begin/end arguments property owners. Provides a set of methods corresponding to it. Used for visuals that have a numerical extent on the x-axis.
Author:
Aleksey Kirillov
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the begin X-axis argument of the visual corresponding to the given element.
    double
    getEndArgument(T element)
    Returns the end X-axis argument of the visual corresponding to the given element.
  • Method Details

    • getBeginArgument

      double getBeginArgument(T element)
      Returns the begin X-axis argument of the visual corresponding to the given element.
      Parameters:
      element - data element for which the begin argument is being checked
      Returns:
      the begin X-axis argument of the visual corresponding to the given element
    • getEndArgument

      double getEndArgument(T element)
      Returns the end X-axis argument of the visual corresponding to the given element.
      Parameters:
      element - data element for which the end argument is being checked
      Returns:
      the end X-axis argument of the visual corresponding to the given element