public abstract class ContainerTopicMap extends TopicMap
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<ContainerTopicMapListener> |
containerListeners |
consistencyCheck, consistencyCheckWhenXTMImport, EDITTIME_SI, isReadOnly, logger, parentTopicMap
Constructor and Description |
---|
ContainerTopicMap() |
Modifier and Type | Method and Description |
---|---|
void |
addContainerListener(ContainerTopicMapListener listener) |
void |
addContainerListeners(java.util.List<ContainerTopicMapListener> listeners) |
void |
addLayer(Layer l)
Adds a layer at the bottom of the container.
|
abstract void |
addLayer(Layer l,
int index)
Inserts a layer at the specified position in the container.
|
protected void |
fireLayerAdded(Layer layer) |
protected void |
fireLayerChanged(Layer oldLayer,
Layer newLayer) |
protected void |
fireLayerRemoved(Layer layer) |
protected void |
fireLayerStructureChanged() |
void |
fireLayerVisibilityChanged(Layer layer) |
java.util.List<ContainerTopicMapListener> |
getContainerListeners() |
abstract Layer |
getLayer(java.lang.String name)
Gets the layer with the specified name.
|
abstract java.util.List<Layer> |
getLayers()
Gets all layers in the order they are in the container.
|
abstract int |
getLayerZPos(Layer l)
Gets layer position in the container.
|
Layer |
getLeafLayer(Topic t)
Gets the leaf layer that the specifiec topic belongs to.
|
java.util.List<Layer> |
getLeafLayers()
Returns all leaf layers in the layer tree.
|
void |
getLeafLayers(java.util.ArrayList<Layer> list) |
int |
getNumLayers()
Gets the number of layers in this container.
|
abstract int |
getSelectedIndex()
Gets the selected layer position in the stack.
|
abstract Layer |
getSelectedLayer()
Gets the selected layer.
|
Layer |
getSelectedTreeLayer()
Gets the selected layer in the layer tree.
|
Topic |
getTopicForLayer(Layer l,
Topic t) |
Topic |
getTopicForSelectedTreeLayer(Topic t) |
java.util.Collection<Topic> |
getTopicsForAllLeafLayers(Topic t)
Gets all topics in leaf layer tree layers that merge with the given
topic.
|
abstract java.util.Collection<Topic> |
getTopicsForLayer(Layer l,
Topic t) |
java.util.Collection<Topic> |
getTopicsForSelectedTreeLayer(Topic t)
Get all topics in the selected tree layer topic map that merge with the
given topic.
|
java.util.Collection<Topic> |
getTopicsForTreeLayer(Layer l,
Topic t) |
Layer |
getTreeLayer(java.lang.String name) |
Layer |
getTreeLayer(TopicMap tm) |
java.util.ArrayList<Layer> |
getTreeLayerPath(Layer l,
ContainerTopicMap root)
Finds a layer tree path from root to the given layer.
|
boolean |
getTreeLayerPath(Layer l,
ContainerTopicMap root,
java.util.ArrayList<Layer> stack) |
java.util.List<Layer> |
getTreeLayers()
Gets all layers in the layer tree.
|
void |
getTreeLayers(java.util.ArrayList<Layer> list) |
abstract java.util.List<Layer> |
getVisibleLayers()
Gets all visible layers in the order they are in the container.
|
void |
moveLayer(Layer l,
int pos)
Moves the specified layer in another position.
|
abstract void |
notifyLayersChanged() |
void |
removeContainerListener(ContainerTopicMapListener listener) |
abstract boolean |
removeLayer(Layer l)
Removes the specified layer.
|
abstract void |
reverseLayerOrder() |
abstract void |
selectLayer(Layer layer)
Makes the specified layer the selected layer.
|
abstract void |
setLayer(Layer l,
int pos)
Sets layer in the specified position removing old layer at that position.
|
addTopicMapListener, addTopicMapListeners, checkAssociationConsistency, checkAssociationConsistency, clearTopicMap, clearTopicMapIndexes, close, copyAssociationIn, copyTopicAssociationsIn, copyTopicCollectionIn, copyTopicIn, createAssociation, createLocator, createLocator, createTopic, createTopic, disableAllListeners, enableAllListeners, escapeXML, exportJTM, exportJTM, exportJTM, exportJTM, exportLTM, exportLTM, exportLTM, exportLTM, exportTopicMap, exportTopicMap, exportXTM, exportXTM, exportXTM, exportXTM, exportXTM10, exportXTM10, exportXTM10, exportXTM20, exportXTM20, forceStop, getAssociations, getAssociationsOfType, getConsistencyCheck, getLogger, getMergingTopics, getNumAssociations, getNumTopics, getParentTopicMap, getRootTopicMap, getStatistics, getTopic, getTopic, getTopicBySubjectLocator, getTopicBySubjectLocator, getTopicMapListeners, getTopics, getTopics, getTopics, getTopicsOfType, getTopicsOfType, getTopicWithBaseName, hlog, importJTM, importJTM, importJTM, importJTM, importJTM, importJTM, importLTM, importLTM, importLTM, importLTM, importLTM, importLTM, importTopicMap, importTopicMap, importTopicMap, importXTM, importXTM, importXTM, importXTM, importXTM, isConnected, isReadOnly, isTopicMapChanged, log, log, log, makeJTMString, makeJTMTopicId, makeLTMString, makeLTMTopicId, makeSubjectIndicator, makeSubjectIndicatorAsLocator, mergeIn, mergeIn, removeTopicMapListener, resetTopicMapChanged, search, setConsistencyCheck, setLogger, setLogTitle, setParentTopicMap, setProgress, setProgressMax, setReadOnly, setTrackDependent, trackingDependent
protected java.util.ArrayList<ContainerTopicMapListener> containerListeners
public java.util.List<ContainerTopicMapListener> getContainerListeners()
public void addContainerListener(ContainerTopicMapListener listener)
public void removeContainerListener(ContainerTopicMapListener listener)
public void addContainerListeners(java.util.List<ContainerTopicMapListener> listeners)
protected void fireLayerAdded(Layer layer)
protected void fireLayerRemoved(Layer layer)
protected void fireLayerStructureChanged()
public void fireLayerVisibilityChanged(Layer layer)
public int getNumLayers()
public boolean getTreeLayerPath(Layer l, ContainerTopicMap root, java.util.ArrayList<Layer> stack)
public java.util.ArrayList<Layer> getTreeLayerPath(Layer l, ContainerTopicMap root)
public java.util.Collection<Topic> getTopicsForAllLeafLayers(Topic t)
public Layer getLeafLayer(Topic t)
public java.util.Collection<Topic> getTopicsForSelectedTreeLayer(Topic t)
public void getLeafLayers(java.util.ArrayList<Layer> list)
public java.util.List<Layer> getLeafLayers()
public Layer getTreeLayer(java.lang.String name)
public void getTreeLayers(java.util.ArrayList<Layer> list)
public java.util.List<Layer> getTreeLayers()
public Layer getSelectedTreeLayer()
public abstract java.util.List<Layer> getLayers()
public abstract void notifyLayersChanged()
public abstract int getLayerZPos(Layer l)
public void addLayer(Layer l)
public abstract void setLayer(Layer l, int pos)
public abstract void addLayer(Layer l, int index)
public abstract boolean removeLayer(Layer l)
public void moveLayer(Layer l, int pos)
public abstract Layer getLayer(java.lang.String name)
public abstract Layer getSelectedLayer()
public abstract int getSelectedIndex()
public abstract void selectLayer(Layer layer)
public abstract void reverseLayerOrder()
public abstract java.util.List<Layer> getVisibleLayers()
Copyright 2004-2015 Wandora Team