DataType
- public class BrowsableData<DataType extends AbstractHibernateObject> extends Object implements ListModel
Modifier and Type | Field and Description |
---|---|
protected EventListenerList |
listeners |
Constructor and Description |
---|
BrowsableData(ListProvider<DataType> dataprov) |
BrowsableData(ListProvider<DataType> dataprov,
Comparator<DataType> c) |
Modifier and Type | Method and Description |
---|---|
void |
addListDataListener(ListDataListener l) |
boolean |
canDeleteData() |
boolean |
canInsertData() |
boolean |
canLoadData() |
boolean |
canUpdateData() |
int |
findNext(int index,
Finder f) |
protected void |
fireDataContentsChanged(int index0,
int index1) |
protected void |
fireDataIntervalAdded(int index0,
int index1) |
protected void |
fireDataIntervalRemoved(int index0,
int index1) |
DataType |
getElementAt(int index) |
int |
getSize() |
int |
insertRecord(DataType value) |
boolean |
isAdjusting() |
void |
loadData() |
void |
loadList(List<DataType> l) |
void |
refreshData() |
void |
removeListDataListener(ListDataListener l) |
int |
removeRecord(int index) |
void |
setCanDelete(boolean canDelete) |
void |
setCanInsert(boolean canInsert) |
void |
setCanUpdate(boolean canUpdate) |
void |
sort(Comparator<DataType> c) |
void |
unloadData() |
int |
updateRecord(int index,
DataType value) |
protected EventListenerList listeners
public BrowsableData(ListProvider<DataType> dataprov, Comparator<DataType> c)
public BrowsableData(ListProvider<DataType> dataprov)
public final void addListDataListener(ListDataListener l)
addListDataListener
in interface ListModel
public final void removeListDataListener(ListDataListener l)
removeListDataListener
in interface ListModel
public final DataType getElementAt(int index)
getElementAt
in interface ListModel
public final boolean isAdjusting()
protected void fireDataIntervalAdded(int index0, int index1)
protected void fireDataContentsChanged(int index0, int index1)
protected void fireDataIntervalRemoved(int index0, int index1)
public void refreshData() throws BasicException
BasicException
public void loadData() throws BasicException
BasicException
public void unloadData() throws BasicException
BasicException
public void sort(Comparator<DataType> c) throws BasicException
BasicException
public final boolean canLoadData()
public boolean canInsertData()
public boolean canDeleteData()
public boolean canUpdateData()
public final int findNext(int index, Finder f) throws BasicException
BasicException
public final int removeRecord(int index) throws BasicException
BasicException
public final int updateRecord(int index, DataType value) throws BasicException
BasicException
public final int insertRecord(DataType value) throws BasicException
BasicException
public void setCanDelete(boolean canDelete)
public void setCanInsert(boolean canInsert)
public void setCanUpdate(boolean canUpdate)
Copyright © 2021. All rights reserved.