java.lang.Object
io.sf.carte.doc.agent.AbstractDeviceFactory
- All Implemented Interfaces:
DeviceFactory
- Direct Known Subclasses:
HeadlessDeviceFactory
A simple, map-backed abstract base class for
DeviceFactory
implementations.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetStyleDatabase
(String medium) Supplies a style database for the given medium.void
setStyleDatabase
(String medium, StyleDatabase db) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.sf.carte.doc.agent.DeviceFactory
createCanvas
-
Constructor Details
-
AbstractDeviceFactory
protected AbstractDeviceFactory()
-
-
Method Details
-
getStyleDatabase
Description copied from interface:DeviceFactory
Supplies a style database for the given medium.- Specified by:
getStyleDatabase
in interfaceDeviceFactory
- Parameters:
medium
- the medium.- Returns:
- the StyleDatabase.
-
setStyleDatabase
-