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.util

Class NewNodePlacement

com.gentleware.jboogie.util.NewNodePlacement

public class NewNodePlacement


see constructor Created: 13.02.2003 13:48:45

Authors:
Stephen Kelvin


 Attribute Summary
public static NewNodePlacement  TO_EAST_ALIGN_NORTH
 
private static IterativePolarLocatorDecorator  TO_EAST_FROM_NORTH_EAST
 
public static NewNodePlacement  TO_NORTH_ALIGN_WEST
 
private static IterativePolarLocatorDecorator  TO_NORTH_FROM_NORTH_WEST
 
public static NewNodePlacement  TO_SOUTH_ALIGN_WEST
 
private static IterativePolarLocatorDecorator  TO_SOUTH_FROM_SOUTH_WEST
 
public static NewNodePlacement  TO_WEST_ALIGN_NORTH
 
private static IterativePolarLocatorDecorator  TO_WEST_FROM_NORTH_WEST
 
private static int  _delta
 
arrow_up
 

 Association Summary
private GraphNodePointLocator  _fixedNodeLocator
 
private GraphNodePointLocator  _newNodeLocator
 
arrow_up
 

 Constructor Summary
public   NewNodePlacement(GraphNodePointLocator fixedNodeLocator, GraphNodePointLocator newNodeLocator)
You need two locators: one to determine the position relative to the fixed node, and one to adjust the new node. 
arrow_up
 

 Method Summary
public GraphNodePointLocator   getFixedNodeLocator()
 
public GraphNodePointLocator   getNewNodeLocator()
 
arrow_up
 

Tagged Values
static false
 

 Attribute Detail

TO_EAST_ALIGN_NORTH

public static NewNodePlacement TO_EAST_ALIGN_NORTH

arrow_up


TO_EAST_FROM_NORTH_EAST

private static IterativePolarLocatorDecorator TO_EAST_FROM_NORTH_EAST

arrow_up


TO_NORTH_ALIGN_WEST

public static NewNodePlacement TO_NORTH_ALIGN_WEST

arrow_up


TO_NORTH_FROM_NORTH_WEST

private static IterativePolarLocatorDecorator TO_NORTH_FROM_NORTH_WEST

arrow_up


TO_SOUTH_ALIGN_WEST

public static NewNodePlacement TO_SOUTH_ALIGN_WEST

arrow_up


TO_SOUTH_FROM_SOUTH_WEST

private static IterativePolarLocatorDecorator TO_SOUTH_FROM_SOUTH_WEST

arrow_up


TO_WEST_ALIGN_NORTH

public static NewNodePlacement TO_WEST_ALIGN_NORTH

arrow_up


TO_WEST_FROM_NORTH_WEST

private static IterativePolarLocatorDecorator TO_WEST_FROM_NORTH_WEST

arrow_up


_delta

private static int _delta

arrow_up
 Association Detail

_fixedNodeLocator

private GraphNodePointLocator _fixedNodeLocator

arrow_up


_newNodeLocator

private GraphNodePointLocator _newNodeLocator

arrow_up
 Constructor Detail

NewNodePlacement

public NewNodePlacement NewNodePlacement(GraphNodePointLocator fixedNodeLocator, GraphNodePointLocator newNodeLocator)


You need two locators: one to determine the position relative to the fixed node, and one to adjust the new node. for example, it makes a difference if the fixed locator determines a distance 200 points to the north or to the south: you cannot just put the nodes top left corner there - otherwise the north node would be closer to the original node than the south node.  
Parameters:
fixedNodeLocator - - the locator which determines (depending on the fixed nodes position) where the center of the new node might be
newNodeLocator - - this is the locator which helps layouting the new node after the target position has been found.
Returns:
arrow_up
 Method Detail

getFixedNodeLocator

public GraphNodePointLocator getFixedNodeLocator()

Returns:
arrow_up


getNewNodeLocator

public GraphNodePointLocator getNewNodeLocator()

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.