org.autoplot.dom.Diff

super class for containing diffs.


doDiff

doDiff( org.autoplot.dom.DomNode node ) → void

perform the difference on the node

Parameters

node - a DomNode

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getDescription

getDescription( ) → String

a one-line description of the difference, suitable for tool tips or labels.

Returns:

a String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getLabel

getLabel( ) → String

a label for the difference, to appear in lists.

Returns:

a String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


propertyName

propertyName( ) → String

name of the affected property, or comma-separated property names. This may include the path to the node, such as canvas.rows[1].left.

Returns:

name of the affected property

[search for examples] [view on GitHub] [view on old javadoc] [view source]


undoDiff

undoDiff( org.autoplot.dom.DomNode node ) → void

perform the reverse of the difference

Parameters

node - a DomNode

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]