Package gg.xp.xivsupport.timelines
Class CustomTimelineLabel
java.lang.Object
gg.xp.xivsupport.timelines.CustomTimelineLabel
- All Implemented Interfaces:
CustomTimelineItem,TimelineEntry,Comparable<TimelineEntry>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancallout()doublestatic CustomTimelineLabelcloneFor(TimelineEntry other) @Nullable Doubleduration()An optional duration for the bar to be in "active" state as opposed to immediately becoming "in the past" when its time arrives.booleanenabled()boolean@Nullable EventSyncController@Nullable StringinthashCode()booleanisLabel()@Nullable Doublejump()An optional time to jump to.@Nullable StringSame asTimelineEntry.jump(), but takes a 'label' to jump to instead of a raw time.@Nullable Stringname()The name of this timeline entry.static CustomTimelineLabeloverrideFor(TimelineEntry item) voidsetImportSource(@Nullable String importSource) @Nullable Patternsync()ACT parsed line regex to sync todoubletime()The time of this timeline entry@NotNull TimelineWindowThe relative window in which this entry can be synced toMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gg.xp.xivsupport.timelines.TimelineEntry
canSync, compareTo, effectiveCalloutTime, enabledForJob, eventSyncType, forceJump, getAllTextEntries, getMaxTime, getMinTime, getSyncToTime, hasEventSync, icon, isImported, makeTriggerJs, makeTriggerTimelineEntries, replaces, shouldSupersede, shouldSync, shouldSync, toString, toTextFormat, untranslated
-
Field Details
-
time
public double time -
name
-
importSource
-
-
Constructor Details
-
CustomTimelineLabel
public CustomTimelineLabel()
-
-
Method Details
-
overrideFor
-
isLabel
public boolean isLabel()- Specified by:
isLabelin interfaceTimelineEntry- Returns:
- true if this entry is a label
-
eventSyncController
- Specified by:
eventSyncControllerin interfaceTimelineEntry
-
time
public double time()Description copied from interface:TimelineEntryThe time of this timeline entry- Specified by:
timein interfaceTimelineEntry- Returns:
- The timeline entry's time
-
name
Description copied from interface:TimelineEntryThe name of this timeline entry.For most entries, this is the displayed name. For labels, it is the label name. For triggers, it is the text that will be displayed on-screen.
- Specified by:
namein interfaceTimelineEntry- Returns:
- The name
-
sync
Description copied from interface:TimelineEntryACT parsed line regex to sync to- Specified by:
syncin interfaceTimelineEntry- Returns:
- The sync pattern
-
duration
Description copied from interface:TimelineEntryAn optional duration for the bar to be in "active" state as opposed to immediately becoming "in the past" when its time arrives.- Specified by:
durationin interfaceTimelineEntry- Returns:
- The optional duration
-
timelineWindow
Description copied from interface:TimelineEntryThe relative window in which this entry can be synced to- Specified by:
timelineWindowin interfaceTimelineEntry- Returns:
- The sync window
-
jump
Description copied from interface:TimelineEntryAn optional time to jump to. IfTimelineEntry.forceJump()is false, this line must have its sync conditions hit (i.e. we are syncing onto this line). If forceJump is true, then the jump will also happen if this timeline entry's time is hit.- Specified by:
jumpin interfaceTimelineEntry- Returns:
- The jump time.
- See Also:
-
jumpLabel
Description copied from interface:TimelineEntrySame asTimelineEntry.jump(), but takes a 'label' to jump to instead of a raw time.- Specified by:
jumpLabelin interfaceTimelineEntry- Returns:
- The jump label
- See Also:
-
enabled
public boolean enabled()- Specified by:
enabledin interfaceTimelineEntry- Returns:
- Whether this entry is enabled
-
callout
public boolean callout()- Specified by:
calloutin interfaceTimelineEntry- Returns:
- True if this entry is also a timeline trigger.
-
calloutPreTime
public double calloutPreTime()- Specified by:
calloutPreTimein interfaceTimelineEntry- Returns:
- The amount of time before this entry's
TimelineEntry.time()that the trigger should fire
-
equals
-
hashCode
public int hashCode() -
cloneFor
-
setImportSource
- Specified by:
setImportSourcein interfaceCustomTimelineItem
-
getImportSource
- Specified by:
getImportSourcein interfaceTimelineEntry
-