Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Draw2d
3.3

org.eclipse.draw2d
Interface ConnectionRouter

All Known Implementing Classes:
AbstractRouter

public interface ConnectionRouter

Routes a Connection, possibly using a constraint.


Nested Class Summary
static class ConnectionRouter.NullConnectionRouter
          Routes Connections directly from the source anchor to the target anchor with no bendpoints in between.
 
Field Summary
static  ConnectionRouter NULL
          The default router for Connections.
 
Method Summary
 java.lang.Object getConstraint ( Connection connection)
          Returns the constraint for the Connection.
 void invalidate ( Connection connection)
          Invalidates the given Connection.
 void remove ( Connection connection)
          Removes the Connection from this router.
 void route ( Connection connection)
          Routes the Connection.
 void setConstraint ( Connection connection, java.lang.Object constraint)
          Maps the given constraint to the given Connection.
 

Field Detail

NULL

public static final 
ConnectionRouter NULL
The default router for Connections.

Method Detail

getConstraint

public java.lang.Object getConstraint(
Connection connection)
Returns the constraint for the Connection.

Parameters:
connection - The connection
Returns:
The constraint

invalidate

public void invalidate(
Connection connection)
Invalidates the given Connection.

Parameters:
connection - The connection to be invalidated

route

public void route(
Connection connection)
Routes the Connection.

Parameters:
connection - The Connection to route

remove

public void remove(
Connection connection)
Removes the Connection from this router.

Parameters:
connection - The Connection to remove

setConstraint

public void setConstraint(
Connection connection,
                          java.lang.Object constraint)
Maps the given constraint to the given Connection.

Parameters:
connection - The Connection
constraint - The constraint

Eclipse Draw2d
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire