Record Class Control.ContainerContext
java.lang.Object
java.lang.Record
org.dellroad.javabox.Control.ContainerContext
- Record Components:
box- The associatedJavaBoxcontrol- The associatedControlcontext- TheControl's per-container private state
- Enclosing interface:
Control
-
Constructor Summary
ConstructorsConstructorDescriptionContainerContext(JavaBox box, Control control, Object context) Creates an instance of aContainerContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbox()Returns the value of theboxrecord component.context()Returns the value of thecontextrecord component.control()Returns the value of thecontrolrecord 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.
-
Constructor Details
-
ContainerContext
-
-
Method Details
-
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). -
box
-
control
-
context
-