Class LayoutDataFormatter

java.lang.Object
com.iizigo.prop.group.LayoutDataFormatter
All Implemented Interfaces:
IGroupTextFormatter

public class LayoutDataFormatter extends Object implements IGroupTextFormatter
The bounds text formatter.
Author:
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
      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 String format(Object o)
      Formats a property.