org.objectweb.joram.client.tools.admin

Class ConnectJndiDialog


public class ConnectJndiDialog
extends JDialog

Method Summary

boolean
getActionCancelled()
String
getJndiHost()
int
getJndiPort()
String
getNamedContext()
static ConnectJndiDialog
initialize(Frame parent)
Set up the dialog.
void
setActionCancelled(boolean cancelled)
void
setJndiHost(String host)
void
setJndiPort(int port)
void
setNamedContext(String ctx)
static ConnectJndiDialog
showDialog()
Show the initialized dialog.

Method Details

getActionCancelled

public boolean getActionCancelled()


getJndiHost

public String getJndiHost()


getJndiPort

public int getJndiPort()


getNamedContext

public String getNamedContext()


initialize

public static ConnectJndiDialog initialize(Frame parent)
Set up the dialog. The first argument can be null, but it really should be a component in the dialog's controlling frame.


setActionCancelled

public void setActionCancelled(boolean cancelled)


setJndiHost

public void setJndiHost(String host)


setJndiPort

public void setJndiPort(int port)


setNamedContext

public void setNamedContext(String ctx)


showDialog

public static ConnectJndiDialog showDialog()
            throws Exception
Show the initialized dialog. The first argument should be null if you want the dialog to come up in the center of the screen. Otherwise, the argument should be the component on top of which the dialog should appear.


Copyright B) 2004 Scalagent - All rights reserved