/** * Create a {@link CompositeList} that uses the given <code>publisher</code> and * <code>lock</code>. Note that this publisher and lock will also be used when * {@link #createMemberList building new member lists}. * <p> * This can be a convenient constructor to use when the member lists are prebuilt ahead of time * with a common {@link ListEventPublisher} and {@link ReadWriteLock} and it is desirable to * compose their union with a {@link CompositeList}. * * @param publisher the {@link ListEventPublisher} to use within the {@link CompositeList} * @param lock the {@link ReadWriteLock} to use within the {@link CompositeList} */ public CompositeList(ListEventPublisher publisher, ReadWriteLock lock) { super(new BasicEventList<EventList<E>>(publisher, lock), (Model)GlazedLists.listCollectionListModel()); }
public CompositeList() { super(new BasicEventList<EventList<E>>(), (Model)GlazedLists.listCollectionListModel()); }
/** * Create a {@link CompositeList} that uses the given <code>lock</code>. Note that this lock * will also be used when {@link #createMemberList building new member lists}. * <p> * This can be a convenient constructor to use when the member lists are prebuilt ahead of time * with a common {@link ReadWriteLock} and it is desirable to compose their union with a * {@link CompositeList}. * * @param lock the {@link ReadWriteLock} to use within the {@link CompositeList} * @deprecated replaced by {@link #CompositeList(ListEventPublisher, ReadWriteLock)}, because * prebuilt member lists should share lock <em>and</em> publisher with the * CompositeList. */ public CompositeList(ReadWriteLock lock) { super(new BasicEventList<EventList<E>>(lock), (Model)GlazedLists.listCollectionListModel()); }
public CompositeList() { super(new BasicEventList<EventList<E>>(), (Model)GlazedLists.listCollectionListModel()); }
public CompositeList() { super(new BasicEventList<EventList<E>>(), (Model)GlazedLists.listCollectionListModel()); }
/** * Create a {@link CompositeList} that uses the given <code>lock</code>. Note that this lock * will also be used when {@link #createMemberList building new member lists}. * <p> * This can be a convenient constructor to use when the member lists are prebuilt ahead of time * with a common {@link ReadWriteLock} and it is desirable to compose their union with a * {@link CompositeList}. * * @param lock the {@link ReadWriteLock} to use within the {@link CompositeList} * @deprecated replaced by {@link #CompositeList(ListEventPublisher, ReadWriteLock)}, because * prebuilt member lists should share lock <em>and</em> publisher with the * CompositeList. */ @Deprecated public CompositeList(ReadWriteLock lock) { super(new BasicEventList<EventList<E>>(lock), (Model)GlazedLists.listCollectionListModel()); }
/** * Create a {@link CompositeList} that uses the given <code>publisher</code> and * <code>lock</code>. Note that this publisher and lock will also be used when * {@link #createMemberList building new member lists}. * <p> * This can be a convenient constructor to use when the member lists are prebuilt ahead of time * with a common {@link ListEventPublisher} and {@link ReadWriteLock} and it is desirable to * compose their union with a {@link CompositeList}. * * @param publisher the {@link ListEventPublisher} to use within the {@link CompositeList} * @param lock the {@link ReadWriteLock} to use within the {@link CompositeList} */ public CompositeList(ListEventPublisher publisher, ReadWriteLock lock) { super(new BasicEventList<EventList<E>>(publisher, lock), (Model)GlazedLists.listCollectionListModel()); }
/** * Create a {@link CompositeList} that uses the given <code>publisher</code> and * <code>lock</code>. Note that this publisher and lock will also be used when * {@link #createMemberList building new member lists}. * <p> * This can be a convenient constructor to use when the member lists are prebuilt ahead of time * with a common {@link ListEventPublisher} and {@link ReadWriteLock} and it is desirable to * compose their union with a {@link CompositeList}. * * @param publisher the {@link ListEventPublisher} to use within the {@link CompositeList} * @param lock the {@link ReadWriteLock} to use within the {@link CompositeList} */ public CompositeList(ListEventPublisher publisher, ReadWriteLock lock) { super(new BasicEventList<EventList<E>>(publisher, lock), (Model)GlazedLists.listCollectionListModel()); }
/** * Create a {@link CompositeList} that uses the given <code>lock</code>. Note that this lock * will also be used when {@link #createMemberList building new member lists}. * <p> * This can be a convenient constructor to use when the member lists are prebuilt ahead of time * with a common {@link ReadWriteLock} and it is desirable to compose their union with a * {@link CompositeList}. * * @param lock the {@link ReadWriteLock} to use within the {@link CompositeList} * @deprecated replaced by {@link #CompositeList(ListEventPublisher, ReadWriteLock)}, because * prebuilt member lists should share lock <em>and</em> publisher with the * CompositeList. */ public CompositeList(ReadWriteLock lock) { super(new BasicEventList<EventList<E>>(lock), (Model)GlazedLists.listCollectionListModel()); }