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.graph
Class EdgeList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended by
org.eclipse.draw2d.graph.EdgeList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class EdgeList
extends java.util.ArrayList

A list of Edges.

Since:
2.1.2
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
EdgeList ()
           
 
Method Summary
  Edge getEdge (int index)
          Returns the edge for the given index.
 int getSlack ()
          For internal use only.
 int getSourceIndex (int i)
          For intrenal use only.
 int getTargetIndex (int i)
          For internal use only.
 int getWeight ()
          For internal use only.
 boolean isCompletelyFlagged ()
          For internal use only
 void resetFlags (boolean resetTree)
          For internal use only.
 void setFlags (boolean value)
          For internal use only.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

EdgeList

public EdgeList()
Method Detail

getEdge

public 
Edge getEdge(int index)
Returns the edge for the given index.

Parameters:
index - the index of the requested edge
Returns:
the edge at the given index

getSourceIndex

public int getSourceIndex(int i)
For intrenal use only.

Parameters:
i - and index
Returns:
a value

getTargetIndex

public int getTargetIndex(int i)
For internal use only.

Parameters:
i - an index
Returns:
a value

getSlack

public int getSlack()
For internal use only.

Returns:
the minimum slack for this edge list

getWeight

public int getWeight()
For internal use only.

Returns:
the total weight of all edges

isCompletelyFlagged

public boolean isCompletelyFlagged()
For internal use only

Returns:
true if completely flagged

resetFlags

public void resetFlags(boolean resetTree)
For internal use only. Resets all flags.

Parameters:
resetTree - internal

setFlags

public void setFlags(boolean value)
For internal use only.

Parameters:
value - value

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