|
JMV 0.80 Programmer's Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Option
Class to store information for an option. Like "Lines", "VDW" for a representation, or "Name", "Index" for color representation.
OptionsHolder
,
Serialized FormConstructor Summary | |
Option(java.lang.String name,
int id)
Constructor |
Method Summary | |
int |
getId()
Gets the id number |
java.lang.String |
getName()
Gets the name |
void |
setId(int id)
Sets the id number |
void |
setName(java.lang.String name)
Sets the name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Option(java.lang.String name, int id)
name
- the name for the Optionid
- the id number for the OptionMethod Detail |
public int getId()
public java.lang.String getName()
public void setId(int id)
id
- the new id for this Optionpublic void setName(java.lang.String name)
name
- the new name for this Option
|
Copyright (C) 2000-2002 The Board of Trustees of the University of Illinois | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |