Class SourceAndIndices
java.lang.Object
com.illumon.iris.gui.widget.dragndrop.SourceAndIndices
The data class for Drag N' Drop within components in this panel.
The included indices and values are parallel arrays.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSourceAndIndices
(Component source, int[] indices, Object[] values) Create a SourceAndIndices for a Drag and Drop action with aRearrangingTransferHandler
-
Method Summary
-
Field Details
-
source
The component that provided the data -
indices
public final int[] indicesThe indices of the provided values in the source -
values
The values provided. Note that this is parallel to 'indices' -
requireCleanup
public boolean requireCleanupAn indicator if the source must clean up after itself
-
-
Constructor Details
-
SourceAndIndices
Create a SourceAndIndices for a Drag and Drop action with aRearrangingTransferHandler
- Parameters:
source
- the component the data comes fromindices
- the indices within the components model of the datavalues
- the values being Drag and Dropped
-