Package limelight.ui

Examples of limelight.ui.Panel


  }

  public static void drag(PropProxy prop, int x, int y, int modifiers, int click_count)
  {
    Point location = pointFor(prop, x, y);
    Panel owner = ownerOf(location, prop);
    new MouseDraggedEvent(modifiers, location, click_count).dispatch(owner);
  }
View Full Code Here


  }

  public static void enter(PropProxy prop, int x, int y, int modifiers, int click_count)
  {
    Point location = pointFor(prop, x, y);
    Panel owner = ownerOf(location, prop);
    new MouseEnteredEvent(modifiers, location, click_count).dispatch(owner);
  }
View Full Code Here

  }

  public static void exit(PropProxy prop, int x, int y, int modifiers, int click_count)
  {
    Point location = pointFor(prop, x, y);
    Panel owner = ownerOf(location, prop);
    new MouseExitedEvent(modifiers, location, click_count).dispatch(owner);
  }
View Full Code Here

  }

  public static void wheel(PropProxy prop, int scrollAmount, int x, int y, int modifiers, int clickCount, int scrollType, int wheelRotation)
  {
    Point location = pointFor(prop, x, y);
    Panel owner = ownerOf(location, prop);
    new MouseWheelEvent(modifiers, location, clickCount, scrollType, scrollAmount, wheelRotation).dispatch(owner);
  }
View Full Code Here

  protected void handleUndispatchedEvent(Event e)
  {
    PanelEvent event = (PanelEvent)e;
    if(event.isInheritable())
    {
      Panel parent = panel.getParent();
      if(parent != null)
        event.dispatch(parent);
    }
  }
View Full Code Here

TOP

Related Classes of limelight.ui.Panel

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.