fr.jussieu.gla.wasa.samples.magicsquare
Class MagicSquareSample
java.lang.Object
|
+--fr.jussieu.gla.wasa.samples.AbstractSample
|
+--fr.jussieu.gla.wasa.samples.magicsquare.MagicSquareSample
- public class MagicSquareSample
- extends AbstractSample
The Magic Square sample.
- Version:
- 1.0
- Author:
- Florent Selva, Laurent Caillette
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MagicSquareSample
public MagicSquareSample()
createInputPanel
public InputPanel createInputPanel()
- Creates and returns an
NumberInputPanel
specialized for the
magic square.
- Overrides:
createInputPanel
in class AbstractSample
createProblem
public Problem createProblem()
- Creates and returns the MagicSquare problem.
- Overrides:
createProblem
in class AbstractSample
printResult
public void printResult()
- Displays informations about the magic square.
- Overrides:
printResult
in class AbstractSample
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
textMode
public void textMode()
- Launches a pre-configured
MagicSquareProblem
without the Monitor
.
- Overrides:
textMode
in class AbstractSample
main
public static void main(java.lang.String[] args)
- Launches a pre-configured
MagicSquareProblem
without the Monitor
.