org.autoplot.dom.Template

Template for making new nodes. There's a lot to get right when changing the dom, and this should help. Make sure the node is mutable. I added properties to the Connector and this was tricky because before it was not mutable.

Template( )


PROP_CONTROLLER


copy

copy( ) → org.autoplot.dom.DomNode

Returns:

org.autoplot.dom.DomNode

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


diffs

diffs( org.autoplot.dom.DomNode node ) → java.util.List

Parameters

node - a DomNode

Returns:

java.util.List

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


getController

getController( ) → org.autoplot.dom.CanvasController

Returns:

org.autoplot.dom.CanvasController

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


syncTo

syncTo( org.autoplot.dom.DomNode n ) → void

Parameters

n - a DomNode

Returns:

void (returns nothing)

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

syncTo( org.autoplot.dom.DomNode n, java.util.List exclude ) → void