Package com.iizigo.prop.group
Class LayoutDataFormatter
java.lang.Object
com.iizigo.prop.group.LayoutDataFormatter
- All Implemented Interfaces:
IGroupTextFormatter
The bounds text formatter.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionstatic String
Formats a property.getGroupText
(PropCnr[] pcs, ArrayList<PropertyEditorInfo> infos, PropertyEditorInfo group, StringBuilder tooltip, boolean[] isHTML) Formats a string representation for the group.
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 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
Formats a property.