JGraphpad Pro
v6.0.5.0


com.jgraph.pad.graph
Class JGraphpadPortView

java.lang.Object
  extended byorg.jgraph.graph.AbstractCellView
      extended byorg.jgraph.graph.PortView
          extended bycom.jgraph.pad.graph.JGraphpadPortView
All Implemented Interfaces:
org.jgraph.graph.CellView, Serializable

public class JGraphpadPortView
extends org.jgraph.graph.PortView

Port view that blocks port magic (optimized locations) for non-rectangular parents

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jgraph.graph.PortView
allowPortMagic, lastParent, renderer, SIZE
 
Fields inherited from class org.jgraph.graph.AbstractCellView
allAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent
 
Constructor Summary
JGraphpadPortView()
          Empty constructor for persistence.
JGraphpadPortView(Object cell)
          Constructs a new port view for the specified cell.
 
Method Summary
protected  boolean shouldInvokePortMagic(org.jgraph.graph.EdgeView edge)
          Avoids port magic for non-rectangular shapes.
 
Methods inherited from class org.jgraph.graph.PortView
getBounds, getHandle, getLocation, getLocation, getLocation, getParentView, getPortSize, getRenderer, setPortSize
 
Methods inherited from class org.jgraph.graph.AbstractCellView
changeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getEditor, getPerimeterPoint, getRendererComponent, includeInGroupBounds, intersects, isLeaf, mergeAttributes, refresh, removeFromParent, scale, setAttributes, setBounds, setCell, translate, update, updateGroupBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGraphpadPortView

public JGraphpadPortView()
Empty constructor for persistence.


JGraphpadPortView

public JGraphpadPortView(Object cell)
Constructs a new port view for the specified cell.

Parameters:
cell - The cell to create the port view for.
Method Detail

shouldInvokePortMagic

protected boolean shouldInvokePortMagic(org.jgraph.graph.EdgeView edge)
Avoids port magic for non-rectangular shapes.


JGraphpad Pro
v6.0.5.0


Copyright (C) 2005 JGraph.com. All rights reserved.