Class LayoutDataFormatter

    • Constructor Detail

      • LayoutDataFormatter

        public LayoutDataFormatter()
    • Method Detail

      • getGroupText

        public java.lang.String getGroupText​(PropCnr[] pcs,
                                             java.util.ArrayList<PropertyEditorInfo> infos,
                                             PropertyEditorInfo group,
                                             java.lang.StringBuilder tooltip,
                                             boolean[] isHTML)
        Formats a string representation for the group. This method is called when a property has been changed for the group.
        Specified by:
        getGroupText in interface IGroupTextFormatter
        Parameters:
        pcs - The property container being edited.
        infos - The property editor info array.
        group - The group item.
        tooltip - String buffer to fill with tool tip text.
        isHTML - Set [0] to true for HTML before returning if tooltip text is in HTML format.
        Returns:
        A string for the text label, the string buffer filled with the tooltip text.
      • format

        public static java.lang.String format​(java.lang.Object o)
        Formats a property.