Klasse Resolver

java.lang.Object
impl.com.flexganttfx.skin.util.Resolver

public final class Resolver extends Object
A utility class to fix the problem of overlapping activities. The resolver will calculate the positions for each activity.
  • Methodendetails

    • resolve

      public static <A extends Activity> ResolverResult<A> resolve(List<A> activities)
      Resolves overlapping conflicts for the given activities.
      Typparameter:
      A - the activity type
      Parameter:
      activities - the activities
      Gibt zurück:
      the resolving result
    • resolve

      public static <A extends Activity> ResolverResult<A> resolve(List<A> activities, Predicate<A> filter)
      Resolves overlapping conflicts for the given activities.
      Typparameter:
      A - the activity type
      Parameter:
      activities - the activities
      filter - a predicate to determine which activities will be considered at all for the resolution strategy
      Gibt zurück:
      the resolving result
      Seit:
      1.4