de.uni_paderborn.fujaba.fsa.swing
Class RhombGrabLayouter

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

public class RhombGrabLayouter
extends GrabLayouter

THE choice for targets with a RhombBorder

Version:
$Revision: 1.11 $
Author:
$Author: lowende $
See Also:
RhombBorder

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 one of the corners of the Rhomb according to the preferred orientation
 
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 one of the corners of the Rhomb according to the preferred orientation

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