org.optaplanner.examples.common.app
Class CommonApp
java.lang.Object
org.optaplanner.examples.common.app.LoggingMain
org.optaplanner.examples.common.app.CommonApp
- Direct Known Subclasses:
- CloudBalancingApp, CurriculumCourseApp, ExaminationApp, MachineReassignmentApp, Manners2009App, NQueensApp, NurseRosteringApp, PatientAdmissionScheduleApp, ProjectJobSchedulingApp, TennisApp, TravelingTournamentApp, TspApp, VehicleRoutingApp
public abstract class CommonApp
- extends LoggingMain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.slf4j.Logger logger
name
protected final String name
description
protected final String description
iconResource
protected final String iconResource
solverAndPersistenceFrame
protected SolverAndPersistenceFrame solverAndPersistenceFrame
solutionBusiness
protected SolutionBusiness solutionBusiness
CommonApp
protected CommonApp(String name,
String description,
String iconResource)
fixateLookAndFeel
public static void fixateLookAndFeel()
- Some examples are not compatible with every native LookAndFeel.
For example,
NurseRosteringPanel
is incompatible with Mac.
getName
public String getName()
getDescription
public String getDescription()
getIconResource
public String getIconResource()
init
public void init()
init
public void init(Component centerForComponent,
boolean exitOnClose)
createSolutionBusiness
public SolutionBusiness createSolutionBusiness()
createSolver
protected abstract Solver createSolver()
createSolutionPanel
protected abstract SolutionPanel createSolutionPanel()
createSolutionDao
protected abstract SolutionDao createSolutionDao()
createSolutionImporter
protected AbstractSolutionImporter createSolutionImporter()
createSolutionExporter
protected AbstractSolutionExporter createSolutionExporter()
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.