jbcl.control Package
java.lang.Object +----com.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(GraphModel model)Constructs a
TreeItems
class using the given GraphModel
.
Parameters:
model
GraphModel
to use.
public TreeItems(String text)Constructs a
TreeItems
component using the the given string.
Parameters:
text
public TreeItems(String[] items)Constructs a
TreeItems
component using the given array of strings.
Parameters:
text
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
.