info.aduna.clustermap.config
Class ClusterMapConfigurator
java.lang.Object
info.aduna.clustermap.config.ClusterMapConfigurator
public class ClusterMapConfigurator
- extends Object
ClusterMapConfigurator is able to manage the properties of a ClusterMap and
its contained components through a single point of access.
All properties are set using key-value or key-subject-value tuples specified
to the set method. The keys and some symbolic values are defined in
ClusterMapConstants.
Subjects, if specified, are typically data model objects such as
Classifications and Clusters. If not applicable, null can be specified.
The settings only become activated when the apply method is invoked. Settings
are applied only once: only the properties that are specified after an
invocation of the apply method are performed in the next invocation of the
apply method. When a key is used twice in the set method inbetween
invocations of the apply method, only the last value is applied.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_RENDERING_WATERMARK_TEXT
public static final String KEY_RENDERING_WATERMARK_TEXT
- See Also:
- Constant Field Values
ClusterMapConfigurator
public ClusterMapConfigurator(ClusterMap map)
- Creates a new ClusterMapConfigurator that will configure the settings of
the specified ClusterMap.
set
public void set(String key,
Object subject,
Object value)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
apply
public void apply()
parse
public Object parse(String key,
Object subject,
Object value)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
get
public Object get(String key,
Object subject)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getDefault
public Object getDefault(String key,
Object subject)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
Copyright © 1997-2008 Aduna. All Rights Reserved.