Class LayoutDataFormatter

All Implemented Interfaces:

public class LayoutDataFormatter extends Object implements IGroupTextFormatter
The bounds text formatter.
Christopher Mindus
  • Constructor Details

    • LayoutDataFormatter

      public LayoutDataFormatter()
  • Method Details

    • getGroupText

      public String getGroupText(PropCnr[] pcs, ArrayList<PropertyEditorInfo> infos, PropertyEditorInfo group, 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
      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.
      A string for the text label, the string buffer filled with the tooltip text.
    • format

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