Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.jboogie.layout

Class LayoutableEdges

com.gentleware.jboogie.layout.LayoutableEdges

public class LayoutableEdges


LayoutableEdges contains methods to operate on a LayoutableEdge (i.e. methods common to all LayoutableEdge subclasses).

Authors:
Stephen Kelvin


 Constructor Summary
private   LayoutableEdges()
 
arrow_up
 

 Method Summary
public static void   adjustAdornmentWhenWaypointAdded(LayoutableEdge edge, int index, double x, double y)
 
public static void   adjustAdornmentWhenWaypointRemoved(LayoutableEdge edge, int index)
 
public static Point2D[]   cloneWaypoints(LayoutableEdge edge)
 
public static double   getAngleAtWaypoint(LayoutableEdge edge, int index)
 
public static PBounds   getBounds(LayoutableEdge edge)
 
public static int   getNextWaypointIndex(int index)
 
public static int   getPositiveWaypointIndex(LayoutableEdge edge, int index)
 
public static int   getPreviousWaypointIndex(int index)
 
public static Point2D[]   getResizedWaypoints(LayoutableEdge layoutableEdge, double width, double height)
 
public static double   getSegmentLength(LayoutableEdge edge, int waypointIndex)
 
public static Point2D[]   getTranslatedWaypoints(LayoutableEdge layoutableEdge, double x, double y)
 
public static boolean   hasNextWaypoint(LayoutableEdge edge, int index)
 
public static boolean   hasPreviousWaypoint(int index)
 
public static boolean   isSelfEdge(LayoutableEdge edge)
 
arrow_up
 

Tagged Values
static false
 

 Constructor Detail

LayoutableEdges

private LayoutableEdges LayoutableEdges()

Returns:
arrow_up
 Method Detail

adjustAdornmentWhenWaypointAdded

public static void adjustAdornmentWhenWaypointAdded(LayoutableEdge edge, int index, double x, double y)

Parameters:
edge -
index -
x -
y -
arrow_up


adjustAdornmentWhenWaypointRemoved

public static void adjustAdornmentWhenWaypointRemoved(LayoutableEdge edge, int index)

Parameters:
edge -
index -
arrow_up


cloneWaypoints

public static Point2D[] cloneWaypoints(LayoutableEdge edge)

Parameters:
edge -
Returns:
arrow_up


getAngleAtWaypoint

public static double getAngleAtWaypoint(LayoutableEdge edge, int index)

Parameters:
edge -
index -
Returns:
arrow_up


getBounds

public static PBounds getBounds(LayoutableEdge edge)

Parameters:
edge -
Returns:
arrow_up


getNextWaypointIndex

public static int getNextWaypointIndex(int index)

Parameters:
index -
Returns:
arrow_up


getPositiveWaypointIndex

public static int getPositiveWaypointIndex(LayoutableEdge edge, int index)

Parameters:
edge -
index -
Returns:
arrow_up


getPreviousWaypointIndex

public static int getPreviousWaypointIndex(int index)

Parameters:
index -
Returns:
arrow_up


getResizedWaypoints

public static Point2D[] getResizedWaypoints(LayoutableEdge layoutableEdge, double width, double height)

Parameters:
layoutableEdge -
width -
height -
Returns:
arrow_up


getSegmentLength

public static double getSegmentLength(LayoutableEdge edge, int waypointIndex)

Parameters:
edge -
waypointIndex -
Returns:
arrow_up


getTranslatedWaypoints

public static Point2D[] getTranslatedWaypoints(LayoutableEdge layoutableEdge, double x, double y)

Parameters:
layoutableEdge -
x -
y -
Returns:
arrow_up


hasNextWaypoint

public static boolean hasNextWaypoint(LayoutableEdge edge, int index)

Parameters:
edge -
index -
Returns:
arrow_up


hasPreviousWaypoint

public static boolean hasPreviousWaypoint(int index)

Parameters:
index -
Returns:
arrow_up


isSelfEdge

public static boolean isSelfEdge(LayoutableEdge edge)

Parameters:
edge -
Returns:
arrow_up
Created  2004 - 10 - 21

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.