|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.javagl.utils.obj.impl.DefaultObjGroup
public class DefaultObjGroup
Default implementation of an ObjGroup
| Constructor Summary | |
|---|---|
DefaultObjGroup(String name)
Creates a new ObjGroup with the given name |
|
| Method Summary | |
|---|---|
void |
addFace(ObjFace face)
Add the given face to this group |
boolean |
equals(Object obj)
|
ObjFace |
getFace(int index)
Returns the face with the given index. |
String |
getName()
Returns the name of this group. |
int |
getNumFaces()
Returns the number of faces in this group. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultObjGroup(String name)
name - The name of this ObjGroup| Method Detail |
|---|
public String getName()
ObjGroup
getName in interface ObjGrouppublic void addFace(ObjFace face)
face - The face to addpublic int getNumFaces()
ObjGroup
getNumFaces in interface ObjGrouppublic ObjFace getFace(int index)
ObjGroup
getFace in interface ObjGroupindex - The index of the face
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||