function sizeModeChanged (node, components, size) {
    var sizeMode = size.getSizeMode();
    var x = sizeMode[0];
    var y = sizeMode[1];
    var z = sizeMode[2];
    if (node.onSizeModeChange) node.onSizeModeChange(x, y, z);
    for (var i = 0, len = components.length ; i < len ; i++)
        if (components[i] && components[i].onSizeModeChange)
            components[i].onSizeModeChange(x, y, z);
    size.sizeModeChanged = false;
}
Private method to alert the node and components that size mode changed.

@method
@private

@param {Node} node Node to potentially call sizeModeChanged on
@param {Array} components a list of the nodes' components
@param {Size} size the size class for the Node

@return {undefined} undefined