Record Class TransferableNodeList
java.lang.Object
java.lang.Record
com.marginallyclever.ro3.apps.nodetreeview.TransferableNodeList
- Record Components:
list- the list of nodes to transfer
- All Implemented Interfaces:
Transferable
A
Transferable that contains a list of Nodes.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTransferableNodeList(List<Node> list) Creates an instance of aTransferableNodeListrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NotNull ObjectgetTransferData(DataFlavor flavor) final inthashCode()Returns a hash code value for this object.booleanisDataFlavorSupported(DataFlavor flavor) list()Returns the value of thelistrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
flavor
-
-
Constructor Details
-
TransferableNodeList
-
-
Method Details
-
getTransferDataFlavors
- Specified by:
getTransferDataFlavorsin interfaceTransferable
-
isDataFlavorSupported
- Specified by:
isDataFlavorSupportedin interfaceTransferable
-
getTransferData
@NotNull public @NotNull Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException - Specified by:
getTransferDatain interfaceTransferable- Throws:
UnsupportedFlavorException
-
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). -
list
-