|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Composite org.utgenome.gwt.utgb.client.canvas.GWTGraphCanvas
public class GWTGraphCanvas
GWT Canvas for drawing bar graph, heat map, etc.
Nested Class Summary | |
---|---|
static class |
GWTGraphCanvas.GraphStyle
Graph Drawing Configurations |
static class |
GWTGraphCanvas.Indent
|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary |
---|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
GWTGraphCanvas()
|
Method Summary | |
---|---|
void |
clear()
|
void |
clearCanvas()
|
void |
clearOutSideOf(TrackWindow globalWindow)
|
void |
clearScale()
|
void |
drawFrame()
|
void |
drawScaleLabel()
|
protected void |
drawWigGraph(org.utgenome.gwt.utgb.client.canvas.GWTGraphCanvas.GraphCanvas graphCanvas)
|
void |
drawWigGraph(List<CompactWIGData> data,
TrackWindow w)
|
static float |
getLogValue(float value,
float logBase)
|
GWTGraphCanvas.GraphStyle |
getStyle()
|
TrackWindow |
getViewWindow()
|
float |
getYPosition(float value)
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
|
void |
redrawWigGraph()
|
void |
setPixelSize(int width,
int height)
|
void |
setStyle(GWTGraphCanvas.GraphStyle style)
|
void |
setViewWindow(TrackWindow view)
|
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getWidget, initWidget, isAttached, onAttach, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, wrapElement |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GWTGraphCanvas()
Method Detail |
---|
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
onBrowserEvent
in class com.google.gwt.user.client.ui.Composite
public void clear()
public void clearCanvas()
public void clearScale()
public void redrawWigGraph()
public void drawWigGraph(List<CompactWIGData> data, TrackWindow w)
protected void drawWigGraph(org.utgenome.gwt.utgb.client.canvas.GWTGraphCanvas.GraphCanvas graphCanvas)
public void clearOutSideOf(TrackWindow globalWindow)
public void drawFrame()
public void drawScaleLabel()
public float getYPosition(float value)
public static float getLogValue(float value, float logBase)
public void setViewWindow(TrackWindow view)
public TrackWindow getViewWindow()
public void setStyle(GWTGraphCanvas.GraphStyle style)
public GWTGraphCanvas.GraphStyle getStyle()
public void setPixelSize(int width, int height)
setPixelSize
in class com.google.gwt.user.client.ui.UIObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |