2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
< html lang = "en" >
< head >
2014-11-10 09:02:21 +00:00
<!-- Generated by javadoc (version 1.7.0_51) on Mon Nov 10 04:00:03 EST 2014 -->
< title > mxConnectPreview (mxGraph 3.1.1.1 API Specification)< / title >
< meta name = "date" content = "2014-11-10" >
2014-04-01 11:30:48 +00:00
< link rel = "stylesheet" type = "text/css" href = "../../../../stylesheet.css" title = "Style" >
< / head >
< body >
< script type = "text/javascript" > < ! - -
2012-05-21 20:32:26 +00:00
if (location.href.indexOf('is-external=true') == -1) {
2014-11-10 09:02:21 +00:00
parent.document.title="mxConnectPreview (mxGraph 3.1.1.1 API Specification)";
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
< / script >
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2014-04-01 11:30:48 +00:00
< div class = "topNav" > < a name = "navbar_top" >
<!-- -->
< / a > < a href = "#skip-navbar_top" title = "Skip navigation links" > < / a > < a name = "navbar_top_firstrow" >
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../../overview-summary.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/mxConnectPreview.html" > Use< / a > < / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../../../../index-all.html" > Index< / a > < / li >
< li > < a href = "../../../../help-doc.html" > Help< / a > < / li >
< / ul >
2014-11-10 09:02:21 +00:00
< div class = "aboutLanguage" > < em > < p > < b > mxGraph 3.1.1.1< / b > < / p > < / em > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" >
< li > < a href = "../../../../com/mxgraph/swing/handler/mxConnectionHandler.html" title = "class in com.mxgraph.swing.handler" > < span class = "strong" > Prev Class< / span > < / a > < / li >
< li > < a href = "../../../../com/mxgraph/swing/handler/mxEdgeHandler.html" title = "class in com.mxgraph.swing.handler" > < span class = "strong" > Next Class< / span > < / a > < / li >
< / ul >
< ul class = "navList" >
< li > < a href = "../../../../index.html?com/mxgraph/swing/handler/mxConnectPreview.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "mxConnectPreview.html" target = "_top" > No Frames< / a > < / li >
< / ul >
< ul class = "navList" id = "allclasses_navbar_top" >
< li > < a href = "../../../../allclasses-noframe.html" > All Classes< / a > < / li >
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_top");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
< / script >
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > < a href = "#nested_classes_inherited_from_class_com.mxgraph.util.mxEventSource" > Nested< / a > | < / li >
< li > < a href = "#field_summary" > Field< / a > | < / li >
< li > < a href = "#constructor_summary" > Constr< / a > | < / li >
< li > < a href = "#method_summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > < a href = "#field_detail" > Field< / a > | < / li >
< li > < a href = "#constructor_detail" > Constr< / a > | < / li >
< li > < a href = "#method_detail" > Method< / a > < / li >
< / ul >
< / div >
< a name = "skip-navbar_top" >
<!-- -->
< / a > < / div >
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
2014-04-01 11:30:48 +00:00
< div class = "header" >
< div class = "subTitle" > com.mxgraph.swing.handler< / div >
< h2 title = "Class mxConnectPreview" class = "title" > Class mxConnectPreview< / h2 >
< / div >
< div class = "contentContainer" >
< ul class = "inheritance" >
2014-11-10 09:02:21 +00:00
< li > java.lang.Object< / li >
2014-04-01 11:30:48 +00:00
< li >
< ul class = "inheritance" >
< li > < a href = "../../../../com/mxgraph/util/mxEventSource.html" title = "class in com.mxgraph.util" > com.mxgraph.util.mxEventSource< / a > < / li >
< li >
< ul class = "inheritance" >
< li > com.mxgraph.swing.handler.mxConnectPreview< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< hr >
< br >
< pre > public class < span class = "strong" > mxConnectPreview< / span >
extends < a href = "../../../../com/mxgraph/util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / a > < / pre >
< div class = "block" > Connection handler creates new connections between cells. This control is used to display the connector
icon, while the preview is used to draw the line.< / div >
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ======== NESTED CLASS SUMMARY ======== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "nested_class_summary" >
<!-- -->
< / a >
< h3 > Nested Class Summary< / h3 >
< ul class = "blockList" >
< li class = "blockList" > < a name = "nested_classes_inherited_from_class_com.mxgraph.util.mxEventSource" >
<!-- -->
< / a >
< h3 > Nested classes/interfaces inherited from class com.mxgraph.util.< a href = "../../../../com/mxgraph/util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / a > < / h3 >
< code > < a href = "../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title = "interface in com.mxgraph.util" > mxEventSource.mxIEventListener< / a > < / code > < / li >
< / ul >
< / li >
< / ul >
2012-05-21 20:32:26 +00:00
<!-- =========== FIELD SUMMARY =========== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "field_summary" >
<!-- -->
< / a >
< h3 > Field Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Field Summary table, listing fields, and an explanation" >
< caption > < span > Fields< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
< th class = "colLast" scope = "col" > Field and Description< / th >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected < a href = "../../../../com/mxgraph/swing/mxGraphComponent.html" title = "class in com.mxgraph.swing" > mxGraphComponent< / a > < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#graphComponent" > graphComponent< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected < a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#previewState" > previewState< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected < a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#sourceState" > sourceState< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected < a href = "../../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#startPoint" > startPoint< / a > < / strong > < / code > < / td >
< / tr >
< / table >
< ul class = "blockList" >
< li class = "blockList" > < a name = "fields_inherited_from_class_com.mxgraph.util.mxEventSource" >
<!-- -->
< / a >
< h3 > Fields inherited from class com.mxgraph.util.< a href = "../../../../com/mxgraph/util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / a > < / h3 >
< code > < a href = "../../../../com/mxgraph/util/mxEventSource.html#eventListeners" > eventListeners< / a > , < a href = "../../../../com/mxgraph/util/mxEventSource.html#eventsEnabled" > eventsEnabled< / a > , < a href = "../../../../com/mxgraph/util/mxEventSource.html#eventSource" > eventSource< / a > < / code > < / li >
< / ul >
< / li >
< / ul >
2012-05-21 20:32:26 +00:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "constructor_summary" >
<!-- -->
< / a >
< h3 > Constructor Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Constructor Summary table, listing constructors, and an explanation" >
< caption > < span > Constructors< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colOne" scope = "col" > Constructor and Description< / th >
< / tr >
< tr class = "altColor" >
< td class = "colOne" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#mxConnectPreview(com.mxgraph.swing.mxGraphComponent)" > mxConnectPreview< / a > < / strong > (< a href = "../../../../com/mxgraph/swing/mxGraphComponent.html" title = "class in com.mxgraph.swing" > mxGraphComponent< / a > graphComponent)< / code > < / td >
< / tr >
< / table >
< / li >
< / ul >
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "method_summary" >
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Method Summary table, listing methods, and an explanation" >
< caption > < span > Methods< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
< th class = "colLast" scope = "col" > Method and Description< / th >
< / tr >
< tr class = "altColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > protected java.lang.Object< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#createCell(com.mxgraph.view.mxCellState, java.lang.String)" > createCell< / a > < / strong > (< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > startState,
2014-11-10 09:02:21 +00:00
java.lang.String style)< / code >
2014-04-01 11:30:48 +00:00
< div class = "block" > Creates a new instance of mxShape for previewing the edge.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > protected java.awt.Rectangle< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#getDirtyRect()" > getDirtyRect< / a > < / strong > ()< / code > < / td >
< / tr >
< tr class = "altColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > protected java.awt.Rectangle< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#getDirtyRect(com.mxgraph.util.mxRectangle)" > getDirtyRect< / a > < / strong > (< a href = "../../../../com/mxgraph/util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > dirty)< / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > < a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#getPreviewState()" > getPreviewState< / a > < / strong > ()< / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > < a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#getSourceState()" > getSourceState< / a > < / strong > ()< / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > < a href = "../../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#getStartPoint()" > getStartPoint< / a > < / strong > ()< / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#isActive()" > isActive< / a > < / strong > ()< / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
2014-11-10 09:02:21 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#paint(java.awt.Graphics)" > paint< / a > < / strong > (java.awt.Graphics g)< / code > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#paintPreview(com.mxgraph.canvas.mxGraphics2DCanvas)" > paintPreview< / a > < / strong > (< a href = "../../../../com/mxgraph/canvas/mxGraphics2DCanvas.html" title = "class in com.mxgraph.canvas" > mxGraphics2DCanvas< / a > canvas)< / code >
< div class = "block" > Draws the preview using the graphics canvas.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#revalidate(com.mxgraph.view.mxCellState)" > revalidate< / a > < / strong > (< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
2014-11-10 09:02:21 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#start(java.awt.event.MouseEvent, com.mxgraph.view.mxCellState, java.lang.String)" > start< / a > < / strong > (java.awt.event.MouseEvent e,
2014-04-01 11:30:48 +00:00
< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > startState,
2014-11-10 09:02:21 +00:00
java.lang.String style)< / code >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the style of the edge preview from the incoming edge< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > java.lang.Object< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#stop(boolean)" > stop< / a > < / strong > (boolean commit)< / code > < / td >
< / tr >
< tr class = "altColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > java.lang.Object< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#stop(boolean, java.awt.event.MouseEvent)" > stop< / a > < / strong > (boolean commit,
2014-11-10 09:02:21 +00:00
java.awt.event.MouseEvent e)< / code > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected < a href = "../../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#transformScreenPoint(double, double)" > transformScreenPoint< / a > < / strong > (double x,
double y)< / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
2014-11-10 09:02:21 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/handler/mxConnectPreview.html#update(java.awt.event.MouseEvent, com.mxgraph.view.mxCellState, double, double)" > update< / a > < / strong > (java.awt.event.MouseEvent e,
2014-04-01 11:30:48 +00:00
< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > targetState,
double x,
double y)< / code > < / td >
< / tr >
< / table >
< ul class = "blockList" >
< li class = "blockList" > < a name = "methods_inherited_from_class_com.mxgraph.util.mxEventSource" >
<!-- -->
< / a >
< h3 > Methods inherited from class com.mxgraph.util.< a href = "../../../../com/mxgraph/util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / a > < / h3 >
< code > < a href = "../../../../com/mxgraph/util/mxEventSource.html#addListener(java.lang.String, com.mxgraph.util.mxEventSource.mxIEventListener)" > addListener< / a > , < a href = "../../../../com/mxgraph/util/mxEventSource.html#fireEvent(com.mxgraph.util.mxEventObject)" > fireEvent< / a > , < a href = "../../../../com/mxgraph/util/mxEventSource.html#fireEvent(com.mxgraph.util.mxEventObject, java.lang.Object)" > fireEvent< / a > , < a href = "../../../../com/mxgraph/util/mxEventSource.html#getEventSource()" > getEventSource< / a > , < a href = "../../../../com/mxgraph/util/mxEventSource.html#isEventsEnabled()" > isEventsEnabled< / a > , < a href = "../../../../com/mxgraph/util/mxEventSource.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener)" > removeListener< / a > , < a href = "../../../../com/mxgraph/util/mxEventSource.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener, java.lang.String)" > removeListener< / a > , < a href = "../../../../com/mxgraph/util/mxEventSource.html#setEventsEnabled(boolean)" > setEventsEnabled< / a > , < a href = "../../../../com/mxgraph/util/mxEventSource.html#setEventSource(java.lang.Object)" > setEventSource< / a > < / code > < / li >
< / ul >
< ul class = "blockList" >
< li class = "blockList" > < a name = "methods_inherited_from_class_java.lang.Object" >
<!-- -->
< / a >
2014-11-10 09:02:21 +00:00
< h3 > Methods inherited from class java.lang.Object< / h3 >
< code > clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait< / code > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ============ FIELD DETAIL =========== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "field_detail" >
<!-- -->
< / a >
< h3 > Field Detail< / h3 >
< a name = "graphComponent" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > graphComponent< / h4 >
< pre > protected < a href = "../../../../com/mxgraph/swing/mxGraphComponent.html" title = "class in com.mxgraph.swing" > mxGraphComponent< / a > graphComponent< / pre >
< / li >
< / ul >
< a name = "previewState" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > previewState< / h4 >
< pre > protected < a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > previewState< / pre >
< / li >
< / ul >
< a name = "sourceState" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > sourceState< / h4 >
< pre > protected < a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > sourceState< / pre >
< / li >
< / ul >
< a name = "startPoint" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > startPoint< / h4 >
< pre > protected < a href = "../../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > startPoint< / pre >
< / li >
< / ul >
< / li >
< / ul >
2012-05-21 20:32:26 +00:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "constructor_detail" >
<!-- -->
< / a >
< h3 > Constructor Detail< / h3 >
< a name = "mxConnectPreview(com.mxgraph.swing.mxGraphComponent)" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > mxConnectPreview< / h4 >
< pre > public mxConnectPreview(< a href = "../../../../com/mxgraph/swing/mxGraphComponent.html" title = "class in com.mxgraph.swing" > mxGraphComponent< / a > graphComponent)< / pre >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > graphComponent< / code > - < / dd > < / dl >
< / li >
< / ul >
< / li >
< / ul >
2012-05-21 20:32:26 +00:00
<!-- ============ METHOD DETAIL ========== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "method_detail" >
<!-- -->
< / a >
< h3 > Method Detail< / h3 >
< a name = "createCell(com.mxgraph.view.mxCellState, java.lang.String)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > createCell< / h4 >
2014-11-10 09:02:21 +00:00
< pre > protected java.lang.Object createCell(< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > startState,
java.lang.String style)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Creates a new instance of mxShape for previewing the edge.< / div >
< / li >
< / ul >
< a name = "isActive()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isActive< / h4 >
< pre > public boolean isActive()< / pre >
< / li >
< / ul >
< a name = "getSourceState()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getSourceState< / h4 >
< pre > public < a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > getSourceState()< / pre >
< / li >
< / ul >
< a name = "getPreviewState()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getPreviewState< / h4 >
< pre > public < a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > getPreviewState()< / pre >
< / li >
< / ul >
< a name = "getStartPoint()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getStartPoint< / h4 >
< pre > public < a href = "../../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > getStartPoint()< / pre >
< / li >
< / ul >
< a name = "start(java.awt.event.MouseEvent, com.mxgraph.view.mxCellState, java.lang.String)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > start< / h4 >
2014-11-10 09:02:21 +00:00
< pre > public void start(java.awt.event.MouseEvent e,
2014-04-01 11:30:48 +00:00
< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > startState,
2014-11-10 09:02:21 +00:00
java.lang.String style)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the style of the edge preview from the incoming edge< / div >
< / li >
< / ul >
< a name = "update(java.awt.event.MouseEvent, com.mxgraph.view.mxCellState, double, double)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > update< / h4 >
2014-11-10 09:02:21 +00:00
< pre > public void update(java.awt.event.MouseEvent e,
2014-04-01 11:30:48 +00:00
< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > targetState,
double x,
double y)< / pre >
< / li >
< / ul >
< a name = "getDirtyRect()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getDirtyRect< / h4 >
2014-11-10 09:02:21 +00:00
< pre > protected java.awt.Rectangle getDirtyRect()< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< a name = "getDirtyRect(com.mxgraph.util.mxRectangle)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getDirtyRect< / h4 >
2014-11-10 09:02:21 +00:00
< pre > protected java.awt.Rectangle getDirtyRect(< a href = "../../../../com/mxgraph/util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > dirty)< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< a name = "transformScreenPoint(double, double)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > transformScreenPoint< / h4 >
< pre > protected < a href = "../../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > transformScreenPoint(double x,
double y)< / pre >
< / li >
< / ul >
< a name = "revalidate(com.mxgraph.view.mxCellState)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > revalidate< / h4 >
< pre > public void revalidate(< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
< / li >
< / ul >
< a name = "paint(java.awt.Graphics)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > paint< / h4 >
2014-11-10 09:02:21 +00:00
< pre > public void paint(java.awt.Graphics g)< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< a name = "paintPreview(com.mxgraph.canvas.mxGraphics2DCanvas)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > paintPreview< / h4 >
< pre > protected void paintPreview(< a href = "../../../../com/mxgraph/canvas/mxGraphics2DCanvas.html" title = "class in com.mxgraph.canvas" > mxGraphics2DCanvas< / a > canvas)< / pre >
< div class = "block" > Draws the preview using the graphics canvas.< / div >
< / li >
< / ul >
< a name = "stop(boolean)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > stop< / h4 >
2014-11-10 09:02:21 +00:00
< pre > public java.lang.Object stop(boolean commit)< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< a name = "stop(boolean, java.awt.event.MouseEvent)" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > stop< / h4 >
2014-11-10 09:02:21 +00:00
< pre > public java.lang.Object stop(boolean commit,
java.awt.event.MouseEvent e)< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< / div >
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2014-04-01 11:30:48 +00:00
< div class = "bottomNav" > < a name = "navbar_bottom" >
<!-- -->
< / a > < a href = "#skip-navbar_bottom" title = "Skip navigation links" > < / a > < a name = "navbar_bottom_firstrow" >
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../../overview-summary.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/mxConnectPreview.html" > Use< / a > < / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../../../../index-all.html" > Index< / a > < / li >
< li > < a href = "../../../../help-doc.html" > Help< / a > < / li >
< / ul >
2014-11-10 09:02:21 +00:00
< div class = "aboutLanguage" > < em > < p > < b > mxGraph 3.1.1.1< / b > < / p > < / em > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" >
< li > < a href = "../../../../com/mxgraph/swing/handler/mxConnectionHandler.html" title = "class in com.mxgraph.swing.handler" > < span class = "strong" > Prev Class< / span > < / a > < / li >
< li > < a href = "../../../../com/mxgraph/swing/handler/mxEdgeHandler.html" title = "class in com.mxgraph.swing.handler" > < span class = "strong" > Next Class< / span > < / a > < / li >
< / ul >
< ul class = "navList" >
< li > < a href = "../../../../index.html?com/mxgraph/swing/handler/mxConnectPreview.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "mxConnectPreview.html" target = "_top" > No Frames< / a > < / li >
< / ul >
< ul class = "navList" id = "allclasses_navbar_bottom" >
< li > < a href = "../../../../allclasses-noframe.html" > All Classes< / a > < / li >
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
< / script >
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > < a href = "#nested_classes_inherited_from_class_com.mxgraph.util.mxEventSource" > Nested< / a > | < / li >
< li > < a href = "#field_summary" > Field< / a > | < / li >
< li > < a href = "#constructor_summary" > Constr< / a > | < / li >
< li > < a href = "#method_summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > < a href = "#field_detail" > Field< / a > | < / li >
< li > < a href = "#constructor_detail" > Constr< / a > | < / li >
< li > < a href = "#method_detail" > Method< / a > < / li >
< / ul >
< / div >
< a name = "skip-navbar_bottom" >
<!-- -->
< / a > < / div >
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2014-04-01 11:30:48 +00:00
< p class = "legalCopy" > < small > < font size = 1 > Copyright (c) 2010 < a href = "http://www.mxgraph.com/"
target="_blank">Gaudenz Alder, David Benson< / a > . All rights reserved.< / font > < / small > < / p >
< / body >
< / html >