Package limelight.ui.events.panel

Examples of limelight.ui.events.panel.MousePressedEvent


  @Test
  public void pressingMouse() throws Exception
  {
    assertEquals(0, root.dirtyRegions.size());

    new MousePressedEvent(0, null, 0).dispatch(panel);

    assertEquals(1, root.dirtyRegions.size());
    assertEquals(panel.getBounds(), root.dirtyRegions.get(0));
  }
View Full Code Here


    new MouseReleasedEvent(0, new Point(x, y), 0).dispatch(panel);
  }

  private void multiplePressAt(int x, int y, int count)
  {
    new MousePressedEvent(0, new Point(x, y), count).dispatch(panel);
  }
View Full Code Here

    repeater = processor.getRepeater();
  }

  private void press(ScrollBarPanel scrollBar, int x, int y)
  {
    new MousePressedEvent(0, new Point(x, y), 0).dispatch(scrollBar);
  }
View Full Code Here

TOP

Related Classes of limelight.ui.events.panel.MousePressedEvent

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.