Interface TLcdGXYAsynchronousPaintHint.Combinable

All Known Implementing Classes:
TLcdGXYAsynchronousPaintHint.Choice, TLcdGXYAsynchronousPaintHint.EqualsCombinable, TLcdGXYAsynchronousPaintHint.Range
Enclosing class:
TLcdGXYAsynchronousPaintHint

public static interface TLcdGXYAsynchronousPaintHint.Combinable
Interface allowing to combine two properties into a new property instance. Such combinable properties can be added as a property to a TLcdGXYAsynchronousPaintHint (see getProperties()).
  • Method Details

    • combine

      Combine this property with another Combinable instance.

      If for example a Combinable specifies the maximal refresh interval of an ILcdGXYLayer, and for two instances these intervals are 20ms and 30 ms respectively, the combine method could return a Combinable which specifies a maximal refresh interval of 20ms. This way, the timings of both Combinables are respected.

      The result of this method should be independent of the order of this and aOtherProperty, e.g. A.combine(B) should return an Combinable instance which is equivalent to the Combinable instance returned by calling B.combine(A).

      Parameters:
      aOtherProperty - The other Combinable instance
      Returns:
      The combined instance, or null when both instances were not combinable with each other.