|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.graph.GraphLayoutCache
tico.board.TBoardLayoutCache
public class TBoardLayoutCache
An object that defines the view of a TBoardModel
. This object
maps between model components and views and provides a set of methods to
change these views.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jgraph.graph.GraphLayoutCache |
---|
org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit |
Constructor Summary | |
---|---|
TBoardLayoutCache()
Creates a new TBoardLayoutCache . |
Method Summary | |
---|---|
void |
editAndRemove(java.util.Map attributes,
java.lang.Object[] remove)
Applies the attributeMaps to the components specified in attributes
and removes the components in remove . |
void |
editRoots(java.lang.Object[] components,
org.jgraph.graph.AttributeMap map)
Applies the specified map to all the roots of the
components . |
void |
removeAndInsertGroup(java.lang.Object[] remove,
java.lang.Object group,
java.lang.Object[] children)
Removes the components in remove and insert children
in the specified group . |
void |
removeInsertAndEdit(java.lang.Object[] insert,
java.lang.Object[] remove,
java.util.Map attributes)
Applies the attributeMaps to the components specified in attributes , removes the components in remove
and inserts the components in insert . |
Methods inherited from class org.jgraph.graph.GraphLayoutCache |
---|
addGraphLayoutCacheListener, cellViewsChanged, collapse, createNestedMap, edit, edit, edit, editCell, expand, getAllDescendants, getAllViews, getBounds, getCells, getCells, getCellViews, getCollapseXScale, getCollapseYScale, getFactory, getGraphLayoutCacheListeners, getHiddenCellViews, getHiddenMapping, getIncomingEdges, getLocalAttributes, getMapping, getMapping, getMapping, getModel, getNeighbours, getOutgoingEdges, getPorts, getRoots, getRoots, getVisibleCells, getVisibleSet, graphChanged, hideCells, insert, insert, insert, insert, insertClones, insertEdge, insertGroup, insertViews, isAllAttributesLocal, isAutoSizeOnValueChange, isHidesDanglingConnections, isHidesExistingConnections, isMovesChildrenOnExpand, isMovesParentsOnCollapse, isPartial, isReconnectsEdgesToVisibleParent, isRemembersCellViews, isResizesParentsOnCollapse, isSelectsAllInsertedCells, isSelectsLocalInsertedCells, isShowsChangedConnections, isShowsExistingConnections, isShowsInsertedConnections, isVisible, putMapping, refresh, refresh, reload, remove, remove, removeCells, removeGraphLayoutCacheListener, removeMapping, setAllAttributesLocal, setAutoSizeOnValueChange, setCollapsedState, setCollapseXScale, setCollapseYScale, setFactory, setHiddenSet, setHidesDanglingConnections, setHidesExistingConnections, setLocalAttributes, setModel, setMovesChildrenOnExpand, setMovesParentsOnCollapse, setReconnectsEdgesToVisibleParent, setRemembersCellViews, setResizesParentsOnCollapse, setSelectsAllInsertedCells, setSelectsLocalInsertedCells, setShowsChangedConnections, setShowsExistingConnections, setShowsInsertedConnections, setVisible, setVisible, setVisible, setVisible, setVisibleImpl, setVisibleSet, showCells, toBack, toFront, toggleCollapsedState, translateViews, ungroup, update, update, valueForCellChanged |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TBoardLayoutCache()
TBoardLayoutCache
.
Method Detail |
---|
public void editRoots(java.lang.Object[] components, org.jgraph.graph.AttributeMap map)
map
to all the roots of the
components
.
components
- The components
whose roots will be modifiedmap
- The map
to applypublic void editAndRemove(java.util.Map attributes, java.lang.Object[] remove)
attributes
and removes the components in remove
.
attributes
- Pairs component
- attributeMap
that determines wich objects will receive wich attribute map modificationsremove
- The components
to removepublic void removeAndInsertGroup(java.lang.Object[] remove, java.lang.Object group, java.lang.Object[] children)
remove
and insert children
in the specified group
.
remove
- The components
to removegroup
- The specified target group
children
- The components
to add to group
public void removeInsertAndEdit(java.lang.Object[] insert, java.lang.Object[] remove, java.util.Map attributes)
attributes
, removes the components in remove
and inserts the components in insert
.
insert
- The components
to insertremove
- The components
to removeattributes
- Pairs component
- attributeMap
that determines wich objects will receive wich attribute map modifications
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |