de.uni_paderborn.fujaba.fsa.swing
Class JBendLineGrabLayouter

java.lang.Object
  extended byde.uni_paderborn.fujaba.fsa.swing.GrabLayouter
      extended byde.uni_paderborn.fujaba.fsa.swing.JBendLineGrabLayouter

public class JBendLineGrabLayouter
extends GrabLayouter

Layouts Grabs on JBendLines (for UMLMultiLinks)

Version:
$Revision: 1.10 $
Author:
$Author: lowende $

Field Summary
 
Fields inherited from class de.uni_paderborn.fujaba.fsa.swing.GrabLayouter
TARGET_PROPERTY
 
Method Summary
static GrabLayouter get()
           
 void layout(GrabManager manager)
          layout all the grabs of manager currently the grabs are simply set to their preferred location as determined by layoutGrab and getPreferredLayoutInformation.
protected  void layoutGrab(GrabManager manager, JGrab grab)
          puts the grab to 3/4 of the JBendLine, orientation is ignored
 
Methods inherited from class de.uni_paderborn.fujaba.fsa.swing.GrabLayouter
getDefaultLayouter, getDefaultLayouterClass, getLayouter, getPreferredLayoutInformation, registerLayouterWithJComponent, setDefaultLayouterClass, unregisterLayouterFromJComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static GrabLayouter get()
Returns:
the singleton instance

layout

public void layout(GrabManager manager)
layout all the grabs of manager currently the grabs are simply set to their preferred location as determined by layoutGrab and getPreferredLayoutInformation. Overlapping is not handled

Specified by:
layout in class GrabLayouter
Parameters:
manager - No description provided
See Also:
GrabLayouter.getPreferredLayoutInformation(de.uni_paderborn.fujaba.fsa.swing.JGrab), layoutGrab(de.uni_paderborn.fujaba.fsa.swing.GrabManager, de.uni_paderborn.fujaba.fsa.swing.JGrab)

layoutGrab

protected void layoutGrab(GrabManager manager,
                          JGrab grab)
puts the grab to 3/4 of the JBendLine, orientation is ignored

Parameters:
manager - No description provided
grab - No description provided