public class D3
extends com.google.gwt.core.client.JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
D3() |
Modifier and Type | Method and Description |
---|---|
D3 |
append(String tagName) |
String |
attr(String property) |
D3 |
attr(String propName,
double value) |
D3 |
attr(String attrName,
Func<?,?> func) |
D3 |
attr(String propName,
int value) |
D3 |
attr(String propName,
com.google.gwt.core.client.JavaScriptObject func) |
D3 |
attr(String propName,
String value) |
D3 |
attrTween(String attrName,
Func<?,?> func) |
D3 |
attrTweenZoom(String string,
GWTBoundingBox boundingBox,
GWTBoundingBox oldBBox,
int width,
int height) |
D3 |
call(D3Behavior behavior)
Takes a D3Behavior and returns the current selection passed into the run method
|
D3 |
call(com.google.gwt.core.client.JavaScriptObject behavior) |
D3 |
create(D3Behavior behavior)
Create is intended to be used with enter methods.
|
static D3 |
d3() |
<T extends com.google.gwt.core.client.JavaScriptObject> |
data() |
D3 |
data(com.google.gwt.core.client.JsArray<?> array) |
<T extends com.google.gwt.core.client.JavaScriptObject> |
data(com.google.gwt.core.client.JsArray<T> data,
Func<?,T> func) |
D3 |
delay(int delayInMilliSeconds) |
static com.google.gwt.core.client.JavaScriptObject |
drag() |
D3 |
duration(int duration) |
D3 |
each(D3Events.Handler<?> handler) |
D3 |
each(com.google.gwt.core.client.JavaScriptObject f) |
void |
each(String type,
AnonymousFunc func)
Only used for transitions
|
D3 |
enter() |
static boolean |
eventDefaultPrevented() |
static void |
eventPreventDefault() |
D3 |
exit() |
D3Brush |
getBrush() |
static D3Drag |
getDragBehavior() |
static com.google.gwt.dom.client.Element |
getElement(D3 selection,
int index) |
static com.google.gwt.dom.client.NativeEvent |
getEvent() |
static com.google.gwt.core.client.JsArrayNumber |
getMouse(D3 select) |
static com.google.gwt.core.client.JsArrayInteger |
getMouse(com.google.gwt.dom.client.Element elem) |
static D3Transform |
getTransform(String transform) |
void |
html(Func<?,?> func) |
void |
html(String html) |
void |
injectSVGDef(String file)
HTTP GET the provided file and append it to the dom element "defs".
|
int |
length() |
D3 |
on(String event,
D3Events.Handler<?> handler) |
static com.google.gwt.core.client.JavaScriptObject |
property(String propertName) |
D3 |
remove() |
D3Scale |
scale() |
D3 |
select(com.google.gwt.dom.client.Element elem) |
D3 |
select(String elementId) |
D3 |
selectAll(String selectionName) |
com.google.gwt.dom.client.Element |
selectElement(String selector) |
String |
style(String style) |
D3 |
style(String styleName,
Func<String,?> func) |
D3 |
style(String styleName,
String value) |
D3 |
styleTween(String name,
Tween<?,?> t) |
D3 |
text(Func<String,?> func) |
D3 |
text(com.google.gwt.core.client.JavaScriptObject textFunc) |
D3 |
text(String t) |
void |
timer() |
void |
timer(BooleanFunc func) |
D3 |
transition() |
D3 |
update() |
D3 |
with(D3Behavior behavior)
Takes a D3Behavior and returns the resulting selection
|
void |
xml(String iconUrl,
String mimeType,
D3Events.XMLHandler<?> handler) |
void |
zoomTransition(D3 selection,
int width,
int height,
com.google.gwt.core.client.JsArrayInteger p0,
com.google.gwt.core.client.JsArrayInteger p1) |
public final com.google.gwt.dom.client.Element selectElement(String selector)
public static final com.google.gwt.dom.client.Element getElement(D3 selection, int index)
public final D3 select(com.google.gwt.dom.client.Element elem)
public final D3 attrTweenZoom(String string, GWTBoundingBox boundingBox, GWTBoundingBox oldBBox, int width, int height)
public final void html(Func<?,?> func)
public final void html(String html)
public final void zoomTransition(D3 selection, int width, int height, com.google.gwt.core.client.JsArrayInteger p0, com.google.gwt.core.client.JsArrayInteger p1)
public final void timer(BooleanFunc func)
public final void timer()
public final D3 data(com.google.gwt.core.client.JsArray<?> array)
public final D3 enter()
public final D3 update()
public final D3Scale scale()
public final D3 transition()
public final D3 duration(int duration)
public final D3 delay(int delayInMilliSeconds)
public final D3 exit()
public final D3 remove()
public final <T extends com.google.gwt.core.client.JavaScriptObject> D3 data(com.google.gwt.core.client.JsArray<T> data, Func<?,T> func)
public final <T extends com.google.gwt.core.client.JavaScriptObject> com.google.gwt.core.client.JsArray<T> data()
public final D3 text(com.google.gwt.core.client.JavaScriptObject textFunc)
public final D3 each(D3Events.Handler<?> handler)
public final D3 each(com.google.gwt.core.client.JavaScriptObject f)
public final void each(String type, AnonymousFunc func)
type
- handler
- public final D3 on(String event, D3Events.Handler<?> handler)
public static final com.google.gwt.dom.client.NativeEvent getEvent()
public static final void eventPreventDefault()
public static final boolean eventDefaultPrevented()
public static final D3 d3()
public static final com.google.gwt.core.client.JavaScriptObject property(String propertName)
public static final D3Drag getDragBehavior()
public static final com.google.gwt.core.client.JavaScriptObject drag()
public final D3 call(com.google.gwt.core.client.JavaScriptObject behavior)
public final D3 call(D3Behavior behavior)
behavior
- public final D3 with(D3Behavior behavior)
behavior
- public final D3 create(D3Behavior behavior)
behavior
- public static final com.google.gwt.core.client.JsArrayInteger getMouse(com.google.gwt.dom.client.Element elem)
public static final com.google.gwt.core.client.JsArrayNumber getMouse(D3 select)
public static final D3Transform getTransform(String transform)
public final D3Brush getBrush()
public final void xml(String iconUrl, String mimeType, D3Events.XMLHandler<?> handler)
public final int length()
public final void injectSVGDef(String file)
file
- the file to GETCopyright © 2020. All rights reserved.