All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.hdf.awt.HostList

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----ncsa.hdf.awt.EasyConstrainsPanel
                                   |
                                   +----ncsa.hdf.awt.OutlinePanel
                                           |
                                           +----ncsa.hdf.awt.HostList

public class HostList
extends OutlinePanel

Variable Index

 o fAddNewItem
 o fDeleteSelectedItems
 o fEditItem
 o fEnterDomain
 o fNewList
 o javaApplication
 o javaWebServer
 o message
 o otherServer
 o servletField

Constructor Index

 o HostList(String)

Method Index

 o clean()
 o getList()
Get the list
 o getResultList()
This method will copy all the strings in the list to a vector, and return the vector.
 o getVector()
Get a vector containing the each string in the list.
 o isNewEntry(String)
check if the item is new
 o keyTyped(KeyEvent)
 o listCopy(List)
This method initializes the list with some list of strings
 o mouseClicked(MouseEvent)
Handle events that occure in the list editor panel.
 o setVector(Vector)
This method initializes the list with some list of strings

Variables

 o fNewList
 protected List fNewList
 o fEnterDomain
 protected TextField fEnterDomain
 o servletField
 protected TextField servletField
 o fDeleteSelectedItems
 protected Button fDeleteSelectedItems
 o fAddNewItem
 protected Button fAddNewItem
 o fEditItem
 protected Button fEditItem
 o message
 protected TextArea message
 o javaApplication
 protected Checkbox javaApplication
 o javaWebServer
 protected Checkbox javaWebServer
 o otherServer
 protected Checkbox otherServer

Constructors

 o HostList
 public HostList(String name)

Methods

 o mouseClicked
 public void mouseClicked(MouseEvent event)
Handle events that occure in the list editor panel. If the delete button is clicked, delete all selected items form the list. If the add button is clicked, add whatever text is in the text field to the list, and reset the text field.

Parameters:
event - the event that occured
Overrides:
mouseClicked in class EasyConstrainsPanel
 o clean
 public void clean()
 o keyTyped
 public void keyTyped(KeyEvent event)
Overrides:
keyTyped in class EasyConstrainsPanel
 o isNewEntry
 public boolean isNewEntry(String newEntry)
check if the item is new

 o getVector
 public Vector getVector()
Get a vector containing the each string in the list.

Returns:
s a vector with the list of items..
 o setVector
 public void setVector(Vector list)
This method initializes the list with some list of strings

Parameters:
listValues - a list of strings to be inserted into the list.
 o listCopy
 public void listCopy(List list1)
This method initializes the list with some list of strings

Parameters:
listValues - a list of strings to be inserted into the list.
 o getList
 public List getList()
Get the list

Returns:
s returns the list.
 o getResultList
 public Vector getResultList()
This method will copy all the strings in the list to a vector, and return the vector.

Returns:
s a vector that contains a copy of each string in the list.

All Packages  Class Hierarchy  This Package  Previous  Next  Index