twaver.gis.link
Class InterceptedLinkUI

java.lang.Object
  extended bytwaver.network.ui.AbstractElementUI
      extended bytwaver.network.ui.LinkUI
          extended bytwaver.gis.link.InterceptedLinkUI
All Implemented Interfaces:
twaver.network.ui.ElementUI

public class InterceptedLinkUI
extends twaver.network.ui.LinkUI

This class defines how to draw InterceptedLink object.


Constructor Summary
InterceptedLinkUI(twaver.network.TNetwork network, twaver.Link link)
           
 
Method Summary
 java.awt.geom.GeneralPath getBundledShape(int type, int bundleIndex, int bundleSize, boolean bundleAgent, java.awt.Point from, java.awt.Point to, twaver.network.TNetwork network)
           
 java.awt.Point getCenterPoint()
           
 java.awt.geom.GeneralPath getPath()
           
static void getPoints(java.awt.geom.GeneralPath path, java.util.List ps, java.util.List segments)
           
 void invalidateShape()
           
 
Methods inherited from class twaver.network.ui.LinkUI
contains, flowForward, getAngle, getBorder, getBundleIndex, getBundleSize, getContainShape, getDashPhase, getExtend, getFlexionStruct, getFlowingColor, getFlowingWidth, getFromAgentBounds, getFromAnchorPoint, getFromArrow, getFromInflexion, getFromPoint, getFromPosition, getFromXOffset, getFromYOffset, getHotspot, getLink, getLinkColor, getLinkWidth, getOrthogonalPoint, getOutlineColor, getOutlineWidth, getProportion, getShape, getStroke, getToAgentBounds, getToAnchorPoint, getToArrow, getToInflexion, getToPoint, getToPosition, getToXOffset, getToYOffset, getUIBounds, installAttachments, is3D, isBundleAgent, isBundleExpand, isFlowing, isFlowingConverse, isFromArrow, isHollow, isLabelRotatable, isLinkBlinking, isToArrow, paint, paintBody, performAction, reverseExpand, setPath, updateClientProperty
 
Methods inherited from class twaver.network.ui.AbstractElementUI
addAttachment, attachments, elementPropertyChange, getAlarmAttachment, getAttachmentAt, getAttachmentOrientation, getAttachmentPosition, getAttachmentXGap, getAttachmentXOffset, getAttachmentYGap, getAttachmentYOffset, getBlinkStruct, getBorderShape, getDefaultBorderInset, getElement, getLabelAttachment, getNetwork, getPaintBodyColor, getStateOutlineColor, isBodyDark, isOutlineDark, mouseClicked, paintAttachments, paintBorder, removeAttachment, setBodyPaint, setLabelAttachment
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptedLinkUI

public InterceptedLinkUI(twaver.network.TNetwork network,
                         twaver.Link link)
Method Detail

getBundledShape

public java.awt.geom.GeneralPath getBundledShape(int type,
                                                 int bundleIndex,
                                                 int bundleSize,
                                                 boolean bundleAgent,
                                                 java.awt.Point from,
                                                 java.awt.Point to,
                                                 twaver.network.TNetwork network)

getCenterPoint

public java.awt.Point getCenterPoint()

getPath

public java.awt.geom.GeneralPath getPath()

getPoints

public static final void getPoints(java.awt.geom.GeneralPath path,
                                   java.util.List ps,
                                   java.util.List segments)

invalidateShape

public void invalidateShape()