com.sas.util.transforms
Class IndexedGetInterfaceToTreeInterfaceTransform
com.sas.util.transforms.IndexedGetInterfaceToTreeInterfaceTransform
All Implemented Interfaces: com.sas.util.transforms.TransformInterface, java.io.Serializable
public class IndexedGetInterfaceToTreeInterfaceTransform implements com.sas.util.transforms.TransformInterface
IndexedGetInterfaceToTreeInterfaceTransform transform an object which
implements IndexedGetInterface to an object which implements
TreeInterface.
See Also: Serialized Form
defaultInstance
public static final IndexedGetInterfaceToTreeInterfaceTransform defaultInstance
Default instance of IndexedGetInterfaceToTreeInterfaceTransform.
IndexedGetInterfaceToTreeInterfaceTransform
public IndexedGetInterfaceToTreeInterfaceTransform ()
transform
public java.lang.Object transform (java.lang.Object object)
Alias for transform(Object, String).
Specified by: transform in interface com.sas.util.transforms.TransformInterface
Parameters: object - the object to transformSee Also: transform(Object, String)
transform
public java.lang.Object transform (java.lang.Object object,
java.lang.String rootName)
Parameters: object - the object to transformrootName - the value for the root node's text property
Returns: the tree interface that has been transformed
createNodeInterface
protected NodeInterface createNodeInterface (java.lang.Object o)
Factory method to create an object representing o which implements NodeInterface.
A NodeIcon object will be created for o with the return value of
toString set as the text. Additionally o will be set
as the objectData property of the NodeIcon object.
Parameters: o - the object to create a NodeInterface for
Returns: a NodeIcon object representing o See Also: NodeIcon ,
ObjectDataInterface
Copyright © 2009 SAS Institute Inc. All Rights Reserved.