Class UISoundObject.UILocation

All Implemented Interfaces:
LXLoopTask
Direct Known Subclasses:
UISoundObject.UIAzimuth, UISoundObject.UIElevation
Enclosing class:
UISoundObject

public abstract static class UISoundObject.UILocation extends UI2dComponent
  • Field Details

    • soundObject

      protected SoundObject soundObject
    • editing

      protected boolean editing
  • Method Details

    • setEditable

      public UISoundObject.UILocation setEditable(boolean editable)
    • setSoundObject

      public void setSoundObject(SoundObject soundObject)
    • onDraw

      public final void onDraw(UI ui, VGraphics vg)
      Description copied from class: UI2dComponent
      Subclasses should override this method to perform their drawing functions.
      Overrides:
      onDraw in class UI2dComponent
      Parameters:
      ui - UI context
      vg - Graphics context
    • drawBackgroundDetails

      protected abstract void drawBackgroundDetails(UI ui, VGraphics vg)
    • getDotX

      protected abstract float getDotX()
    • getDotY

      protected abstract float getDotY()
    • setObjectPosition

      protected abstract void setObjectPosition(float xn, float yn)
    • drawDot

      protected void drawDot(UI ui, VGraphics vg, double xn, double yn)
    • onMousePressed

      public void onMousePressed(MouseEvent mouseEvent, float mx, float my)
      Description copied from class: UIEventHandler
      Subclasses override to receive mouse events
      Overrides:
      onMousePressed in class UIEventHandler
      Parameters:
      mouseEvent - Mouse event
      mx - x-coordinate
      my - y-coordinate
    • onMouseDragged

      public void onMouseDragged(MouseEvent mouseEvent, float mx, float my, float dx, float dy)
      Description copied from class: UIEventHandler
      Subclasses override to receive mouse events
      Overrides:
      onMouseDragged in class UIEventHandler
      Parameters:
      mouseEvent - Mouse event
      mx - x-coordinate
      my - y-coordinate
      dx - movement in x
      dy - movement in y
    • dispose

      public void dispose()
      Overrides:
      dispose in class UIObject