|
||||||||||
| 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.user.client.ui.Composite
com.google.gwt.user.cellview.client.CellBrowser
public class CellBrowser
A "browsable" view of a tree in which only a single node per level may be open at one time.
| Nested Class Summary | |
|---|---|
static interface |
CellBrowser.Resources
A ClientBundle that provides images for this widget. |
static interface |
CellBrowser.Style
Styles used by this widget. |
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
CellBrowser(TreeViewModel viewModel,
T rootValue)
Construct a new CellBrowser. |
|
CellBrowser(TreeViewModel viewModel,
T rootValue,
CellBrowser.Resources resources)
Construct a new CellBrowser with the specified CellBrowser.Resources. |
|
| Method Summary | |
|---|---|
int |
getDefaultColumnWidth()
Get the default width of new columns. |
int |
getMinimumColumnWidth()
Get the minimum width of columns. |
boolean |
isAnimationEnabled()
|
void |
onBrowserEvent(Event event)
Fired whenever a browser event is received. |
void |
onResize()
This method must be called whenever the implementor's size has been modified. |
void |
setAnimationEnabled(boolean enable)
Enable or disable animations. |
void |
setDefaultColumnWidth(int width)
Set the default width of new columns. |
void |
setMinimumColumnWidth(int minWidth)
Set the minimum width of columns. |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
isAttached |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
fireEvent, getLayoutData, getParent, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CellBrowser(TreeViewModel viewModel,
T rootValue)
CellBrowser.
T - the type of data in the root nodeviewModel - the TreeViewModel that backs the treerootValue - the hidden root value of the tree
public CellBrowser(TreeViewModel viewModel,
T rootValue,
CellBrowser.Resources resources)
CellBrowser with the specified CellBrowser.Resources.
T - the type of data in the root nodeviewModel - the TreeViewModel that backs the treerootValue - the hidden root value of the treeresources - the CellBrowser.Resources used for images| Method Detail |
|---|
public int getDefaultColumnWidth()
public int getMinimumColumnWidth()
public boolean isAnimationEnabled()
isAnimationEnabled in interface HasAnimationpublic void onBrowserEvent(Event event)
EventListener
onBrowserEvent in interface EventListeneronBrowserEvent in class Compositeevent - the event receivedpublic void onResize()
RequiresResize
onResize in interface RequiresResizepublic void setAnimationEnabled(boolean enable)
HasAnimation
setAnimationEnabled in interface HasAnimationenable - true to enable, false to disablepublic void setDefaultColumnWidth(int width)
width - the default width in pixelspublic void setMinimumColumnWidth(int minWidth)
minWidth - the minimum width in pixels
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||