public class ReferringRelationsBrowserModel extends AbstractListModel
| Modifier and Type | Field and Description |
|---|---|
private List<Relation> |
referrers |
private Relation |
relation
the relation
|
listenerList| Constructor and Description |
|---|
ReferringRelationsBrowserModel() |
ReferringRelationsBrowserModel(Relation relation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReload() |
protected void |
fireModelUpdate() |
Relation |
get(int index) |
Object |
getElementAt(int index) |
Relation |
getRelation() |
int |
getSize() |
protected boolean |
isReferringRelation(Relation parent) |
void |
populate(DataSet ds)
Populates the browser with the list of referring relations in the
DataSet ds. |
void |
populate(List<Relation> parents) |
void |
setRelation(Relation relation) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerpublic ReferringRelationsBrowserModel()
public ReferringRelationsBrowserModel(Relation relation)
protected void fireModelUpdate()
public void setRelation(Relation relation)
public Object getElementAt(int index)
public int getSize()
protected boolean isReferringRelation(Relation parent)
public void populate(DataSet ds)
DataSet ds.ds - the data setpublic boolean canReload()
public Relation getRelation()