|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.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 ObjGroupMethod Detail |
---|
public String getName()
ObjGroup
getName
in interface ObjGroup
public void addFace(ObjFace face)
face
- The face to addpublic int getNumFaces()
ObjGroup
getNumFaces
in interface ObjGroup
public ObjFace getFace(int index)
ObjGroup
getFace
in interface ObjGroup
index
- The index of the face
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |