C
- the type of the componentpublic static class SolveExerciseDialog.SolutionEntry<C extends java.awt.Component>
extends java.lang.Object
SolveExerciseDialog
.
Constructor and Description |
---|
SolveExerciseDialog.SolutionEntry(java.lang.String label,
C component)
Creates a new solution entry.
|
Modifier and Type | Method and Description |
---|---|
C |
getComponent()
Gets the component of the entry.
|
java.lang.String |
getLabel()
Gets the label of the entry.
|
public SolveExerciseDialog.SolutionEntry(java.lang.String label, C component) throws java.lang.IllegalArgumentException
label
- the label of the entry (can contain html tags to format the text)component
- the component of the entryjava.lang.IllegalArgumentException
- public final java.lang.String getLabel()
public final C getComponent()