org.jacorb.naming.namemanager

Class NSTree

public class NSTree extends JTree

Version: $Id: NSTree.java,v 1.9 2004/05/06 12:39:59 nicolas Exp $

Author: Gerald Brose, FU Berlin/XTRADYNE Technologies AG

Field Summary
static intMAX_BIND
static NSTablensTable
Constructor Summary
NSTree(int width, int height, NSTable theTable, NamingContextExt rootCntxt, ORB orb)
Method Summary
voidbind(String name)
Bind a new name context and insert it
voidbindObject(String name, String ior, boolean isRebind)
DimensiongetPreferredSize()
voidunbind()
unbind a context and remove it from this tree
voidupdate()
update the entire tree of contexts

Field Detail

MAX_BIND

public static final int MAX_BIND

nsTable

public static NSTable nsTable

Constructor Detail

NSTree

public NSTree(int width, int height, NSTable theTable, NamingContextExt rootCntxt, ORB orb)

Method Detail

bind

public void bind(String name)
Bind a new name context and insert it

bindObject

public void bindObject(String name, String ior, boolean isRebind)

getPreferredSize

public Dimension getPreferredSize()

unbind

public void unbind()
unbind a context and remove it from this tree

update

public void update()
update the entire tree of contexts