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 Summary
Modifier and TypeMethodDescriptioncombine(TLcdGXYAsynchronousPaintHint.Combinable aOtherProperty) Combine this property with anotherCombinableinstance.
-
Method Details
-
combine
TLcdGXYAsynchronousPaintHint.Combinable combine(TLcdGXYAsynchronousPaintHint.Combinable aOtherProperty) Combine this property with another
Combinableinstance.If for example a
Combinablespecifies the maximal refresh interval of anILcdGXYLayer, and for two instances these intervals are 20ms and 30 ms respectively, the combine method could return aCombinablewhich specifies a maximal refresh interval of 20ms. This way, the timings of bothCombinables are respected.The result of this method should be independent of the order of
thisandaOtherProperty, e.g.A.combine(B)should return anCombinableinstance which is equivalent to theCombinableinstance returned by callingB.combine(A).- Parameters:
aOtherProperty- The otherCombinableinstance- Returns:
- The combined instance, or
nullwhen both instances were not combinable with each other.
-