Interface CompositeByteArray.CursorListener
- Enclosing class:
CompositeByteArray
public static interface CompositeByteArray.CursorListener
Allows for efficient detection of component boundaries when using a cursor.
TODO: Is this interface right?
-
Method Summary
Modifier and TypeMethodDescriptionvoidenteredFirstComponent(int componentIndex, ByteArray component) Called when the first component in the composite is entered by the cursor.voidenteredLastComponent(int componentIndex, ByteArray component) Called when the last component in the composite is entered by the cursor.voidenteredNextComponent(int componentIndex, ByteArray component) Called when the next component in the composite is entered by the cursor.voidenteredPreviousComponent(int componentIndex, ByteArray component) Called when the previous component in the composite is entered by the cursor.
-
Method Details
-
enteredFirstComponent
Called when the first component in the composite is entered by the cursor.- Parameters:
componentIndex- The component positioncomponent- The component to use
-
enteredNextComponent
Called when the next component in the composite is entered by the cursor.- Parameters:
componentIndex- The component positioncomponent- The component to use
-
enteredPreviousComponent
Called when the previous component in the composite is entered by the cursor.- Parameters:
componentIndex- The component positioncomponent- The component to use
-
enteredLastComponent
Called when the last component in the composite is entered by the cursor.- Parameters:
componentIndex- The component positioncomponent- The component to use
-