View Javadoc
1 package jrre.event; 2 3 public class PushOperandEvent extends OperandStackEvent { 4 5 private String name; 6 private String value; 7 8 9 /*** 10 * Construct the event with the Object that fired the event, the 11 * operands name, and its value. 12 * 13 * @param source 14 * @param name 15 * @param value 16 */ 17 public PushOperandEvent(String name, String value){ 18 super(); 19 20 this.name = name; 21 this.value = value; 22 } 23 24 /*** 25 * Gets the Name. 26 */ 27 public String getName(){ 28 return this.name; 29 } 30 31 /*** 32 * Sets the Name. 33 * @param Name The value to set it to. 34 */ 35 public void setName(String name){ 36 this.name = name; 37 } 38 39 /*** 40 * Gets the Value. 41 */ 42 public String getValue(){ 43 return this.value; 44 } 45 46 /*** 47 * Sets the Value. 48 * @param Value The value to set it to. 49 */ 50 public void setValue(String value){ 51 this.value = value; 52 } 53 }

This page was automatically generated by Maven