|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.cell.client.AbstractCell<C>
com.sencha.gxt.cell.core.client.AbstractEventCell<C>
com.sencha.gxt.cell.core.client.ResizeCell<C>
C - the cell data typepublic abstract class ResizeCell<C>
AbstractEventCell subclass which implements
ResizableCell.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell |
|---|
Cell.Context |
| Constructor Summary | |
|---|---|
ResizeCell(java.util.Set<java.lang.String> consumedEvents)
|
|
ResizeCell(java.lang.String... consumedEvents)
|
|
| Method Summary | |
|---|---|
int |
getHeight()
Returns the height. |
int |
getWidth()
Returns the width. |
boolean |
redrawOnResize()
Determines if the cell should be redrawn when resized by @link CellComponent. |
void |
setHeight(int height)
Sets the height. |
void |
setSize(int width,
int height)
Sets the cell size. |
void |
setSize(XElement parent,
int width,
int height)
Sets the size of the cell without requiring a redraw. |
void |
setWidth(int width)
Sets the width. |
| Methods inherited from class com.sencha.gxt.cell.core.client.AbstractEventCell |
|---|
addHandler, fireEvent, isDisableEvents, setDisableEvents |
| Methods inherited from class com.google.gwt.cell.client.AbstractCell |
|---|
dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, onBrowserEvent, render, resetFocus, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResizeCell(java.util.Set<java.lang.String> consumedEvents)
public ResizeCell(java.lang.String... consumedEvents)
| Method Detail |
|---|
public int getWidth()
ResizableCell
getWidth in interface ResizableCellpublic void setWidth(int width)
ResizableCell
setWidth in interface ResizableCellwidth - the width in pixelspublic int getHeight()
ResizableCell
getHeight in interface ResizableCellpublic void setHeight(int height)
ResizableCell
setHeight in interface ResizableCellheight - the height in pixels
public void setSize(int width,
int height)
ResizableCell
setSize in interface ResizableCellwidth - the width in pixelsheight - the height in pixelspublic boolean redrawOnResize()
ResizableCellCellComponent. If true, CellComponent.redraw() will be
called.
redrawOnResize in interface ResizableCell
public void setSize(XElement parent,
int width,
int height)
ResizableCellCellComponent when ResizableCell.redrawOnResize() returns false.
setSize in interface ResizableCellparent - the parent elementwidth - the widthheight - the height
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||