public interface BooleanDatumFunction
Instances of this function are mainly used with mutator functions of Selection
.
boolean apply(com.google.gwt.dom.client.Element context, Value d, int index)
Element
at the specified index
of the Selection
mapped to the given Datum
.
Note that if no datum is mapped to the element, Datum#isUndefined()
will return true.
context
- the current element, may be irrelevant or null in some context.d
- the datumindex
- the index of the element in the selectionCopyright © 2016 gwt-d3. All Rights Reserved.