com.moximedia.aims
Class AimsFolders

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended bycom.moximedia.aims.AimsFolders
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class AimsFolders
extends java.util.Vector
implements java.io.Serializable

Folders are used to organize layers in the IMF. A folder can contain layers, be set to be opened or closed, and has a name. The AimsFolder object is one of a group of folders that can be added to an AimsFolders object.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
AimsFolders()
          Creates new Folders
 
Method Summary
 void addFolder(AimsFolder folder)
          Adds a folder to the folders collection.
 AimsFolder getFolderByName(java.lang.String name)
           
 AimsFolder getFolderByObjectId(int objectId)
           
 AimsLayerGroup getGroupByObjectId(int objectId)
           
 boolean hasLayer(int layerObjectId)
          Returns an indicator of whether a layer with the specified object id is in this object.
 boolean hasLayerListLegends()
           
 void setLevel(int level)
           
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

AimsFolders

public AimsFolders()
Creates new Folders

Method Detail

setLevel

public void setLevel(int level)

addFolder

public void addFolder(AimsFolder folder)
Adds a folder to the folders collection.

Parameters:
folder - An AimsFolder object to add to the end of the folders collection.

getFolderByName

public AimsFolder getFolderByName(java.lang.String name)

getFolderByObjectId

public AimsFolder getFolderByObjectId(int objectId)

getGroupByObjectId

public AimsLayerGroup getGroupByObjectId(int objectId)

hasLayerListLegends

public boolean hasLayerListLegends()

hasLayer

public boolean hasLayer(int layerObjectId)
Returns an indicator of whether a layer with the specified object id is in this object.

Parameters:
layerObjectId - The object id of the target layer.
Returns:
True if found, otherwise false.