PopupIterator

Represents popup iterator.

Functions

Link copied to clipboard
Returns whether this popup always checks condition.
Link copied to clipboard
abstract fun available(): Boolean
Checks this popup is available.
Link copied to clipboard
abstract fun canSave(): Boolean
Returns this popup can save.
Link copied to clipboard
abstract fun compareTo(p: T): Int
Link copied to clipboard
abstract fun getIndex(): Int
Gets the index of iterator.
Link copied to clipboard
@NotNull
abstract fun getKey(): @NotNull Any
Returns key.
Link copied to clipboard
abstract fun getMaxIndex(): Int
Gets the max index of iterator.
Link copied to clipboard
abstract fun getPriority(): Int
Gets priority
Link copied to clipboard
@NotNull
abstract fun getSortType(): @NotNull PopupSortType
Returns sort type.
Link copied to clipboard
@NotNull
abstract fun getUUID(): @NotNull UUID
Returns uuid.
Link copied to clipboard
abstract fun isUnique(): Boolean
Returns whether this iterator is unique
Link copied to clipboard
abstract fun markedAsRemoval(): Boolean
Returns whether this popup is marked as removal.
Link copied to clipboard
@NotNull
abstract fun name(): @NotNull String
Gets name.
Link copied to clipboard
@NotNull
@Unmodifiable
abstract fun next(): @NotNull @Unmodifiable List<WidthComponent>
Iterates this and returns next value.
Link copied to clipboard
@NotNull
abstract fun parent(): @NotNull Popup
Returns parent popup.
Link copied to clipboard
abstract fun push(): Boolean
When added, this iterator will reduce all iterator's index when true.
Link copied to clipboard
abstract fun remove()
Removes this iterator
Link copied to clipboard
abstract fun setIndex(index: Int)
Sets the index of iterator.
Link copied to clipboard
abstract fun setPriority(priority: Int)
Sets priority