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() |
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 iconResource
protected SolverAndPersistenceFrame solverAndPersistenceFrame
protected SolutionBusiness 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 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–2015 JBoss by Red Hat. All rights reserved.