
public interface ResizableCell
Interface for cells that can be sized.
CellComponent will "size" any cells which implement this interface.
| Modifier and Type | Method and Description |
|---|---|
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.
|
int getHeight()
int getWidth()
boolean redrawOnResize()
CellComponent. If true, CellComponent.redraw() will be
called.void setHeight(int height)
height - the height in pixelsvoid setSize(int width,
int height)
width - the width in pixelsheight - the height in pixelsvoid 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 pixelsCopyright © 2020. All rights reserved.