public interface Mergeable
extends java.io.Serializable, java.lang.Cloneable
Rule
classes to specify how an item in a Dataview, such
as a cell in a table header or a number in a graph, should be rendered.
Because several different Rules can affect the properties
that determine how an object is rendered, the classes that define these
properties must be able to be merged together to make a single set of
specifications for rendering a Dataview.
For example, the ViewFormat, which groups properties that
specify how numbers are formatted in a Dataview, implements
this interface.
Imagine a ViewFormat in which the
ScaleFactor property has been set, and another
ViewFormat in which the CurrencySymbol format has
been set.
These two ViewFormat objects can be merged, resulting in
a single ViewFormat in which both the ScaleFactor
and CurrencySymbol properties are set.
Rule,
ViewFormat| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones this object.
|
boolean |
isAnythingOverridden()
Specifies whether any property has been explicitly set.
|
void |
merge(Mergeable from)
Merges the specified object with this object.
|
boolean isAnythingOverridden()
true - if any property has been set explicitly,
even if the set value is the same as the previous value,
false if no property has been set.void merge(Mergeable from)
from - The Mergeable object from which to get
property values to merge over the property values of
this object. Normally from is the
Mergeable object from the Rule
that applies and is being run.java.lang.Object clone()