|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.visualization.client.visualizations.Visualization<OrgChart.Options>
com.google.gwt.visualization.client.visualizations.OrgChart
public class OrgChart
Organization Chart visualization. May be loaded by calling:
google.load("visualization", "1", {packages:["orgchart"]});
Nested Class Summary | |
---|---|
static class |
OrgChart.Options
Options for drawing the chart. |
static class |
OrgChart.Size
Argument to Options#setSize(Size) |
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 | |
---|---|
static java.lang.String |
PACKAGE
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
OrgChart()
|
|
OrgChart(AbstractDataTable data,
OrgChart.Options options)
|
Method Summary | |
---|---|
void |
addCollapseHandler(CollapseHandler handler)
|
void |
addOnMouseOutHandler(OnMouseOutHandler handler)
|
void |
addOnMouseOverHandler(OnMouseOverHandler handler)
|
void |
addReadyHandler(ReadyHandler handler)
|
void |
addSelectHandler(SelectHandler handler)
Add a SelectHandler to the visualization. |
void |
collapse(int row,
boolean collapsed)
|
protected com.google.gwt.core.client.JavaScriptObject |
createJso(com.google.gwt.dom.client.Element parent)
Creates an instance of the underlying JavaScriptObject for this visualization. |
com.google.gwt.core.client.JsArrayInteger |
getChildrenIndexes(int row)
|
com.google.gwt.core.client.JsArrayInteger |
getCollapsedNodes()
|
com.google.gwt.core.client.JsArray<Selection> |
getSelections()
Get the Selections that are currently selected. |
void |
setSelections(com.google.gwt.core.client.JsArray<Selection> sel)
Set the Selections on the Selectable visualization. |
Methods inherited from class com.google.gwt.visualization.client.visualizations.Visualization |
---|
createDiv, draw, draw, getJso, onLoad, setSize |
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, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, setPixelSize, 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 |
Field Detail |
---|
public static final java.lang.String PACKAGE
Constructor Detail |
---|
public OrgChart()
public OrgChart(AbstractDataTable data, OrgChart.Options options)
Method Detail |
---|
public final void addCollapseHandler(CollapseHandler handler)
public final void addOnMouseOutHandler(OnMouseOutHandler handler)
public final void addOnMouseOverHandler(OnMouseOverHandler handler)
public final void addReadyHandler(ReadyHandler handler)
public final void addSelectHandler(SelectHandler handler)
Selectable
addSelectHandler
in interface Selectable
handler
- A SelectHandler.public void collapse(int row, boolean collapsed)
public com.google.gwt.core.client.JsArrayInteger getChildrenIndexes(int row)
public com.google.gwt.core.client.JsArrayInteger getCollapsedNodes()
public final com.google.gwt.core.client.JsArray<Selection> getSelections()
Selectable
getSelections
in interface Selectable
public final void setSelections(com.google.gwt.core.client.JsArray<Selection> sel)
Selectable
setSelections
in interface Selectable
sel
- An array of Selections.protected com.google.gwt.core.client.JavaScriptObject createJso(com.google.gwt.dom.client.Element parent)
Visualization
createJso
in class Visualization<OrgChart.Options>
parent
- The container for the visualization.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |