Package net.mcreator.ui.component
Record Class CollapsibleDockPanel.State
java.lang.Object
java.lang.Record
net.mcreator.ui.component.CollapsibleDockPanel.State
- Enclosing class:
CollapsibleDockPanel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapply(CollapsibleDockPanel.State state, CollapsibleDockPanel collapsibleDockPanel) Returns the value of thedockSizesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpandedDockrecord component.static CollapsibleDockPanel.Stateget(CollapsibleDockPanel collapsibleDockPanel) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
State
Creates an instance of aStaterecord class.- Parameters:
expandedDock- the value for theexpandedDockrecord componentdockSizes- the value for thedockSizesrecord component
-
-
Method Details
-
get
-
apply
public static void apply(@Nullable CollapsibleDockPanel.State state, CollapsibleDockPanel collapsibleDockPanel) -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
expandedDock
Returns the value of theexpandedDockrecord component.- Returns:
- the value of the
expandedDockrecord component
-
dockSizes
Returns the value of thedockSizesrecord component.- Returns:
- the value of the
dockSizesrecord component
-