Package io.sf.carte.doc.agent
Class AbstractDeviceFactory
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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetStyleDatabase(String medium) Supplies a style database for the given medium.voidsetStyleDatabase(String medium, StyleDatabase db) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.sf.carte.doc.agent.DeviceFactorycreateCanvas
- 
Constructor Details- 
AbstractDeviceFactoryprotected AbstractDeviceFactory()
 
- 
- 
Method Details- 
getStyleDatabaseDescription copied from interface:DeviceFactorySupplies a style database for the given medium.- Specified by:
- getStyleDatabasein interface- DeviceFactory
- Parameters:
- medium- the medium.
- Returns:
- the StyleDatabase.
 
- 
setStyleDatabase
 
-