Class BinaryUIDefinition


  • public class BinaryUIDefinition
    extends UIDefinition
    Implementation of the image ui definition.
    Author:
    mtaal
    • Constructor Detail

      • BinaryUIDefinition

        public BinaryUIDefinition()
    • Method Detail

      • getGridFieldProperties

        public String getGridFieldProperties​(Field field)
        Description copied from class: UIDefinition
        Computes properties to initialize and set the field in a Smartclient grid cell. This can be the default value or the sets of values in the valuemap. Note: the result should be either empty, if not empty then it start with a comma and end without a comma, this to generate correct javascript.
        Overrides:
        getGridFieldProperties in class UIDefinition
        Parameters:
        field - the field for which the information should be computed.
        Returns:
        a JSONObject string which is used to initialize the formitem.
      • showHover

        public boolean showHover()
        Description copied from class: UIDefinition
        This method determines if the UI definition should include the showHover property as part of the grid field properties. Returns true by default.
        Overrides:
        showHover in class UIDefinition
        Returns:
        true if fields using this UI definition should display their text on a hover box, otherwise return false
      • getParentType

        public String getParentType()
        Overrides:
        getParentType in class UIDefinition
        Returns:
        the Smartclient type from which this type inherits.