Record Class GuiPseudoElement
java.lang.Object
java.lang.Record
com.render.api.gui.style.GuiPseudoElement
- Record Components:
kind- pseudo-element kindname- optional highlight, transition, or scroll-part name
A standard or named pseudo-element target.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPseudo-element categories supported by the typed selector model. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElementstatic final GuiPseudoElement -
Constructor Summary
ConstructorsConstructorDescriptionGuiPseudoElement(GuiPseudoElement.Kind kind, String name) Creates an instance of aGuiPseudoElementrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static GuiPseudoElementCreates a named text highlight pseudo-element.kind()Returns the value of thekindrecord component.name()Returns the value of thenamerecord component.static GuiPseudoElementscrollButton(String name) static GuiPseudoElementscrollMarker(String name) final StringtoString()Returns a string representation of this record class.booleanReturns whether this pseudo-element creates a tree-abiding generated box.static GuiPseudoElementviewTransitionGroup(String name) static GuiPseudoElementstatic GuiPseudoElementviewTransitionNew(String name) static GuiPseudoElementviewTransitionOld(String name)
-
Field Details
-
BEFORE
-
AFTER
-
MARKER
-
SELECTION
-
PLACEHOLDER
-
BACKDROP
-
CARET
-
SCROLLBAR
-
SCROLLBAR_TRACK
-
SCROLLBAR_THUMB
-
SCROLLBAR_CORNER
-
SCROLL_BUTTON
-
SCROLL_MARKER
-
SCROLL_MARKER_GROUP
-
VIEW_TRANSITION
-
-
Constructor Details
-
Method Details
-
highlight
Creates a named text highlight pseudo-element.- Parameters:
name- highlight name- Returns:
- pseudo-element
-
scrollButton
-
scrollMarker
-
viewTransitionGroup
-
viewTransitionImagePair
-
viewTransitionOld
-
viewTransitionNew
-
treeAbiding
public boolean treeAbiding()Returns whether this pseudo-element creates a tree-abiding generated box.- Returns:
- generated-box flag
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
kind
-
name
-