public class ReferringRelationsBrowserModel extends javax.swing.AbstractListModel<Relation>
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Relation> |
referrers |
private Relation |
relation
the relation
|
| Constructor and Description |
|---|
ReferringRelationsBrowserModel()
Constructs a new
ReferringRelationsBrowserModel. |
ReferringRelationsBrowserModel(Relation relation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReload() |
protected void |
fireModelUpdate() |
Relation |
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(java.util.List<Relation> parents) |
void |
setRelation(Relation relation) |
public ReferringRelationsBrowserModel()
ReferringRelationsBrowserModel.public ReferringRelationsBrowserModel(Relation relation)
protected void fireModelUpdate()
public void setRelation(Relation relation)
public Relation 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()