borland Packages  Class Hierarchy  jbcl.control Package  Index 

TreeItems class

java.lang.Object
   +----borland.jbcl.control.TreeItems

About the TreeItems class

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.


TreeItems constructors

TreeItems properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

TreeItems methods

Methods implemented in java.lang.Object


TreeItems constructors

TreeItems(borland.jbcl.model.GraphModel)

  public TreeItems(borland.jbcl.model.GraphModel model)
Constructs a TreeItems class using the given GraphModel.

Parameters:

model
The GraphModel to use.

TreeItems(java.lang.String)

  public TreeItems(java.lang.String text)
Constructs a TreeItems component using the the given string.

Parameters:

text
The string to use.

TreeItems(java.lang.String[])

  public TreeItems(java.lang.String[] items)
Constructs a TreeItems component using the given array of strings.

Parameters:

text
The string to use.

TreeItems properties

items

 public String[] getItems()
If the TreeItems was constructed with a GraphModel, this property returns the string[].

model

 public GraphModel getModel()
If the TreeItems was constructed with a string[], this property returns the GraphModel.