SMART datagrid v.1 > Types

Back  Forward

DataLudi.ImageDisplay

The way of displaying image in ImageCellRenderer, etc. 

Values
DEFAULT"default"Do not change the size, and display from the top left of cell.
CENTER"center"Do not change the size, and display to the center of cell.
BOTH"both"Adjust the size of image to the size of cell.
WIDTH"width"Adjust the width of image to the width of cell. Do not change the height of image.
HEIGHT"height"Adjust the height of image to the height of cell. Do not change the width of image.
AUTO"auto"Adjust the size of image to fit both the width and height of cell, and display to the center of cell.

See Also
ImageCellRenderer
ImageCellRenderer.imageDisplay