Package remote.service.motedata.client

Examples of remote.service.motedata.client.TableListener


    /*  LedsListenerWrapper ledsobs = new LedsListenerWrapper(this,mote);
      moteControl.getMoteLeds().addListener(ledsobs);*/
      this.moteControlMap.put(mote,moteControl);
      mote.getStatus().addChangeListener(this);
      this.refreshTable();
      TableListener l;
      Iterator it = listeners.iterator();
      while(it.hasNext())
      {
        l = (TableListener)it.next();
        l.addedRow(this,moteControl);
      }
    }
    catch (Exception e)
    {
      e.printStackTrace();
View Full Code Here


  protected void removeMote(SimpleMote mote)
  {
    mote.getStatus().removeChangeListener(this);
    MoteControlRow row = (MoteControlRow)this.moteControlMap.remove(mote);
    this.refreshTable();
    TableListener l;
    Iterator it = listeners.iterator();
    while(it.hasNext())
    {
      l = (TableListener)it.next();
      l.deletedRow(this,row);
    }
  }
View Full Code Here

    this.refreshTable();
  }

  public void simpleMoteStatusChange(SimpleMote mote) {
    MoteControlRow row = (MoteControlRow)this.moteControlMap.get(mote);
    TableListener l;
    Iterator it = listeners.iterator();
    while(it.hasNext())
    {
      l = (TableListener)it.next();
      l.updatedCell(this,row,MoteControlRow.COL_STATUS);
    }
  }
View Full Code Here

TOP

Related Classes of remote.service.motedata.client.TableListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.