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 anotherCombinable
instance.
-
Method Details
-
combine
TLcdGXYAsynchronousPaintHint.Combinable combine(TLcdGXYAsynchronousPaintHint.Combinable aOtherProperty) Combine this property with another
Combinable
instance.If for example a
Combinable
specifies the maximal refresh interval of anILcdGXYLayer
, and for two instances these intervals are 20ms and 30 ms respectively, the combine method could return aCombinable
which specifies a maximal refresh interval of 20ms. This way, the timings of bothCombinable
s are respected.The result of this method should be independent of the order of
this
andaOtherProperty
, e.g.A.combine(B)
should return anCombinable
instance which is equivalent to theCombinable
instance returned by callingB.combine(A)
.- Parameters:
aOtherProperty
- The otherCombinable
instance- Returns:
- The combined instance, or
null
when both instances were not combinable with each other.
-