|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.zcu.fav.kiv.jsim.gui.JSimPair
public class JSimPair
The JSimPair holds information about two objects – a name and a value. Use this class if you want to add a new new pair to the detailed info window of your class implementing JSimDisplayable.
Field Summary | |
---|---|
private java.lang.String |
name
The characteristic's name. |
private java.lang.Object |
value
The characteristic's current value. |
Constructor Summary | |
---|---|
JSimPair(java.lang.String name,
java.lang.Object value)
Creates a new JSimPair object, holding information about the name and the value of an object's characteristics. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the characteristic's name. |
java.lang.Object |
getValue()
Returns the characteristic's value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String name
private java.lang.Object value
Constructor Detail |
---|
public JSimPair(java.lang.String name, java.lang.Object value)
name
- The characteristic's name.value
- The characteristic's value.Method Detail |
---|
public java.lang.String getName()
public java.lang.Object getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |