Package limelight.ui.events.panel

Examples of limelight.ui.events.panel.MouseExitedEvent


    new MouseDraggedEvent(0, new Point(x, y), 0).dispatch(scrollBar);
  }

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


  public void shouldHoverOffWithHoverStyle() throws Exception
  {
    prop.hoverStyle = new FlatStyle();

    new MouseEnteredEvent(0, null, 0).dispatch(panel);
    new MouseExitedEvent(0, null, 0).dispatch(panel);

    assertEquals(Cursor.DEFAULT_CURSOR, root.getCursor().getType());
    assertEquals(null, style.getScreen());
  }
View Full Code Here

  public void shouldHoverOffWithoutHoverStyle() throws Exception
  {
    prop.hoverStyle = null;

    new MouseEnteredEvent(0, null, 0).dispatch(panel);
    new MouseExitedEvent(0, null, 0).dispatch(panel);

    assertEquals(Cursor.DEFAULT_CURSOR, root.getCursor().getType());
    assertEquals(null, style.getScreen());
  }
View Full Code Here

  {
    prop.hoverStyle = new FlatStyle();

    new MouseEnteredEvent(0, null, 0).dispatch(panel);
    prop.hoverStyle = null;
    new MouseExitedEvent(0, null, 0).dispatch(panel);

    assertEquals(Cursor.DEFAULT_CURSOR, root.getCursor().getType());
    assertEquals(null, style.getScreen());
  }
View Full Code Here

TOP

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

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.