net.sf.doolin.gui.model
Class EnumListDataFactory<E extends Enum<E>>
java.lang.Object
net.sf.doolin.gui.model.EnumListDataFactory<E>
- Type Parameters:
E - Type of enumeration
- All Implemented Interfaces:
- DataFactory<ca.odell.glazedlists.EventList<E>>
public class EnumListDataFactory<E extends Enum<E>>
- extends Object
- implements DataFactory<ca.odell.glazedlists.EventList<E>>
Returns the value model for a list of enumeration values.
- Author:
- Damien Coraboeuf
|
Method Summary |
ca.odell.glazedlists.EventList<E> |
create(Object context)
Creates an arbitrary object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumListDataFactory
public EnumListDataFactory(Class<E> enumClass)
- Constructor
- Parameters:
enumClass - Enumeration class
create
public ca.odell.glazedlists.EventList<E> create(Object context)
- Description copied from interface:
DataFactory
- Creates an arbitrary object.
- Specified by:
create in interface DataFactory<ca.odell.glazedlists.EventList<E extends Enum<E>>>
- Parameters:
context - Context of creation
- Returns:
- Created object.
Copyright © 2011. All Rights Reserved.