| com.jgraph.pad.graph.JGraphpadGraphLayoutCache
JGraphpadGraphLayoutCache | public class JGraphpadGraphLayoutCache extends GraphLayoutCache (Code) | | GraphLayoutCache to be used in JGraphpad files. Generally, due to the
collapse/expand feature present in JGraphpad, all layout caches are partial.
|
Constructor Summary | |
public | JGraphpadGraphLayoutCache() Constructs a new graph layout cache with a
JGraphpadGraphModel and partial set to true. | public | JGraphpadGraphLayoutCache(GraphModel model, boolean partial) Constructs a new graph layout cache for the specified model. | public | JGraphpadGraphLayoutCache(GraphModel model, Set visibleSet, boolean partial) Constructs a new graph layout cache which has all its state stored in the
visible set, eg if the cache is partial, but does not contain view-local
attributes. | public | JGraphpadGraphLayoutCache(GraphModel model, CellViewFactory factory, CellView[] cellViews, CellView[] hiddenCellViews, boolean partial) Constructs a new graph layout cache for the specified parameters. |
Method Summary | |
public boolean | getPartial() Workaround for the XMLEncoder. |
JGraphpadGraphLayoutCache | public JGraphpadGraphLayoutCache()(Code) | | Constructs a new graph layout cache with a
JGraphpadGraphModel and partial set to true.
|
JGraphpadGraphLayoutCache | public JGraphpadGraphLayoutCache(GraphModel model, boolean partial)(Code) | | Constructs a new graph layout cache for the specified model.
Parameters: model - The model to contruct the graph layout cache for. Parameters: partial - Whether the graph layout cache should be partial. |
JGraphpadGraphLayoutCache | public JGraphpadGraphLayoutCache(GraphModel model, Set visibleSet, boolean partial)(Code) | | Constructs a new graph layout cache which has all its state stored in the
visible set, eg if the cache is partial, but does not contain view-local
attributes.
Parameters: model - The model to constructs the graph layout cache for. Parameters: visibleSet - The set of the visible cells. Parameters: partial - Whether the graph layout cache should be partial. |
JGraphpadGraphLayoutCache | public JGraphpadGraphLayoutCache(GraphModel model, CellViewFactory factory, CellView[] cellViews, CellView[] hiddenCellViews, boolean partial)(Code) | | Constructs a new graph layout cache for the specified parameters.
|
getPartial | public boolean getPartial()(Code) | | Workaround for the XMLEncoder. The XMLEncoder, for some strange reason,
does not call "isPartial" for this property.
|
|
|