Package | Description |
---|---|
com.github.gwtd3.api | |
com.github.gwtd3.api.behaviour | |
com.github.gwtd3.api.core | |
com.github.gwtd3.api.svg |
Modifier and Type | Method and Description |
---|---|
static Transition |
D3.transition()
Create an animated transition.
|
Modifier and Type | Method and Description |
---|---|
Zoom |
Zoom.event(Transition selection)
Registers the appropriate tweens so that the zoom behavior dispatches
events over the course of the transition: a
Zoom.ZoomEventType.ZOOMSTART event when the transition starts from the
previously-set view, Zoom.ZoomEventType.ZOOM events for each tick of
the transition, and finally a Zoom.ZoomEventType.ZOOMEND event when
the transition ends. |
Modifier and Type | Method and Description |
---|---|
Transition |
Transition.attr(String name,
DatumFunction<?> callback)
Transitions the attribute with the specified name to the value returned
by the specified function on all selected elements.
|
Transition |
Transition.attr(String name,
double value)
See
attr(String, String) . |
Transition |
Transition.attr(String name,
PathDataGenerator value)
Transitions the attribute with the specified name to the specified
PathDataGenerator value on all selected elements. |
<T> Transition |
Transition.attr(String name,
String value)
Transition the attribute with the specified name to the specified value
on all selected elements.
|
Transition |
Transition.attrTween(String name,
TweenFunction<?> tweenFunction)
Transitions the value of the attribute with the specified name according
to the specified tween function.
|
Transition |
Transition.call(IsFunction jsFunction)
Invokes the specified function once, passing in the current transition as
a single parameter.
|
Transition |
Transition.delay(DatumFunction<Integer> func)
Specifies the transition delay of each selected element.
|
Transition |
Transition.delay(int milliseconds)
Specifies the transition delay in milliseconds.
|
Transition |
Transition.duration(DatumFunction<Integer> func)
Specifies per-element duration in milliseconds of all elements, using the
given function.
|
Transition |
Transition.duration(int milliseconds)
Specifies transition duration in milliseconds of all elements.
|
Transition |
Transition.each(DatumFunction<Void> listener)
Behaves similarly to
Selection.each(DatumFunction) : immediately
invokes the specified function for each element in the current
transition, passing in the current datum d and index i, with the this
context of the current DOM element. |
Transition |
Transition.each(Transition.EventType type,
DatumFunction<Void> listener)
Adds a listener for transition events.
|
Transition |
Transition.ease(EasingFunction callback)
Specifies the transition
EasingFunction to be used. |
Transition |
Transition.filter(DatumFunction<com.google.gwt.dom.client.Element> datumFunction)
Filters the transition, returning a new transition that contains only the
elements for which the specified selector is true.
|
Transition |
Transition.filter(String selector)
Filters the transition, returning a new transition that contains only the
elements for which the specified selector is true.
|
Transition |
Transition.remove()
Remove the selected elements at the end of a transition.
|
Transition |
Transition.select(String selector)
For each element in the current selection, selects the first descendant
element that matches the specified selector string.
|
Transition |
Transition.selectAll(String selector)
For each element in the current transition, selects descendant elements
that match the specified selector string.
|
Transition |
Transition.style(String name,
DatumFunction<?> callback)
See
Transition#style(String, T, boolean) . |
Transition |
Transition.style(String name,
double value)
See
Transition#style(String, T, boolean) . |
Transition |
Transition.style(String name,
String value)
Transitions the value of the CSS style property with the specified name
to the specified value.
|
Transition |
Transition.text(DatumFunction<String> callback)
The text operator is based on the textContent property; setting the text
content will replace any existing child elements.
|
<T> Transition |
Transition.text(String value)
The text operator is based on the textContent property; setting the text
content will replace any existing child elements.
|
Transition |
Transition.transition()
Creates a new transition on the same selected elements that starts with
this transition ends.
|
Transition |
Selection.transition()
Starts a
Transition for the current selection. |
Transition |
Transition.tween(String name,
DatumFunction<Interpolator<?>> factory)
Registers a custom tween for the specified name.
|
Modifier and Type | Method and Description |
---|---|
Brush |
Brush.apply(Transition transition)
Draws or redraws this brush into the specified transition of elements.
|
Axis |
Axis.apply(Transition transition)
Apply the axis to a transition.
|
Brush |
Brush.event(Transition transition)
Registers the appropriate tweens so that the brush dispatches events over the course of the
transition: a
Brush.BrushEvent.BRUSH_START event when the transition starts from the previously-set extent,
Brush.BrushEvent.BRUSH events for each
tick of the transition, and finally a Brush.BrushEvent.BRUSH_END event when the transition ends. |
Copyright © 2015 gwt-d3. All rights reserved.