gumbo.visualize.data.layout
Interface LayoutView

All Known Subinterfaces:
LayoutPartView, LayoutWholeView
All Known Implementing Classes:
GraphLayoutEdge, GraphLayoutVertex, GraphLayoutWholeView

public interface LayoutView

A layout element (whole, part) associated with a data view. For a layout element to appear in the display it must be a layout view.

Version:
$Revision: 1.12 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Method Summary
 DataView getDataView()
          Gets the data view associated with this layout view.
 void validateLayoutDisplay(LayoutGraphicTransform xform)
          Called by layout engines to prepare and realize the display state of the graphic view associated with this layout view and any of its dependent layout views, possibly recusively.
 

Method Detail

getDataView

public DataView getDataView()
Gets the data view associated with this layout view.

Returns:
Reference to the data view. The data view graphic must be a GraphicPresence. Never null.

validateLayoutDisplay

public void validateLayoutDisplay(LayoutGraphicTransform xform)
Called by layout engines to prepare and realize the display state of the graphic view associated with this layout view and any of its dependent layout views, possibly recusively. Includes transforming the layout state from layout to graphic space, transferring the layout graphic state to the graphic, and realizing the graphic's display state. For whole layout views, calls validateLayoutDisplay() on each of its layout view parts.

Parameters:
xform - Transform between layout and graphic space. Never null.