Menu

Maslosoft Framework Logo Maslosoft Framework Documentation
Flexible Application Foundation


Enum Renderer

Not to be confused with enum decorator

Form and grid renderer are separate classes with same base name: Enum, Enum

Enum form renderer.

Enum renderer allow displaying label based on value of field. This will result in proper label in radio buttons list in form field.

Usage:

@FormRenderer(Enum, EnumClass)

Enum grid column.

Enum grid column allow displaing label based on value of field. This will result in proper label in grid view for any enumarable value.

Usage:

@GridRenderer(Enum, EnumClass)