All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.wildcrest.EditList.EditList

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.List
                   |
                   +----com.wildcrest.EditList.EditList

public class EditList
extends List
(C) Copyright 1998, Wildcrest Associates (http://www.wildcrest.com). All rights reserved.

A Java List component which lets you interactively add, delete, edit, and reorder its items.


Constructor Index

 o EditList()
Construct an EditList object with an empty label and default width
 o EditList(int)
Construct an EditList object with the specified string as the label
 o EditList(int, boolean)
Construct an Edit object with the specified string as the label and with initial width in pixels

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
 o getCopyright()
 o getEditDialogModal()
Get current value of edit dialog modal flag
 o getEditDialogTitle()
Get edit dialog title
 o getEditingEnabled()
Get current value of editing enabled flag
 o getListItems()
Gets the items in the list.
 o removePropertyChangeListener(PropertyChangeListener)
 o setCopyright(String)
 o setEditDialogModal(boolean)
Enable or disable whether edit dialog is modal
 o setEditDialogTitle(String)
Set title in edit dialog window (diabled in evaluation version)
 o setEditingEnabled(boolean)
Enable or disable list editing (reordering always enabled)
 o setListItems(String)
Sets the list items from a String of \n-delimited items

Constructors

 o EditList
 public EditList(int rows,
                 boolean multipleMode)
Construct an Edit object with the specified string as the label and with initial width in pixels

 o EditList
 public EditList(int rows)
Construct an EditList object with the specified string as the label

 o EditList
 public EditList()
Construct an EditList object with an empty label and default width

Methods

 o setListItems
 public void setListItems(String items)
Sets the list items from a String of \n-delimited items

Parameters:
items - a String of \n-delimited items to replace previous contents of list.
 o getListItems
 public synchronized String getListItems()
Gets the items in the list.

Returns:
a String containing items of the list separated by \n's.
 o setEditingEnabled
 public void setEditingEnabled(boolean editingEnabled)
Enable or disable list editing (reordering always enabled)

Parameters:
editingEnabled - specifies whether editing enablement is true or false.
 o getEditingEnabled
 public synchronized boolean getEditingEnabled()
Get current value of editing enabled flag

Returns:
a boolean indicating whether editing enablement is true or false.
 o setEditDialogModal
 public void setEditDialogModal(boolean editDialogModal)
Enable or disable whether edit dialog is modal

Parameters:
editDialogModal - boolean specifying whether edit dialog is modal. (Default: false)
 o getEditDialogModal
 public synchronized boolean getEditDialogModal()
Get current value of edit dialog modal flag

Returns:
a boolean indicating whether edit dialog modal flag is true or false.
 o setEditDialogTitle
 public void setEditDialogTitle(String string)
Set title in edit dialog window (diabled in evaluation version)

Parameters:
string - specifies edit dialog title string.
 o getEditDialogTitle
 public synchronized String getEditDialogTitle()
Get edit dialog title

Returns:
edit dialog title string.
 o setCopyright
 public void setCopyright(String str)
 o getCopyright
 public synchronized String getCopyright()
 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener listener)
 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener listener)

All Packages  Class Hierarchy  This Package  Previous  Next  Index