Back to index

wims  3.65+svn20090927
Package Functions | Package Attributes
Diagram Class Reference
Inheritance diagram for Diagram:
Inheritance graph
[legend]
Collaboration diagram for Diagram:
Collaboration graph
[legend]

List of all members.

Package Functions

DiagramItem nearby (int x, int y)
DiagramItem nearby (int x, int y)

Package Attributes

KansBoom editor
VrijeInvulVeld editor

Detailed Description

Definition at line 503 of file KansBoom.java.


Member Function Documentation

DiagramItem Diagram.nearby ( int  x,
int  y 
) [inline, package]

Definition at line 399 of file VrijeInvulVeld.java.

                                    {
       DiagramItem bestitem = null;
       double bestdist = 6;
       for(Enumeration e = elements(); e.hasMoreElements(); ) {
           DiagramItem item = (DiagramItem)e.nextElement();
           double dist = item.distance(x, y);
           if(dist < bestdist) {
              bestitem = item;
              bestdist = dist;
           }
       }
       return bestitem;
    }

Here is the call graph for this function:

DiagramItem Diagram.nearby ( int  x,
int  y 
) [inline, package]

Definition at line 505 of file KansBoom.java.

                                    {
       DiagramItem bestitem = null;
       double bestdist = 6;
       for(Enumeration e = elements(); e.hasMoreElements(); ) {
           DiagramItem item = (DiagramItem)e.nextElement();
           double dist = item.distance(x, y);
           if(dist < bestdist) {
              bestitem = item;
              bestdist = dist;
           }
       }
       return bestitem;
    }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 398 of file VrijeInvulVeld.java.

Definition at line 504 of file KansBoom.java.


The documentation for this class was generated from the following files: