Module omix.api

Class TypeEditHandlerInterface.PaintResponse

java.lang.Object
omix.plugin.type.TypeEditHandlerInterface.PaintResponse
Enclosing interface:
TypeEditHandlerInterface

public static final class TypeEditHandlerInterface.PaintResponse
extends Object
Answer of a TypeEditHandlerInterface.paintCell(FieldInfo, PaintValueUtilities) request. In general, the PaintResponse can contain text, brush (text color), font, pixmap and a painter. All of these members may be null.
The table cell is painted as follows:
  • The text (getText()) is painted if available with
  • If no text is available, the pixmap (getPixmap()) is used to fill the background otherwise it is used as decoration if available.
  • The icon (getIcon()) is used as decoration.
  • Finally, the painter (getPainter()) can fill the cell in arbitrary manner.
Author:
Dr. Peter Droste, Omix Visualization