Class AbstractBooleanEditorRenderer

    • Field Detail

      • SHOW_OPTIONAL_FIELD_PARAM

        public static final java.lang.String SHOW_OPTIONAL_FIELD_PARAM
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractBooleanEditorRenderer

        public AbstractBooleanEditorRenderer()
    • Method Detail

      • getBooleanLabel

        protected java.lang.String getBooleanLabel​(EditorContext<java.lang.Boolean> context,
                                                   java.lang.Boolean bool)
        Returns a string (label) representation of the given boolean value. Allows localized labeling for TRUE/FALSE/NA.
        Parameters:
        context - Various context parameters
        bool - A boolean value to label
        Returns:
        Boolean's label decorator.
      • getShowOptionalFieldParamValue

        protected java.lang.Boolean getShowOptionalFieldParamValue​(EditorContext<java.lang.Boolean> context)
        Returns value of SHOW_OPTIONAL_FIELD_PARAM configuration parameter. If the parameter is not set, null is returned.