|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openfuture.bugbase.app.controller.AbsController | +--openfuture.bugbase.app.controller.ListController
Abstract controller handling lists.
Created: Wed Feb 09 06:07:13 2000
Constructor Summary | |
ListController(AbsController parentController,
java.util.LinkedList theList)
|
Method Summary | |
protected void |
deleteElement(int i)
Delete the element at position i. |
java.util.LinkedList |
getDeletedElements()
Get the value of deletedElements. |
SimpleListModel |
getListModel()
Get the value of myListModel. |
java.lang.Object |
getNewElement()
Get the value of newElement. |
java.lang.Object |
getSelected()
Get the value of selected. |
java.lang.Integer |
getSelectedIndex()
Get the value of selectedIndex. |
void |
setDeletedElements(java.util.LinkedList v)
Set the value of deletedElements. |
void |
setListModel(SimpleListModel v)
Set the value of myListModel. |
void |
setNewElement(java.lang.Object v)
Set the value of newElement. |
void |
setSelected(java.lang.Object v)
Set the value of selected. |
void |
setSelectedIndex(java.lang.Integer v)
Set the value of selectedIndex. |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
|
Methods inherited from class openfuture.bugbase.app.controller.AbsController |
actionPerformed, focusGained, focusLost, getBugReport, getIgnoreEvents, getProject, getServletClient, getView, init, itemStateChanged, setBugReport, setIgnoreEvents, setProject, setServletClient, setView, showError, showError, showI18NError, showI18NError, stringToDate, tableChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ListController(AbsController parentController, java.util.LinkedList theList)
Method Detail |
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in class AbsController
e
- selection eventpublic java.lang.Integer getSelectedIndex()
public void setSelectedIndex(java.lang.Integer v)
v
- Value to assign to selectedIndex.public SimpleListModel getListModel()
public void setListModel(SimpleListModel v)
v
- Value to assign to myListModel.public java.lang.Object getSelected()
public void setSelected(java.lang.Object v)
v
- Value to assign to selected.public java.util.LinkedList getDeletedElements()
public void setDeletedElements(java.util.LinkedList v)
v
- Value to assign to deletedElements.protected void deleteElement(int i)
DomainObject
,
the element will NOT be added to the deletedElements.i
- element position (0..n)public java.lang.Object getNewElement()
public void setNewElement(java.lang.Object v)
v
- Value to assign to newElement.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |