Class AnnotationListener
-
- All Implemented Interfaces:
@Immutable() public final class AnnotationListener
Wrapper for holding AnnotationListener callbacks
-
-
Field Summary
Fields Modifier and Type Field Description private final Function3<AnnotationSelectionController, Annotation, Boolean, Boolean>
onPrepareAnnotationSelection
private final Function2<Annotation, Boolean, Unit>
onAnnotationSelected
private final Function2<List<Annotation>, Boolean, Unit>
onAnnotationSelectionFinished
private final Function2<Annotation, Boolean, Unit>
onAnnotationDeselected
-
Constructor Summary
Constructors Constructor Description AnnotationListener(Function3<AnnotationSelectionController, Annotation, Boolean, Boolean> onPrepareAnnotationSelection, Function2<Annotation, Boolean, Unit> onAnnotationSelected, Function2<List<Annotation>, Boolean, Unit> onAnnotationSelectionFinished, Function2<Annotation, Boolean, Unit> onAnnotationDeselected)
-
Method Summary
Modifier and Type Method Description final Function3<AnnotationSelectionController, Annotation, Boolean, Boolean>
getOnPrepareAnnotationSelection()
final Function2<Annotation, Boolean, Unit>
getOnAnnotationSelected()
final Function2<List<Annotation>, Boolean, Unit>
getOnAnnotationSelectionFinished()
final Function2<Annotation, Boolean, Unit>
getOnAnnotationDeselected()
-
-
Constructor Detail
-
AnnotationListener
AnnotationListener(Function3<AnnotationSelectionController, Annotation, Boolean, Boolean> onPrepareAnnotationSelection, Function2<Annotation, Boolean, Unit> onAnnotationSelected, Function2<List<Annotation>, Boolean, Unit> onAnnotationSelectionFinished, Function2<Annotation, Boolean, Unit> onAnnotationDeselected)
-
-
Method Detail
-
getOnPrepareAnnotationSelection
final Function3<AnnotationSelectionController, Annotation, Boolean, Boolean> getOnPrepareAnnotationSelection()
-
getOnAnnotationSelected
final Function2<Annotation, Boolean, Unit> getOnAnnotationSelected()
-
getOnAnnotationSelectionFinished
final Function2<List<Annotation>, Boolean, Unit> getOnAnnotationSelectionFinished()
-
getOnAnnotationDeselected
final Function2<Annotation, Boolean, Unit> getOnAnnotationDeselected()
-
-
-
-