cmu.survey.editor.gui.pages
Class PagePanelRenderer

java.lang.Object
  extended by cmu.survey.editor.gui.pages.PagePanelRenderer
All Implemented Interfaces:
ReorderableListModelRenderer<Page>

public class PagePanelRenderer
extends java.lang.Object
implements ReorderableListModelRenderer<Page>


Constructor Summary
PagePanelRenderer(java.awt.Component parentComponentToRefresh, SurveyEditorPanel surveyEditorPanel)
           
 
Method Summary
 javax.swing.ImageIcon getIconFor(Page listItem)
           
 javax.swing.JComponent getRendererFor(Page page)
           
 PagePanel getRendererFor(Page page, boolean isCompressed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagePanelRenderer

public PagePanelRenderer(java.awt.Component parentComponentToRefresh,
                         SurveyEditorPanel surveyEditorPanel)
Method Detail

getRendererFor

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

getRendererFor

public PagePanel getRendererFor(Page page,
                                boolean isCompressed)

getIconFor

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