public interface BooleanDatumFunction
Instances of this function are mainly used with mutator functions of Selection
.
Modifier and Type | Method and Description |
---|---|
boolean |
apply(com.google.gwt.dom.client.Element context,
Value d,
int index)
Apply the function for the given
Element at the specified index
of the Selection mapped to the given Datum . |
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 © 2017 gwt-d3. All rights reserved.