TimelineBuilders.TimelineEntry
public final class TimelineBuilders.TimelineEntry
One piece of renderable content along with the time that it is valid for.
Summary
Nested types |
|---|
public final class TimelineBuilders.TimelineEntry.BuilderBuilder for |
Public methods |
|
|---|---|
static @NonNull TimelineBuilders.TimelineEntry |
Returns the |
@Nullable LayoutElementBuilders.Layout |
Gets the contents of this timeline entry. |
@Nullable TimelineBuilders.TimeInterval |
Gets the validity period for this timeline entry. |
Public methods
public static @NonNull TimelineBuilders.TimelineEntryfromLayoutElement(
@NonNull LayoutElementBuilders.LayoutElement layoutElement
)
Returns the TimelineEntry object containing the given layout element.
public @Nullable LayoutElementBuilders.LayoutgetLayout()
Gets the contents of this timeline entry. Intended for testing purposes only.
public @Nullable TimelineBuilders.TimeIntervalgetValidity()
Gets the validity period for this timeline entry. Intended for testing purposes only.