|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.graphics.opengl.state.GLStateComponentList
public class GLStateComponentList
A list of GLStateComponents. For each StateComponent type, identified by its Id, at most one instance can be part of a GLStateComponentList.
| Field Summary | |
|---|---|
private int |
arraySize
|
private int[] |
compId
|
private static int |
DEFAULTSIZE
|
private int |
size
|
private GLStateComponent[] |
stateComp
|
| Constructor Summary | |
|---|---|
GLStateComponentList()
Create an empty state component list. |
|
| Method Summary | |
|---|---|
void |
addStateComponent(GLStateComponent sc)
Inserts some GL state component object into the list, such that the list remains sorted by means of the id values. |
StringBuilder |
appendContent(StringBuilder buf,
int tab)
|
private void |
ensureArraySize(int requestedSize)
|
int |
findIndex(int scId)
|
GLStateComponent |
getStateComponent(int scId)
Return the GLStateComponent stored for index id, or null if no list element was found for the specified id |
void |
glInit(GLRenderContext glc)
Required by GLRenderObject interface. |
void |
glRender(GLRenderContext glc)
Required by GLRenderObject interface. |
String |
toString()
Yields a String representation of the (ids of) the list |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private int arraySize
private GLStateComponent[] stateComp
private int[] compId
private int size
private static final int DEFAULTSIZE
| Constructor Detail |
|---|
public GLStateComponentList()
| Method Detail |
|---|
private void ensureArraySize(int requestedSize)
public void addStateComponent(GLStateComponent sc)
public GLStateComponent getStateComponent(int scId)
public final int findIndex(int scId)
public StringBuilder appendContent(StringBuilder buf,
int tab)
public String toString()
toString in class Objectpublic void glInit(GLRenderContext glc)
glInit in interface GLRenderObjectpublic void glRender(GLRenderContext glc)
glRender in interface GLRenderObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||