- java.lang.Object
-
- org.icepdf.ri.common.SwingControllerFactory
-
- All Implemented Interfaces:
ControllerFactory
public final class SwingControllerFactory extends Object implements ControllerFactory
A factory of SwingController
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Controllercreate()Controllercreate(ResourceBundle bundle)Creates a controller with the given resource bundlestatic SwingControllerFactorygetInstance()
-
-
-
Method Detail
-
getInstance
public static SwingControllerFactory getInstance()
- Returns:
- The factory instance
-
create
public Controller create()
- Specified by:
createin interfaceControllerFactory- Returns:
- A controller with no resource bundle
-
create
public Controller create(ResourceBundle bundle)
Description copied from interface:ControllerFactoryCreates a controller with the given resource bundle- Specified by:
createin interfaceControllerFactory- Parameters:
bundle- The resource bundle- Returns:
- The new controller
-
-