uk.ac.starlink.ttools.plot2.config
Class CaptionerKeySet

java.lang.Object
  extended by uk.ac.starlink.ttools.plot2.config.CaptionerKeySet
All Implemented Interfaces:
KeySet<Captioner>

public class CaptionerKeySet
extends Object
implements KeySet<Captioner>

ConfigKeySet for specifying a captioner. Font size, type, weight are configurable as well as plain/latex rendering.

Since:
6 Mar 2014
Author:
Mark Taylor

Constructor Summary
CaptionerKeySet()
          Constructor.
 
Method Summary
 Captioner createValue(ConfigMap config)
          Creates a typed value based on the values in a map corresponding to this object's keys.
 ConfigKey[] getKeys()
          The config keys used to specify an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptionerKeySet

public CaptionerKeySet()
Constructor.

Method Detail

getKeys

public ConfigKey[] getKeys()
Description copied from interface: KeySet
The config keys used to specify an object.

Specified by:
getKeys in interface KeySet<Captioner>
Returns:
fixed list of config keys

createValue

public Captioner createValue(ConfigMap config)
Description copied from interface: KeySet
Creates a typed value based on the values in a map corresponding to this object's keys.

Specified by:
createValue in interface KeySet<Captioner>
Parameters:
config - map for which the values corresponding to getKeys will be examined
Returns:
specified typed value


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.