public abstract class CommonApp<Solution_ extends org.optaplanner.core.api.domain.solution.Solution> 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<Solution_> |
solutionBusiness |
protected SolverAndPersistenceFrame<Solution_> |
solverAndPersistenceFrame |
protected String |
solverConfig |
| Modifier | Constructor and Description |
|---|---|
protected |
CommonApp(String name,
String description,
String solverConfig,
String iconResource) |
| Modifier and Type | Method and Description |
|---|---|
SolutionBusiness<Solution_> |
createSolutionBusiness() |
protected abstract SolutionDao |
createSolutionDao() |
protected AbstractSolutionExporter |
createSolutionExporter() |
protected AbstractSolutionImporter[] |
createSolutionImporters() |
protected abstract SolutionPanel |
createSolutionPanel() |
protected org.optaplanner.core.api.solver.Solver<Solution_> |
createSolver() |
String |
getDescription() |
String |
getIconResource() |
String |
getName() |
void |
init() |
void |
init(Component centerForComponent,
boolean exitOnClose) |
static void |
prepareSwingEnvironment()
Some examples are not compatible with every native LookAndFeel.
|
protected static final org.slf4j.Logger logger
protected final String name
protected final String description
protected final String solverConfig
protected final String iconResource
protected SolverAndPersistenceFrame<Solution_ extends org.optaplanner.core.api.domain.solution.Solution> solverAndPersistenceFrame
protected SolutionBusiness<Solution_ extends org.optaplanner.core.api.domain.solution.Solution> solutionBusiness
public static void prepareSwingEnvironment()
public String getName()
public String getDescription()
public String getIconResource()
public void init()
public void init(Component centerForComponent, boolean exitOnClose)
public SolutionBusiness<Solution_> createSolutionBusiness()
protected org.optaplanner.core.api.solver.Solver<Solution_> createSolver()
protected abstract SolutionPanel createSolutionPanel()
protected abstract SolutionDao createSolutionDao()
protected AbstractSolutionImporter[] createSolutionImporters()
protected AbstractSolutionExporter createSolutionExporter()
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.