public class ProfileListModel extends AbstractListModel implements TypedListModel<Property>, ListDataListener
Modifier and Type | Field and Description |
---|---|
protected TypedListModel<Property> |
fields |
protected Boolean |
visibility |
protected List<Integer> |
visibleIndex |
listenerList
Constructor and Description |
---|
ProfileListModel(Hashtable<String,Profile<Property>> profiles,
Boolean visibility) |
ProfileListModel(Profile<Property> profile) |
ProfileListModel(Profile<Property> profile,
Boolean visibility) |
ProfileListModel(TypedListModel<Property> fields) |
ProfileListModel(TypedListModel<Property> fields,
Boolean visibility) |
Modifier and Type | Method and Description |
---|---|
protected Property |
addElement(Property p,
Boolean visibility) |
void |
contentsChanged(ListDataEvent e) |
Property |
getElementAt(int index) |
int |
getSize() |
protected int |
getVisibleIndex(int index) |
void |
intervalAdded(ListDataEvent e) |
void |
intervalRemoved(ListDataEvent e) |
protected void |
setVisible(Boolean visibility) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListDataListener, removeListDataListener
protected TypedListModel<Property> fields
protected Boolean visibility
public ProfileListModel(Hashtable<String,Profile<Property>> profiles, Boolean visibility)
public ProfileListModel(TypedListModel<Property> fields)
public ProfileListModel(TypedListModel<Property> fields, Boolean visibility)
protected void setVisible(Boolean visibility)
public Property getElementAt(int index)
getElementAt
in interface TypedListModel<Property>
getElementAt
in interface ListModel
protected int getVisibleIndex(int index)
public void contentsChanged(ListDataEvent e)
contentsChanged
in interface ListDataListener
public void intervalAdded(ListDataEvent e)
intervalAdded
in interface ListDataListener
public void intervalRemoved(ListDataEvent e)
intervalRemoved
in interface ListDataListener
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.