com.jFormTK
Class BaseTreeUserObject

java.lang.Object
  extended by com.jFormTK.BaseTreeUserObject

public class BaseTreeUserObject
extends java.lang.Object

 This 'jFormTK' Class is designed as a Holder for the 'jFormTK' information that is placed
 in each Node of the 'jFormTK.JFormTree' 'JTree' Object.

 Kernel Usage:
 Instanteated in the 'AppForms.setNodes' Method as each Node is added to the 'jFormTree' Object.

 The items Held by this Object are as Follows:
 String Title  - Node Annotation String.
 int ItemIndex - Index of the 'appForm' Items Vector for the associated 'jFormForm'

 The *this* 'toString[]'Method is used in the 'jFormTree' Class to produce the Node's Annotation Text.
 The 'getItemIndex' Method is used by the 'jFormTree' Class to get required information about the Specific 
 'JFormForm' subclass linked to the current Node...

Version:
1.00, 03 Mar 2000
Author:
Jim Crowell
Professional Computer Solutions [PCS]
URL: http://jFormTK.com/
E-Mail: JimCrowell@EMail.com

Copyright (c) 2009 by Professional Computer Solutions [PCS]
All Rights Reserved

Field Summary
(package private)  int ItemIndex
           
(package private)  java.lang.String Title
           
 
Constructor Summary
BaseTreeUserObject(java.lang.String inTitle, int inItemIndex)
          Constructor.
 
Method Summary
 int getItemIndex()
          Returns the 'appForms' Items Index to the 'JFormForm' subclass element for the "Associated" 'JFormForm' subclass...
 java.lang.String toString()
          Returns the 'Title' String...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ItemIndex

int ItemIndex

Title

java.lang.String Title
Constructor Detail

BaseTreeUserObject

public BaseTreeUserObject(java.lang.String inTitle,
                          int inItemIndex)
Constructor.

Parameters:
inTitle - Tree Node Title [String]
inItemIndex - Item Index [int]
Method Detail

getItemIndex

public int getItemIndex()
Returns the 'appForms' Items Index to the 'JFormForm' subclass element for the "Associated" 'JFormForm' subclass...

Returns:
'JFormForm' subclass index [inty]

toString

public java.lang.String toString()
Returns the 'Title' String... Kernel Usage: 1) used by the 'jFormTree' Class to produce the Node's Annotation Text.

Overrides:
toString in class java.lang.Object
Returns:
Title String