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
-
fAddNewItem
-
-
fDeleteSelectedItems
-
-
fEditItem
-
-
fEnterDomain
-
-
fNewList
-
-
javaApplication
-
-
javaWebServer
-
-
message
-
-
otherServer
-
-
servletField
-
-
HostList(String)
-
-
clean()
-
-
getList()
- Get the list
-
getResultList()
- This method will copy all the strings in the list to a vector, and return
the vector.
-
getVector()
- Get a vector containing the each string in the list.
-
isNewEntry(String)
- check if the item is new
-
keyTyped(KeyEvent)
-
-
listCopy(List)
- This method initializes the list with some list of strings
-
mouseClicked(MouseEvent)
- Handle events that occure in the list editor panel.
-
setVector(Vector)
- This method initializes the list with some list of strings
fNewList
protected List fNewList
fEnterDomain
protected TextField fEnterDomain
servletField
protected TextField servletField
fDeleteSelectedItems
protected Button fDeleteSelectedItems
fAddNewItem
protected Button fAddNewItem
fEditItem
protected Button fEditItem
message
protected TextArea message
javaApplication
protected Checkbox javaApplication
javaWebServer
protected Checkbox javaWebServer
otherServer
protected Checkbox otherServer
HostList
public HostList(String name)
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
clean
public void clean()
keyTyped
public void keyTyped(KeyEvent event)
- Overrides:
- keyTyped in class EasyConstrainsPanel
isNewEntry
public boolean isNewEntry(String newEntry)
- check if the item is new
getVector
public Vector getVector()
- Get a vector containing the each string in the list.
- Returns:
- s a vector with the list of items..
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.
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.
getList
public List getList()
- Get the list
- Returns:
- s returns the list.
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