se.liu.ida.critiquer.activities.parameters
Class SelectionParameter<T>

java.lang.Object
  extended by se.liu.ida.critiquer.activities.parameters.ActivityParameter<HashSet<T>>
      extended by se.liu.ida.critiquer.activities.parameters.SelectionParameter<T>
All Implemented Interfaces:
Serializable, Parameter<HashSet<T>>, TaskViewParameter<JPanel,T>

public class SelectionParameter<T>
extends ActivityParameter<HashSet<T>>
implements TaskViewParameter<JPanel,T>

See Also:
Serialized Form

Field Summary
protected  JList list
           
 
Fields inherited from class se.liu.ida.critiquer.activities.parameters.ActivityParameter
hasBeenSet, name, oldValue, value, valueUpdate
 
Constructor Summary
SelectionParameter(String name, Activity activity)
           
 
Method Summary
protected  void createList(Vector<T> listObjects)
           
 JPanel getComponent()
           
 JList getList()
           
 void initComponent()
           
 String toString()
           
 
Methods inherited from class se.liu.ida.critiquer.activities.parameters.ActivityParameter
getActivity, getName, getOldValue, getValue, hasValue, setName, setValue, setValue, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

list

protected JList list
Constructor Detail

SelectionParameter

public SelectionParameter(String name,
                          Activity activity)
Method Detail

createList

protected void createList(Vector<T> listObjects)

getComponent

public JPanel getComponent()
Specified by:
getComponent in interface TaskViewParameter<JPanel,T>

initComponent

public void initComponent()
Specified by:
initComponent in interface TaskViewParameter<JPanel,T>

toString

public String toString()
Specified by:
toString in class ActivityParameter<HashSet<T>>

getList

public JList getList()
Returns:
Returns the list.