Package com.iizigo.prop.group
Class LayoutDataFormatter
- java.lang.Object
- com.iizigo.prop.group.LayoutDataFormatter
- All Implemented Interfaces:
IGroupTextFormatter
public class LayoutDataFormatter extends java.lang.Object implements IGroupTextFormatter
The bounds text formatter.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description LayoutDataFormatter()
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
format(java.lang.Object o)
Formats a property.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.
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 interfaceIGroupTextFormatter
- 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.