MetaDone
metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout Class Reference
Inheritance diagram for metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout:
Collaboration diagram for metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout:

List of all members.

Public Member Functions

boolean shouldLayoutWidget (Widget w)

Protected Member Functions

 MyGraphVizLayout ()
boolean ignoreChild (Widget ch)
Collection< Pair< Widget,
Widget > > 
getEdges (Collection< Widget > widgets)
void updatePosition (Widget widget, Point location)
void performLayout (final Widget widget) throws DelayLayout
boolean clearControlPoints (Widget widget)
void updateControlPoints (Widget source, Widget target, List< Point > controlPoints)

Private Member Functions

Widget getRelatedWidget (Anchor anchor, Collection< Widget > widgets)

Constructor & Destructor Documentation

metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout.MyGraphVizLayout ( ) [protected]

Member Function Documentation

boolean metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout.clearControlPoints ( Widget  widget) [protected]
Collection<Pair<Widget, Widget> > metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout.getEdges ( Collection< Widget >  widgets) [protected, virtual]
Widget metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout.getRelatedWidget ( Anchor  anchor,
Collection< Widget >  widgets 
) [private]
boolean metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout.ignoreChild ( Widget  ch) [protected]

Called to check if the widget should be laid out as a node.

Parameters:
chThe widget the check
Returns:
true if the ch should be ignored as a node

Reimplemented from metadone.client.grasyla2.visuallibrary.GraphVizLayout.

References metadone.util.Objects.equal(), metadone.client.grasyla2.visuallibrary.widgets.NearGroup.getReference(), and metadone.client.grasyla2.visuallibrary.widgets.NearGroup.setReference().

void metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout.performLayout ( final Widget  widget) throws DelayLayout [protected]
boolean metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout.shouldLayoutWidget ( Widget  w) [virtual]

Checks whether a widget children should be laid out.

Parameters:
wThe widget to check
Returns:
true if the children should be laid out

Implements metadone.client.grasyla2.visuallibrary.GraphVizLayout.

References metadone.client.grasyla2.visuallibrary.GrasylaScene.getEngineFromWidget().

void metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout.updateControlPoints ( Widget  source,
Widget  target,
List< Point >  controlPoints 
) [protected]
void metadone.client.grasyla2.visuallibrary.GrasylaScene.MyGraphVizLayout.updatePosition ( Widget  widget,
Point  location 
) [protected]

Updates the position of a widget after the algorithm has found a position.

Parameters:
widgetThe widget
locationThe found location

Reimplemented from metadone.client.grasyla2.visuallibrary.GraphVizLayout.

References metadone.client.grasyla2.visuallibrary.GrasylaScene.saveWidgetPosition().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations