Skip navigation links
oracle.adf.view.faces.bi.component.gantt
Class AttributeConverterFactory
java.lang.Object
oracle.adf.view.faces.bi.component.gantt.AttributeConverterFactory
-
public abstract class AttributeConverterFactory
- extends java.lang.Object
This class is designed to allow developers to specify Converters for Gantt attributes on an attribute by attribute basis. When an AttributeConverterFactory is specified for a given Gantt, the Gantt will use the Converter returned by the getAttributeConverter(String attribute) method to format each attribute that is rendered within a tooltip, context menu, and the information panel of the legend. The attribute Strings used by the Gantt components include: "taskName" "taskType" "resourceName" "startTime" "endTime" "actualStartTime" "actualEndTime" "completedThrough" "time" "SETUP" "RUN" "AVAILABLE" For the tooltips shown during task resizes and moves, the "startTime", "endTime", and "completedThrough" attribute values will only reflect the formatting specified by the Converter if the Converter implements the org.apache.myfaces.trinidad.convert.ClientConverter interface.
Method Summary |
abstract javax.faces.convert.Converter |
getAttributeConverter(java.lang.String attribute)
Gets the Converter object to be used for the given attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeConverterFactory
public AttributeConverterFactory()
getAttributeConverter
public abstract javax.faces.convert.Converter getAttributeConverter(java.lang.String attribute)
- Gets the Converter object to be used for the given attribute.
-
- Parameters:
attribute
- the attribute string for which it returns the Converter.
- Returns:
- The Converter object to be used for the given attribute.
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.