org.webtree
Class TreeMessage

java.lang.Object
  |
  +--org.webtree.TreeMessage

public class TreeMessage
extends java.lang.Object


Field Summary
protected  java.lang.String id
           
static int MSG_COLLAPSE
           
static int MSG_EXPAND
           
static int MSG_NULL
           
static int MSG_SELECT
           
protected  int type
           
 
Constructor Summary
TreeMessage()
           
TreeMessage(java.lang.String id, int type)
           
 
Method Summary
 java.lang.String getId()
           
 int getType()
           
 void setId(java.lang.String id)
           
 void setType(int type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MSG_NULL

public static final int MSG_NULL
See Also:
Constant Field Values

MSG_COLLAPSE

public static final int MSG_COLLAPSE
See Also:
Constant Field Values

MSG_EXPAND

public static final int MSG_EXPAND
See Also:
Constant Field Values

MSG_SELECT

public static final int MSG_SELECT
See Also:
Constant Field Values

id

protected java.lang.String id

type

protected int type
Constructor Detail

TreeMessage

public TreeMessage()

TreeMessage

public TreeMessage(java.lang.String id,
                   int type)
Parameters:
id - - node id
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getId

public java.lang.String getId()
Returns:
Returns the id.

setId

public void setId(java.lang.String id)
Parameters:
id - The id to set.

getType

public int getType()
Returns:
Returns the type.

setType

public void setType(int type)
Parameters:
type - The type to set.