Class OwnScrollPane

java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.badlogic.gdx.scenes.scene2d.Group
com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup
com.badlogic.gdx.scenes.scene2d.ui.ScrollPane
gaiasky.util.scene2d.OwnScrollPane
All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Cullable, com.badlogic.gdx.scenes.scene2d.utils.Layout

public class OwnScrollPane extends com.badlogic.gdx.scenes.scene2d.ui.ScrollPane
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.badlogic.gdx.scenes.scene2d.ui.ScrollPane

    com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    OwnScrollPane(com.badlogic.gdx.scenes.scene2d.Actor widget, com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle style)
     
    OwnScrollPane(com.badlogic.gdx.scenes.scene2d.Actor widget, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
     
    OwnScrollPane(com.badlogic.gdx.scenes.scene2d.Actor widget, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    float
     
    float
     
    void
     
    void
    setExpand(boolean expand)
     
    void
    setHeight(float height)
     
    void
    setSize(float width, float height)
     
    void
    setWidth(float width)
     

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.ScrollPane

    act, addActor, addActorAfter, addActorAt, addActorBefore, addCaptureListener, addScrollListener, cancel, cancelTouchFocus, draw, drawDebug, drawScrollBars, fling, getActor, getFadeScrollBars, getFlickScrollListener, getMaxX, getMaxY, getMinHeight, getMinWidth, getMouseWheelX, getMouseWheelY, getOverscrollDistance, getScrollBarHeight, getScrollBarWidth, getScrollHeight, getScrollPercentX, getScrollPercentY, getScrollWidth, getScrollX, getScrollY, getStyle, getVariableSizeKnobs, getVelocityX, getVelocityY, getVisualScrollPercentX, getVisualScrollPercentY, getVisualScrollX, getVisualScrollY, getWidget, hit, isBottomEdge, isDragging, isFlinging, isForceScrollX, isForceScrollY, isLeftEdge, isPanning, isRightEdge, isScrollingDisabledX, isScrollingDisabledY, isScrollX, isScrollY, isTopEdge, removeActor, removeActor, removeActorAt, scrollTo, scrollTo, scrollX, scrollY, setActor, setCancelTouchFocus, setClamp, setFadeScrollBars, setFlickScroll, setFlickScrollTapSquareSize, setFlingTime, setForceScroll, setOverscroll, setScrollBarPositions, setScrollbarsOnTop, setScrollbarsVisible, setScrollBarTouch, setScrollingDisabled, setScrollPercentX, setScrollPercentY, setScrollX, setScrollY, setSmoothScrolling, setStyle, setupFadeScrollBars, setupOverscroll, setVariableSizeKnobs, setVelocityX, setVelocityY, setWidget, updateVisualScroll, visualScrollX, visualScrollY

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup

    childrenChanged, getMaxHeight, getMaxWidth, invalidate, invalidateHierarchy, needsLayout, pack, setFillParent, setLayoutEnabled, sizeChanged, validate

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.Group

    applyTransform, applyTransform, clear, clear, clearChildren, clearChildren, computeTransform, debugAll, drawChildren, drawDebugChildren, findActor, getChild, getChildren, getCullingArea, hasChildren, isTransform, localToDescendantCoordinates, resetTransform, resetTransform, setCullingArea, setDebug, setStage, setTransform, swapActor, swapActor, toString

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.Actor

    addAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, drawDebugBounds, fire, firstAscendant, getActions, getCaptureListeners, getColor, getDebug, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getX, getY, getY, getZIndex, hasActions, hasKeyboardFocus, hasParent, hasScrollFocus, isAscendantOf, isDescendantOf, isTouchable, isTouchFocusListener, isTouchFocusTarget, isVisible, localToActorCoordinates, localToAscendantCoordinates, localToParentCoordinates, localToScreenCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, positionChanged, remove, removeAction, removeCaptureListener, removeListener, rotateBy, rotationChanged, scaleBy, scaleBy, scaleChanged, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setName, setOrigin, setOrigin, setOriginX, setOriginY, setParent, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setTouchable, setUserObject, setVisible, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OwnScrollPane

      public OwnScrollPane(com.badlogic.gdx.scenes.scene2d.Actor widget, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
      Parameters:
      widget - May be null.
    • OwnScrollPane

      public OwnScrollPane(com.badlogic.gdx.scenes.scene2d.Actor widget, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName)
      Parameters:
      widget - May be null.
    • OwnScrollPane

      public OwnScrollPane(com.badlogic.gdx.scenes.scene2d.Actor widget, com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle style)
      Parameters:
      widget - May be null.
  • Method Details

    • setExpand

      public void setExpand(boolean expand)
    • setWidth

      public void setWidth(float width)
      Overrides:
      setWidth in class com.badlogic.gdx.scenes.scene2d.Actor
    • setHeight

      public void setHeight(float height)
      Overrides:
      setHeight in class com.badlogic.gdx.scenes.scene2d.Actor
    • setSize

      public void setSize(float width, float height)
      Overrides:
      setSize in class com.badlogic.gdx.scenes.scene2d.Actor
    • getPrefWidth

      public float getPrefWidth()
      Specified by:
      getPrefWidth in interface com.badlogic.gdx.scenes.scene2d.utils.Layout
      Overrides:
      getPrefWidth in class com.badlogic.gdx.scenes.scene2d.ui.ScrollPane
    • layout

      public void layout()
      Specified by:
      layout in interface com.badlogic.gdx.scenes.scene2d.utils.Layout
      Overrides:
      layout in class com.badlogic.gdx.scenes.scene2d.ui.ScrollPane
    • getPrefHeight

      public float getPrefHeight()
      Specified by:
      getPrefHeight in interface com.badlogic.gdx.scenes.scene2d.utils.Layout
      Overrides:
      getPrefHeight in class com.badlogic.gdx.scenes.scene2d.ui.ScrollPane