org.optaplanner.examples.common.app
public abstract class CommonApp extends LoggingMain
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected String |
iconResource |
protected static org.slf4j.Logger |
logger |
protected String |
name |
protected SolutionBusiness |
solutionBusiness |
protected SolverAndPersistenceFrame |
solverAndPersistenceFrame |
Modifier | Constructor and Description |
---|---|
protected |
CommonApp(String name,
String description,
String iconResource) |
Modifier and Type | Method and Description |
---|---|
SolutionBusiness |
createSolutionBusiness() |
protected abstract SolutionDao |
createSolutionDao() |
protected AbstractSolutionExporter |
createSolutionExporter() |
protected AbstractSolutionImporter |
createSolutionImporter() |
protected abstract SolutionPanel |
createSolutionPanel() |
protected abstract org.optaplanner.core.api.solver.Solver |
createSolver() |
static void |
fixateLookAndFeel()
Some examples are not compatible with every native LookAndFeel.
|
String |
getDescription() |
String |
getIconResource() |
String |
getName() |
void |
init() |
void |
init(Component centerForComponent,
boolean exitOnClose) |
protected static final org.slf4j.Logger logger
protected final String name
protected final String description
protected final String iconResource
protected SolverAndPersistenceFrame solverAndPersistenceFrame
protected SolutionBusiness solutionBusiness
public static void fixateLookAndFeel()
NurseRosteringPanel
is incompatible with Mac.public String getName()
public String getDescription()
public String getIconResource()
public void init()
public void init(Component centerForComponent, boolean exitOnClose)
public SolutionBusiness createSolutionBusiness()
protected abstract org.optaplanner.core.api.solver.Solver createSolver()
protected abstract SolutionPanel createSolutionPanel()
protected abstract SolutionDao createSolutionDao()
protected AbstractSolutionImporter createSolutionImporter()
protected AbstractSolutionExporter createSolutionExporter()
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.