crystalspace.jbind.interfaces.iengine.sector
Interface iSectorList

All Superinterfaces:
iBase, iPointer
All Known Implementing Classes:
csSectorList

public interface iSectorList
extends iBase

A list of sectors.

Author:
Java wrapper - Quentin Anciaux, c++ version - http://crystal.sourceforge.net/docs/online/pubapi/structiSectorList.php

Method Summary
 int add(iSector obj)
          Add a sector.
 int find(iSector obj)
          Find a sector and return its index.
 iSector findByName(java.lang.String Name)
          Find a sector by name.
 iSector get(int n)
          Return a sector by index.
 int getCount()
          Return the number of sectors in this list.
 boolean remove(int n)
          Remove the nth sector.
 boolean remove(iSector obj)
          Remove a sector.
 void removeAll()
          Remove all sectors.
 
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe
 
Methods inherited from interface crystalspace.jbind.interfaces.iPointer
changePointer, getPointer, isMemoryOwner, setMemoryOwner
 

Method Detail

add

public int add(iSector obj)
Add a sector.

Parameters:
obj -
Returns:

find

public int find(iSector obj)
Find a sector and return its index.

Parameters:
obj -
Returns:

findByName

public iSector findByName(java.lang.String Name)
Find a sector by name.

Parameters:
Name -
Returns:

get

public iSector get(int n)
Return a sector by index.

Parameters:
n -
Returns:

getCount

public int getCount()
Return the number of sectors in this list.

Returns:

remove

public boolean remove(int n)
Remove the nth sector.

Parameters:
n -
Returns:

remove

public boolean remove(iSector obj)
Remove a sector.

Parameters:
obj -
Returns:

removeAll

public void removeAll()
Remove all sectors.