Package gui.controller.main
Class CommandButtonFactory
java.lang.Object
gui.controller.main.CommandButtonFactory
- All Implemented Interfaces:
ExceptionProvider
,SingleElementProvider<ArrayList<CommandDescription>>
public class CommandButtonFactory
extends Object
implements SingleElementProvider<ArrayList<CommandDescription>>
-
Constructor Summary
ConstructorDescriptionCommandButtonFactory
(JPanel panelToFill, RepaintCallback callback, ExceptionProvider... providers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptElement
(ArrayList<CommandDescription> descriptions) void
void
void
-
Constructor Details
-
CommandButtonFactory
public CommandButtonFactory(JPanel panelToFill, RepaintCallback callback, ExceptionProvider... providers)
-
-
Method Details
-
acceptException
- Specified by:
acceptException
in interfaceExceptionProvider
-
acceptElement
- Specified by:
acceptElement
in interfaceSingleElementProvider<ArrayList<CommandDescription>>
-
fillAsync
public void fillAsync() -
changeLocale
public void changeLocale()
-