com.vividsolutions.jump.workbench.model
Class Category
java.lang.Object
com.vividsolutions.jump.workbench.model.Category
public class Category
- extends java.lang.Object
A folder containing Layers.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Category
public Category()
setName
public void setName(java.lang.String name)
getTask
public Task getTask()
setLayerManager
public void setLayerManager(LayerManager layerManager)
fireCategoryChanged
public void fireCategoryChanged(CategoryEventType type)
getLayerManager
public LayerManager getLayerManager()
getPersistentLayerables
public java.util.List getPersistentLayerables()
- Called by Java2XML
- Returns:
- Layerables with enough information to be saved to a project file
getLayerables
public java.util.List getLayerables()
remove
public void remove(Layerable layerable)
indexOf
public int indexOf(Layerable layerable)
- Returns:
- -1 if the category does not contain the layerable
contains
public boolean contains(Layerable layerable)
add
public void add(int index,
Layerable layerable)
- Parameters:
index - 0 to add to the top
addPersistentLayerable
public void addPersistentLayerable(Layerable layerable)
- Called by Java2XML
isEmpty
public boolean isEmpty()
getName
public java.lang.String getName()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object