Klasse Resolver
java.lang.Object
impl.com.flexganttfx.skin.util.Resolver
A utility class to fix the problem of overlapping activities. The resolver
will calculate the positions for each activity.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic <A extends Activity>
ResolverResult<A> Resolves overlapping conflicts for the given activities.static <A extends Activity>
ResolverResult<A> Resolves overlapping conflicts for the given activities.
-
Methodendetails
-
resolve
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 activitiesfilter- a predicate to determine which activities will be considered at all for the resolution strategy- Gibt zurück:
- the resolving result
- Seit:
- 1.4
-