<divclass=CToolTipid="tt3652"><divclass=CVariable>Defines the color to be used for the coloring valid connection previews. </div></div><divclass=CToolTipid="tt3653"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxGraphView.prototype.validate = function(</td><tdclass=PParameternowrap>cell</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox. </div></div><divclass=CToolTipid="tt3654"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphView.prototype.validateBackground = function()</td></tr></table></blockquote>Calls validateBackgroundImage and validateBackgroundPage.</div></div><divclass=CToolTipid="tt3655"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphView.prototype.validateBackgroundImage = function()</td></tr></table></blockquote>Validates the background image.</div></div><divclass=CToolTipid="tt3656"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphView.prototype.validateBackgroundPage = function()</td></tr></table></blockquote>Validates the background page.</div></div><divclass=CToolTipid="tt3657"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxGraph.prototype.validateCell = function(</td><tdclass=PParameternowrap>cell,</td></tr><tr><td></td><tdclass=PParameternowrap>context</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Hook method for subclassers to return an error message for the given cell and validation context. </div></div><divclass=CToolTipid="tt3658"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxGraphView.prototype.validateCell = function(</td><tdclass=PParameternowrap>cell,</td></tr><tr><td></td><tdclass=PParameternowrap>visible</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Recursively creates the cell state for the given cell if visible is true and the given cell is visible. </div></div><divclass=CToolTipid="tt3659"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxGraphView.prototype.validateCellState = function(</td><tdclass=PParameternowrap>cell,</td></tr><tr><td></td><tdclass=PParameternowrap>recurse</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Validates and repaints the mxCellState for the given mxCell.</div></div><divclass=CToolTipid="tt3660"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxConnectionHandler.prototype.validateConnection = function(</td><tdclass=PParameternowrap>source,</td></tr><tr><td></td><tdclass=PParameternowrap>target</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Returns the error message or an empty string if the connection for the given source target pair is not valid. </div></div><divclass=CToolTipid="tt3661"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeHandler.prototype.validateConnection = function(</td><tdclass=PParameternowrap>sou