Package io.jmix.dynmodelflowui.impl
Record Class ViewComponentTagCapabilities.Capabilities
java.lang.Object
java.lang.Record
io.jmix.dynmodelflowui.impl.ViewComponentTagCapabilities.Capabilities
- Record Components:
click- the component can notify clicksvalueChange- the component holds a value that can change
- Enclosing class:
ViewComponentTagCapabilities
public static record ViewComponentTagCapabilities.Capabilities(boolean click, boolean valueChange)
extends Record
What a tag can be used for. Both flags are
false when the component type could not be
determined, so an unrecognized tag is left out of the dropdown.-
Constructor Summary
ConstructorsConstructorDescriptionCapabilities(boolean click, boolean valueChange) Creates an instance of aCapabilitiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanclick()Returns the value of theclickrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thevalueChangerecord component.
-
Constructor Details
-
Capabilities
public Capabilities(boolean click, boolean valueChange) Creates an instance of aCapabilitiesrecord class.- Parameters:
click- the value for theclickrecord componentvalueChange- the value for thevalueChangerecord 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 with '=='. -
click
public boolean click()Returns the value of theclickrecord component.- Returns:
- the value of the
clickrecord component
-
valueChange
public boolean valueChange()Returns the value of thevalueChangerecord component.- Returns:
- the value of the
valueChangerecord component
-