cmu.survey.editor.gui.questions.parts
Class AbstractPartRenderer

java.lang.Object
  extended by cmu.survey.editor.gui.questions.parts.AbstractPartRenderer
All Implemented Interfaces:
ReorderableListModelRenderer<AuxillaryQuestionPart>

public class AbstractPartRenderer
extends java.lang.Object
implements ReorderableListModelRenderer<AuxillaryQuestionPart>


Constructor Summary
AbstractPartRenderer(FocusOtherListener focusOtherListener, Page page, DataBitStorage objectStorage, UndoHandler undoHandler)
           
 
Method Summary
 javax.swing.ImageIcon getIconFor(AuxillaryQuestionPart listItem)
           
 javax.swing.JComponent getRendererFor(AuxillaryQuestionPart listItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPartRenderer

public AbstractPartRenderer(FocusOtherListener focusOtherListener,
                            Page page,
                            DataBitStorage objectStorage,
                            UndoHandler undoHandler)
Method Detail

getRendererFor

public javax.swing.JComponent getRendererFor(AuxillaryQuestionPart listItem)
Specified by:
getRendererFor in interface ReorderableListModelRenderer<AuxillaryQuestionPart>
Returns:
the panel to render -- may implement CompressiblePanel

getIconFor

public javax.swing.ImageIcon getIconFor(AuxillaryQuestionPart listItem)
Specified by:
getIconFor in interface ReorderableListModelRenderer<AuxillaryQuestionPart>