Package pi.event

Interface MouseScrollListenerRegistration

All Known Implementing Classes:
Actor, ActorRotationDemo, ActorSetFixtureFromStringDemo, AllDialogsDemo, Animation, AnimationDemo, ApplyForceDemo, ApplyImpulseDemo, ApplyRotationImpulseDemo, ApplyTorqueDemo, Ball, Ball, BallThrowDemo, BaseScene, BaseScene, BasketballThrowDemo, BillardDemo, Blinky, BlockDebugScene, BounceBar, Box, CameraDemo, CameraDemo, CarDemo, Circle, Circle, CircleDemo, Clyde, Coin, CollisionTest, ColorContainerVisualizerDemo, ColorDemo, ColorVariationsDemo, ColorWheelIttenDemo, CopyrightScene, Counter, DensityDemo, DepthFirstSearchDemo, DistanceJointDemo, DudeDemo, Edge, ForceKlickEnvironment, FrameUpdateListenerDemo, FrictionDemo, FroggyJump, Geometry, GetMousePositionDemo, Ghost, GhostsDebugScene, GraphCollectionDemo, GraphDrawerDemo, GravityDemo, Grid, Grid, GridDebugScene, GridDemo, GroupDemo, HelloWorldVersion1, HelloWorldVersion2, Hole, HUD, Image, Image, ImageAverageColorDemo, ImageDemo, ImageFontSpecimenDemo, ImageFontText, ImageFontTextAlignmentDemo, ImageFontTextColorDemo, ImageFontTextDemo, ImageFontTextMultilineDemo, ImageFontTextSetContentDemo, ImageRobot, ImpulseDemo, IngameScene, IngameScene, Inky, InstantModeDisabled, InstantModeDisabledByStaticBlock, InstructionScene, ItemMapPainterTest, JointDemo, JukeboxDemo, JukeboxTetrisDemo, KeyEventDemo, KeyEventDisplayDemo, KeyStrokeCounterDemo, KeyStrokeListenerAsAnonymousClassDemo, KeyStrokeListenerAsLambdaDemo, KeyStrokeListenerAsNormalClassDemo, LabeledEdge, LabeledNode, Layer, LayerDemo, LevelsScene, Line, LineDemo, LineRandomDemo, ListenerOnActorsDemo, LogoDemo, MainMenuScene, MainScene, ManaPickup, MarbleDemo, MinimalDemo, OverlayDemo, Paddle, PaintingCirclesAdvancedDemo, PaintingCirclesDemo, PaintingSurfaceDemo, PaintingSurfaceScene, ParticlesDemo, PauseLayer, PeriodicTaskExecutorDemo, Pinky, Platform, PlayerCharacter, Polygon, PongTable, PressedKeyRepeaterDemo, PrismaticJointDemo, Rectangle, Rectangle, RectangleDemo, RegularPolygon, RepeatDemo, RestitutionDemo, RevolteJointSeesawDemo, RevoluteJointDemo, RopeJointDemo, RotationDemo, Scene, SceneInfoOverlayDemo, ScreenshotDemo, SetPixelMultiplicationDemo, SingleTetrominoDebugScene, SnakeAdvanced, SnakeHead, SnakeMinimal, SnakeScene, Square, Star, StarDemo, StatefulAnimatedGifAnimation, StatefulAnimation, StatefulAnimationDemo, StatefulAnimationDemo, StatefulImagesAnimation, StatefulImagesPrefixAnimation, StatefulPlayerCharacter, StatefulSpritesheetAnimation, StaticKeyStrokeListenerDemo, SubMenuScene, TetrominoDebugScene, TetrominoWithoutGridScene, Text, Text, Text, TextAllSystemFonts, TextDebugScene, TextDemo, TileRegistration, TitleScene, Triangle, Triangle, TriangleDemo, TurtleScene, WeldJointDemo

public interface MouseScrollListenerRegistration
Eine Schnittstelle zum An- und Abmelden von Beobachtern, die auf Bewegungen des Mausrads reagieren.
Author:
Niklas Keller
  • Method Details

    • mouseScrollListeners

      EventListeners<MouseScrollListener> mouseScrollListeners()
    • addMouseScrollListener

      @API default void addMouseScrollListener(MouseScrollListener listener)
      Fügt einen Beobachter, der auf Bewegungen des Mausrads reagiert, zum Behälter hinzu.
      Parameters:
      listener - Ein Beobachter, der auf Bewegungen des Mausrads reagiert.
    • removeMouseScrollListener

      @API default void removeMouseScrollListener(MouseScrollListener listener)
      Entfernt einen Beobachter, der auf Bewegungen des Mausrads reagiert, aus dem Behälter.
      Parameters:
      listener - Ein Beobachter, der auf Bewegungen des Mausrads reagiert.