Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.livingpaper.hansa
Class ProductionSliderListener  view ProductionSliderListener download ProductionSliderListener.java

java.lang.Object
  extended byorg.livingpaper.hansa.ProductionSliderListener
All Implemented Interfaces:
javax.swing.event.ChangeListener, java.util.EventListener

public class ProductionSliderListener
extends java.lang.Object
implements javax.swing.event.ChangeListener


Field Summary
private  int mGood
           
private  HansaWindow mMainWindow
           
 
Constructor Summary
ProductionSliderListener(HansaWindow mainWindow, int good)
           
 
Method Summary
 HansaWindow getMainWindow()
           
 void stateChanged(javax.swing.event.ChangeEvent e)
          Called by an object to notify the listener that the object's state has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mMainWindow

private HansaWindow mMainWindow

mGood

private int mGood
Constructor Detail

ProductionSliderListener

public ProductionSliderListener(HansaWindow mainWindow,
                                int good)
Method Detail

getMainWindow

public HansaWindow getMainWindow()

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
Description copied from interface: javax.swing.event.ChangeListener
Called by an object to notify the listener that the object's state has changed. The incoming event identifies the source of the event, allowing the listener to differentiate when it is listening for changes in multiple sources.

Specified by:
stateChanged in interface javax.swing.event.ChangeListener