|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.proteinshader.graphics.textures.NamePair
public class NamePair
Stores a menu name and a file name for a texture.
Constructor Summary | |
---|---|
NamePair()
Constructs a NamePair object. |
|
NamePair(String menuName,
String filename)
Constructs a NamePair object. |
Method Summary | |
---|---|
String |
getFilename()
Returns the name of the file the texture is to be read from. |
String |
getMenuName()
Returns a name suitable for use in a menu. |
void |
setFilename(String filename)
Sets the name of the file that the texture is to be read from. |
void |
setMenuName(String menuName)
Sets a menu name for the texture. |
String |
toString()
Returns the menu name and filename pair. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NamePair()
public NamePair(String menuName, String filename)
menuName
- a name suitable for use in a GUI menu.filename
- the name of the file the texture is to be read from.Method Detail |
---|
public String getMenuName()
public void setMenuName(String menuName)
menuName
- a name suitable for use in a menu.public String getFilename()
public void setFilename(String filename)
filename
- the name of the texture file.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |