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.
-
EditList()
- Construct an EditList object with an empty label and default width
-
EditList(int)
- Construct an EditList object with the specified string as the label
-
EditList(int, boolean)
- Construct an Edit object with the specified string as the label
and with initial width in pixels
-
addPropertyChangeListener(PropertyChangeListener)
-
-
getCopyright()
-
-
getEditDialogModal()
- Get current value of edit dialog modal flag
-
getEditDialogTitle()
- Get edit dialog title
-
getEditingEnabled()
- Get current value of editing enabled flag
-
getListItems()
- Gets the items in the list.
-
removePropertyChangeListener(PropertyChangeListener)
-
-
setCopyright(String)
-
-
setEditDialogModal(boolean)
- Enable or disable whether edit dialog is modal
-
setEditDialogTitle(String)
- Set title in edit dialog window (diabled in evaluation version)
-
setEditingEnabled(boolean)
- Enable or disable list editing (reordering always enabled)
-
setListItems(String)
- Sets the list items from a String of \n-delimited items
EditList
public EditList(int rows,
boolean multipleMode)
- Construct an Edit object with the specified string as the label
and with initial width in pixels
EditList
public EditList(int rows)
- Construct an EditList object with the specified string as the label
EditList
public EditList()
- Construct an EditList object with an empty label and default width
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.
getListItems
public synchronized String getListItems()
- Gets the items in the list.
- Returns:
- a String containing items of the list separated by \n's.
setEditingEnabled
public void setEditingEnabled(boolean editingEnabled)
- Enable or disable list editing (reordering always enabled)
- Parameters:
- editingEnabled - specifies whether editing enablement is true or false.
getEditingEnabled
public synchronized boolean getEditingEnabled()
- Get current value of editing enabled flag
- Returns:
- a boolean indicating whether editing enablement is true or false.
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)
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.
setEditDialogTitle
public void setEditDialogTitle(String string)
- Set title in edit dialog window (diabled in evaluation version)
- Parameters:
- string - specifies edit dialog title string.
getEditDialogTitle
public synchronized String getEditDialogTitle()
- Get edit dialog title
- Returns:
- edit dialog title string.
setCopyright
public void setCopyright(String str)
getCopyright
public synchronized String getCopyright()
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
All Packages Class Hierarchy This Package Previous Next Index