|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResizableCell
Interface for cells that can be sized.
CellComponent will "size" any cells which implement this interface.
| 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. |
| Method Detail |
|---|
int getHeight()
int getWidth()
boolean redrawOnResize()
CellComponent. If true, CellComponent.redraw() will be
called.
void setHeight(int height)
height - the height in pixels
void setSize(int width,
int height)
width - the width in pixelsheight - the height in pixels
void setSize(XElement parent,
int width,
int height)
CellComponent when redrawOnResize() returns false.
parent - the parent elementwidth - the widthheight - the heightvoid setWidth(int width)
width - the width in pixels
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||