cmu.survey.editor.gui.questions
Class QuestionPanelRenderer
java.lang.Object
cmu.survey.editor.gui.questions.QuestionPanelRenderer
- All Implemented Interfaces:
- ReorderableListModelRenderer<QuestionDataBitSet>
public class QuestionPanelRenderer
- extends java.lang.Object
- implements ReorderableListModelRenderer<QuestionDataBitSet>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHeaderColor
public static final java.awt.Color DefaultHeaderColor
DefaultClearColor
public static final java.awt.Color DefaultClearColor
Gray1
public static final java.awt.Color Gray1
Gray2
public static final java.awt.Color Gray2
QuestionPanelRenderer
public QuestionPanelRenderer(QuestionListPanel questionListPanel,
UndoHandler undoHandler,
DataBitStorage objectStorage)
getRendererFor
public javax.swing.JComponent getRendererFor(QuestionDataBitSet question)
- Specified by:
getRendererFor
in interface ReorderableListModelRenderer<QuestionDataBitSet>
- Returns:
- the panel to render -- may implement CompressiblePanel
getIconFor
public javax.swing.ImageIcon getIconFor(QuestionDataBitSet listItem)
- Specified by:
getIconFor
in interface ReorderableListModelRenderer<QuestionDataBitSet>