| java.lang.Object javax.swing.AbstractListModel org.netbeans.modules.sql.framework.ui.view.graph.CaseListModel
CaseListModel | public class CaseListModel extends AbstractListModel (Code) | | This class represents model for SQLCaseArea
author: Ritesh Adval |
CaseListModel | public CaseListModel()(Code) | | Creates a new instance of CaseListModel
|
add | public void add(Object val)(Code) | | always add element not at the end but before last element
Parameters: val - value to add |
add | public void add(int row, Object val)(Code) | | add element at the specified index
Parameters: row - row index Parameters: val - object value |
getElementAt | public Object getElementAt(int index)(Code) | | Returns the value at the specified index.
Parameters: index - the requested index the value at index |
getSize | public int getSize()(Code) | | Returns the length of the list.
the length of the list |
indexOf | public int indexOf(Object val)(Code) | | get index of an object
Parameters: val - object whose index needs to be found return index of object |
remove | public boolean remove(Object val) throws BaseException(Code) | | remove an object for the model
Parameters: val - object to be removed |
|
|