borland Packages Class Hierarchy jbcl.control Package Index
java.lang.Object +----borland.jbcl.control.TreeItems
Constructors Properties Methods
Implements Serializable
TreeItems is a string processor for the items property of TreeControl. It can convert a GraphModel component to an array of strings and convert an array of strings to a GraphModel component.
public TreeItems(borland.jbcl.model.GraphModel model)Constructs a TreeItems class using the given GraphModel.
Parameters:
public TreeItems(java.lang.String text)Constructs a TreeItems component using the the given string.
Parameters:
public TreeItems(java.lang.String[] items)Constructs a TreeItems component using the given array of strings.
Parameters:
public String[] getItems()If the TreeItems was constructed with a GraphModel, this property returns the string[].
public GraphModel getModel()If the TreeItems was constructed with a string[], this property returns the GraphModel.