| java.lang.Object com.projity.pm.graphic.model.cache.ReferenceNodeModelCache
ReferenceNodeModelCache | public class ReferenceNodeModelCache implements ObjectEvent.Listener,HierarchyListener,ScheduleEventListener(Code) | | This class lies between the SpreadSheet and the SpreadSheetModel.
It holds the states directly linked to the view.
The collapsed state and level of the nodes here.
The level is not a view state but it is calculated and cached for performance purposes.
|
Method Summary | |
public void | bindView(VisibleNodes nodes, VisibleDependencies deps) | public void | buildEdges() | public void | changeCollapsedState(GraphicNode gnode) | public void | close() | public void | createDependency(GraphicNode startNode, GraphicNode endNode) | public GraphicNode | createNode(Node node) | protected void | finalize() | public List | getChildren(GraphicNode node) | public Document | getDocument() | public List | getEdges() | public Object | getGraphicDependency(Object base) | public GraphicNode | getGraphicNode(Node node) | public Object | getGraphicNode(Object base) | protected int | getLevel(Node node) | public NodeModel | getModel() | public GraphicNode | getParent(GraphicNode node) | public Object | getRoot() | public int | getType() | protected boolean | isComposite(Node node) | public boolean | isReceiveEvents() | protected boolean | isSummary(Node node) | public void | modifyEdge(GraphicDependency dep, int type) | public GraphicDependency | newGraphicDependency(GraphicNode preGNode, GraphicNode sucGNode, Dependency dep) | public void | nodesChanged(HierarchyEvent e) | public void | nodesInserted(HierarchyEvent e) | public void | nodesRemoved(HierarchyEvent e) | public void | objectChanged(ObjectEvent objectEvent) | public void | removeEdge(GraphicDependency dep) | public void | scheduleChanged(ScheduleEvent e) | public void | setModel(NodeModel model) | public void | setReceiveEvents(boolean receiveEvents) | public void | setType(int type) | public void | structureChanged(HierarchyEvent e) | public String | toString() | public void | unbindView(VisibleNodes nodes, VisibleDependencies deps) | public void | update() | public void | update(boolean reschedule) | public void | update(Set change, boolean reschedule) | public void | update(GraphicNode node, NodeCache newCache, Set change, boolean reschedule) | public void | updateEdges(Set change) | protected void | updateVisibleElements(Set change, Set edgeChange) | protected void | updateVisibleElements(VisibleNodes nodes) |
receiveEvents | protected boolean receiveEvents(Code) | | |
ReferenceNodeModelCache | public ReferenceNodeModelCache(NodeModel model, Document document, int type)(Code) | | Parameters: model - |
buildEdges | public void buildEdges()(Code) | | |
close | public void close()(Code) | | |
getType | public int getType()(Code) | | |
isComposite | protected boolean isComposite(Node node)(Code) | | |
isReceiveEvents | public boolean isReceiveEvents()(Code) | | |
isSummary | protected boolean isSummary(Node node)(Code) | | |
setModel | public void setModel(NodeModel model)(Code) | | Parameters: model - The model to set. |
setReceiveEvents | public void setReceiveEvents(boolean receiveEvents)(Code) | | |
setType | public void setType(int type)(Code) | | |
update | public void update()(Code) | | |
update | public void update(boolean reschedule)(Code) | | |
update | public void update(Set change, boolean reschedule)(Code) | | |
updateEdges | public void updateEdges(Set change)(Code) | | |
updateVisibleElements | protected void updateVisibleElements(Set change, Set edgeChange)(Code) | | |
|
|