public class GxRendererBoolean extends GxOptionsBoolean implements GxRendererInterface
The class represents a boolean cell renderer
Modifier and Type | Field and Description |
---|---|
BBjString | FalseValue! The value to use when when the component needs to render false values. in case it is null() then we use the first item in PossibleFalseValues! |
BBjString | TrueValue! The value to use when when the component needs to render true values. in case it is null() then we use the first item in PossibleTrueValues! |
Modifier and Type | Method and Description |
---|---|
boolean | equals(GxRendererInterface cellRenderer!) Compare two cell renderers |
JsonObject | getAsJsonObject() Convert the renderer definition to Json Object |
static BBjString | getCellRendererName() A constant which holds the client renderer real name |
static BBjString | SWITCH_RENDERER() A special html string which uses the switch button to render true/false values |
public BBjString FalseValue!
The value to use when when the component needs to render false values. in case it is null() then we use the first item in PossibleFalseValues!
public BBjString TrueValue!
The value to use when when the component needs to render true values. in case it is null() then we use the first item in PossibleTrueValues!
public boolean equals(GxRendererInterface cellRenderer!)
Compare two cell renderers
cellRenderer!
- Another cell renderer instance to compare withpublic JsonObject getAsJsonObject()
Convert the renderer definition to Json Object
public static BBjString getCellRendererName()
A constant which holds the client renderer real name
public static BBjString SWITCH_RENDERER()
A special html string which uses the switch button to render true/false values