Record Class ReorderItemSupport.BindingSource
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.mvvm.binders.swing.util.ReorderItemSupport.BindingSource
- Enclosing class:
- ReorderItemSupport<T>
public static record ReorderItemSupport.BindingSource(Runnable moveSelectionUp, Runnable moveSelectionDown, PropertyPublisherReadOnly<Boolean> upEnabled, PropertyPublisherReadOnly<Boolean> downEnabled)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBindingSource(Runnable moveSelectionUp, Runnable moveSelectionDown, PropertyPublisherReadOnly<Boolean> upEnabled, PropertyPublisherReadOnly<Boolean> downEnabled) Creates an instance of aBindingSourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedownEnabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themoveSelectionDownrecord component.Returns the value of themoveSelectionUprecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupEnabledrecord component.
-
Constructor Details
-
BindingSource
public BindingSource(Runnable moveSelectionUp, Runnable moveSelectionDown, PropertyPublisherReadOnly<Boolean> upEnabled, PropertyPublisherReadOnly<Boolean> downEnabled) Creates an instance of aBindingSourcerecord class.- Parameters:
moveSelectionUp- the value for themoveSelectionUprecord componentmoveSelectionDown- the value for themoveSelectionDownrecord componentupEnabled- the value for theupEnabledrecord componentdownEnabled- the value for thedownEnabledrecord component
-
-
Method Details
-
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). -
moveSelectionUp
Returns the value of themoveSelectionUprecord component.- Returns:
- the value of the
moveSelectionUprecord component
-
moveSelectionDown
Returns the value of themoveSelectionDownrecord component.- Returns:
- the value of the
moveSelectionDownrecord component
-
upEnabled
Returns the value of theupEnabledrecord component.- Returns:
- the value of the
upEnabledrecord component
-
downEnabled
Returns the value of thedownEnabledrecord component.- Returns:
- the value of the
downEnabledrecord component
-