|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
databionics.esom.renderer.foreground.ForegroundList
public class ForegroundList
List that holds ForegroundRenderers.
| Field Summary | |
|---|---|
protected int |
bmSize
Size in grid-neurons for the smallest bm. |
protected static org.apache.log4j.Logger |
log
interface to log4j system |
protected int |
renderPosition
One of the constants RENDER_POSTTILE,RENDER_MASK or RENDER_PRETILE from ForegroundRenderer.java. |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
ForegroundList()
Standard constructor. |
|
ForegroundList(int rndPos)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addForeground(ForegroundRenderer fg)
Adds a foregroundRenderer to thid list at the right position, depending on its RndLayer. |
int |
getBmSize()
|
ForegroundRenderer |
getForeground(int index)
Get a foregroundrenderer with casting |
StringList |
getListOfNames()
Get a list of the names of the forgrounds |
int |
getRenderPosition()
Set the RenderPosition. |
void |
orderBmSizes()
Orders the Sizes of eventually contained Bestmatchrenderers descending. |
void |
removeForeground(ForegroundRenderer fg)
Remove a Foreground from List. |
void |
render(Renderer renderer)
Let all contained Foregrounds render. |
void |
setBmSize(int bmSize)
|
void |
setCircularBestmatches(boolean circular)
|
void |
setRenderPosition(int renderPosition)
Set the RenderPosition. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger log
protected int renderPosition
protected int bmSize
| Constructor Detail |
|---|
public ForegroundList()
public ForegroundList(int rndPos)
rndPos - One of the constants ForegroundRenderer.java.| Method Detail |
|---|
public ForegroundRenderer getForeground(int index)
index - position in this listpublic void orderBmSizes()
public void addForeground(ForegroundRenderer fg)
fg - A forgroundRendererpublic void removeForeground(ForegroundRenderer fg)
fg - public void render(Renderer renderer)
renderer - The main Renderer.public int getRenderPosition()
public void setRenderPosition(int renderPosition)
renderPosition - The renderPosition to set (One of the constants
RENDER_POSTTILE,RENDER_MASK or RENDER_PRETILE from
ForegroundRenderer.java.).public int getBmSize()
public void setBmSize(int bmSize)
bmSize - The bmSize to set.public StringList getListOfNames()
public void setCircularBestmatches(boolean circular)
circular -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||