org.tizen.injector.sensor.motion_1.0.0.201310291329

16:50:08.056 INFO  jd.cli.Main - Decompiling org.tizen.injector.sensor.motion_1.0.0.201310291329.jar
package org.tizen.injector.sensor.motion;

import org.tizen.injector.provider.AbstractInjectorItem;
import org.tizen.injector.sensor.motion.page.MotionPage;

public class Motion
  extends AbstractInjectorItem
{
  protected void addPages()
  {
    addPage(new MotionPage(this, "Motion"));
  }
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.Motion
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package org.tizen.injector.sensor.motion.page;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

class MotionPage$1
  implements SelectionListener
{
  MotionPage$1(MotionPage paramMotionPage) {}
  
  public void widgetDefaultSelected(SelectionEvent paramSelectionEvent) {}
  
  public void widgetSelected(SelectionEvent paramSelectionEvent)
  {
    this$0.sendMessage(1);
  }
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.page.MotionPage.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package org.tizen.injector.sensor.motion.page;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

class MotionPage$10
  implements SelectionListener
{
  MotionPage$10(MotionPage paramMotionPage) {}
  
  public void widgetDefaultSelected(SelectionEvent paramSelectionEvent) {}
  
  public void widgetSelected(SelectionEvent paramSelectionEvent)
  {
    this$0.sendMessage(12);
  }
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.page.MotionPage.10
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package org.tizen.injector.sensor.motion.page;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

class MotionPage$2
  implements SelectionListener
{
  MotionPage$2(MotionPage paramMotionPage) {}
  
  public void widgetDefaultSelected(SelectionEvent paramSelectionEvent) {}
  
  public void widgetSelected(SelectionEvent paramSelectionEvent)
  {
    this$0.sendMessage(2);
  }
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.page.MotionPage.2
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package org.tizen.injector.sensor.motion.page;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

class MotionPage$3
  implements SelectionListener
{
  MotionPage$3(MotionPage paramMotionPage) {}
  
  public void widgetDefaultSelected(SelectionEvent paramSelectionEvent) {}
  
  public void widgetSelected(SelectionEvent paramSelectionEvent)
  {
    this$0.sendMessage(3);
  }
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.page.MotionPage.3
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package org.tizen.injector.sensor.motion.page;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

class MotionPage$4
  implements SelectionListener
{
  MotionPage$4(MotionPage paramMotionPage) {}
  
  public void widgetDefaultSelected(SelectionEvent paramSelectionEvent) {}
  
  public void widgetSelected(SelectionEvent paramSelectionEvent)
  {
    this$0.sendMessage(4);
  }
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.page.MotionPage.4
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package org.tizen.injector.sensor.motion.page;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

class MotionPage$5
  implements SelectionListener
{
  MotionPage$5(MotionPage paramMotionPage) {}
  
  public void widgetDefaultSelected(SelectionEvent paramSelectionEvent) {}
  
  public void widgetSelected(SelectionEvent paramSelectionEvent)
  {
    this$0.sendMessage(5);
  }
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.page.MotionPage.5
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package org.tizen.injector.sensor.motion.page;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

class MotionPage$6
  implements SelectionListener
{
  MotionPage$6(MotionPage paramMotionPage) {}
  
  public void widgetDefaultSelected(SelectionEvent paramSelectionEvent) {}
  
  public void widgetSelected(SelectionEvent paramSelectionEvent)
  {
    this$0.sendMessage(6);
  }
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.page.MotionPage.6
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package org.tizen.injector.sensor.motion.page;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

class MotionPage$7
  implements SelectionListener
{
  MotionPage$7(MotionPage paramMotionPage) {}
  
  public void widgetDefaultSelected(SelectionEvent paramSelectionEvent) {}
  
  public void widgetSelected(SelectionEvent paramSelectionEvent)
  {
    this$0.sendMessage(7);
  }
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.page.MotionPage.7
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package org.tizen.injector.sensor.motion.page;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

class MotionPage$8
  implements SelectionListener
{
  MotionPage$8(MotionPage paramMotionPage) {}
  
  public void widgetDefaultSelected(SelectionEvent paramSelectionEvent) {}
  
  public void widgetSelected(SelectionEvent paramSelectionEvent)
  {
    this$0.sendMessage(8);
  }
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.page.MotionPage.8
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package org.tizen.injector.sensor.motion.page;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

class MotionPage$9
  implements SelectionListener
{
  MotionPage$9(MotionPage paramMotionPage) {}
  
  public void widgetDefaultSelected(SelectionEvent paramSelectionEvent) {}
  
  public void widgetSelected(SelectionEvent paramSelectionEvent)
  {
    this$0.sendMessage(9);
  }
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.page.MotionPage.9
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package org.tizen.injector.sensor.motion.page;

import java.io.IOException;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.tizen.common.connection.ConnectionPlugin.ISelectionListener;
import org.tizen.injector.protocol.sensor.TestSensorMessage;
import org.tizen.injector.provider.AbstractInjectorItem;
import org.tizen.injector.provider.AbstractInjectorPage;
import org.tizen.injector.socket.TelephonySocket;
import org.tizen.injector.util.FormPageUtil;
import org.tizen.sdblib.service.FileEntry;

public class MotionPage
  extends AbstractInjectorPage
  implements ConnectionPlugin.ISelectionListener
{
  private final String sensorNumber = "6\n";
  
  public MotionPage(AbstractInjectorItem paramAbstractInjectorItem, String paramString)
  {
    super(paramAbstractInjectorItem, paramString);
  }
  
  protected void createContents()
  {
    Composite localComposite = formUtil.createComposite(parent, 5);
    GridData localGridData = new GridData(4, 4, false, true);
    widthHint = 600;
    localComposite.setLayoutData(localGridData);
    Button localButton1 = formUtil.createButton(localComposite, "Double Tap", 8);
    Button localButton2 = formUtil.createButton(localComposite, "Shake Start", 8);
    Button localButton3 = formUtil.createButton(localComposite, "Shake End", 8);
    Button localButton4 = formUtil.createButton(localComposite, "Snap X+", 8);
    Button localButton5 = formUtil.createButton(localComposite, "Snap Y+", 8);
    Button localButton6 = formUtil.createButton(localComposite, "Snap Z+", 8);
    Button localButton7 = formUtil.createButton(localComposite, "Snap X-", 8);
    Button localButton8 = formUtil.createButton(localComposite, "Snap Y-", 8);
    Button localButton9 = formUtil.createButton(localComposite, "Snap Z-", 8);
    Button localButton10 = formUtil.createButton(localComposite, "Move To Ear", 8);
    localGridData = new GridData(4, 4, false, true);
    widthHint = 110;
    localButton1.setLayoutData(localGridData);
    localButton2.setLayoutData(localGridData);
    localButton3.setLayoutData(localGridData);
    localButton4.setLayoutData(localGridData);
    localButton7.setLayoutData(localGridData);
    localButton5.setLayoutData(localGridData);
    localButton8.setLayoutData(localGridData);
    localButton6.setLayoutData(localGridData);
    localButton9.setLayoutData(localGridData);
    localButton10.setLayoutData(localGridData);
    localButton1.addSelectionListener(new SelectionListener()
    {
      public void widgetDefaultSelected(SelectionEvent paramAnonymousSelectionEvent) {}
      
      public void widgetSelected(SelectionEvent paramAnonymousSelectionEvent)
      {
        sendMessage(1);
      }
    });
    localButton2.addSelectionListener(new SelectionListener()
    {
      public void widgetDefaultSelected(SelectionEvent paramAnonymousSelectionEvent) {}
      
      public void widgetSelected(SelectionEvent paramAnonymousSelectionEvent)
      {
        sendMessage(2);
      }
    });
    localButton3.addSelectionListener(new SelectionListener()
    {
      public void widgetDefaultSelected(SelectionEvent paramAnonymousSelectionEvent) {}
      
      public void widgetSelected(SelectionEvent paramAnonymousSelectionEvent)
      {
        sendMessage(3);
      }
    });
    localButton4.addSelectionListener(new SelectionListener()
    {
      public void widgetDefaultSelected(SelectionEvent paramAnonymousSelectionEvent) {}
      
      public void widgetSelected(SelectionEvent paramAnonymousSelectionEvent)
      {
        sendMessage(4);
      }
    });
    localButton7.addSelectionListener(new SelectionListener()
    {
      public void widgetDefaultSelected(SelectionEvent paramAnonymousSelectionEvent) {}
      
      public void widgetSelected(SelectionEvent paramAnonymousSelectionEvent)
      {
        sendMessage(5);
      }
    });
    localButton5.addSelectionListener(new SelectionListener()
    {
      public void widgetDefaultSelected(SelectionEvent paramAnonymousSelectionEvent) {}
      
      public void widgetSelected(SelectionEvent paramAnonymousSelectionEvent)
      {
        sendMessage(6);
      }
    });
    localButton8.addSelectionListener(new SelectionListener()
    {
      public void widgetDefaultSelected(SelectionEvent paramAnonymousSelectionEvent) {}
      
      public void widgetSelected(SelectionEvent paramAnonymousSelectionEvent)
      {
        sendMessage(7);
      }
    });
    localButton6.addSelectionListener(new SelectionListener()
    {
      public void widgetDefaultSelected(SelectionEvent paramAnonymousSelectionEvent) {}
      
      public void widgetSelected(SelectionEvent paramAnonymousSelectionEvent)
      {
        sendMessage(8);
      }
    });
    localButton9.addSelectionListener(new SelectionListener()
    {
      public void widgetDefaultSelected(SelectionEvent paramAnonymousSelectionEvent) {}
      
      public void widgetSelected(SelectionEvent paramAnonymousSelectionEvent)
      {
        sendMessage(9);
      }
    });
    localButton10.addSelectionListener(new SelectionListener()
    {
      public void widgetDefaultSelected(SelectionEvent paramAnonymousSelectionEvent) {}
      
      public void widgetSelected(SelectionEvent paramAnonymousSelectionEvent)
      {
        sendMessage(12);
      }
    });
  }
  
  protected void registerReceivers() {}
  
  public void sendMessage(int paramInt)
  {
    TestSensorMessage localTestSensorMessage = new TestSensorMessage(paramInt);
    try
    {
      injectorSocket.sendSensor("6\n" + localTestSensorMessage.getMessage());
    }
    catch (IOException localIOException)
    {
      localIOException.printStackTrace();
    }
    catch (Exception localException)
    {
      localException.printStackTrace();
    }
  }
  
  protected void finalize()
    throws Throwable
  {
    super.finalize();
  }
  
  public void selectionChanged(FileEntry paramFileEntry) {}
}

/* Location:
 * Qualified Name:     org.tizen.injector.sensor.motion.page.MotionPage
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
1

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd