Example usage for com.badlogic.gdx.scenes.scene2d.ui WidgetGroup subclass-usage

List of usage examples for com.badlogic.gdx.scenes.scene2d.ui WidgetGroup subclass-usage

Introduction

In this page you can find the example usage for com.badlogic.gdx.scenes.scene2d.ui WidgetGroup subclass-usage.

Usage

From source file com.agateau.pixelwheels.racescreen.Overlay.java

/**
 * A generic overlay display
 */
public class Overlay extends WidgetGroup {
    private static final float IN_DURATION = 0.5f;
    private Actor mContent;

From source file com.agateau.ui.anchor.AnchorGroup.java

public class AnchorGroup extends WidgetGroup {
    private float mSpacing = 1;

    private Array<AnchorRule> mRules = new Array<AnchorRule>();

    public void setSpacing(float spacing) {

From source file com.agateau.ui.menu.Menu.java

/**
 * A keyboard and game controller friendly menu system
 *
 * Sends ChangeEvent when the current item changes.
 */
public class Menu extends WidgetGroup {

From source file com.anstrat.gui.SnapScrollPane.java

/** A group that scrolls a child widget using scrollbars and/or mouse or touch dragging.
 * <p>
 * The widget is sized to its preferred size. If the widget's preferred width or height is less than the size of this scroll pane,
 * it is set to the size of this scroll pane. Scrollbars appear when the widget is larger than the scroll pane.
 * <p>
 * The scroll pane's preferred size is that of the child widget. At this size, the child widget will not need to scroll, so the

From source file com.crashinvaders.common.scene2d.HorizontalGroupExtended.java

/**
 * Same as {@link com.badlogic.gdx.scenes.scene2d.ui.HorizontalGroup HorizontalGroup},
 * but pay attention on invisible children, they are not participate in layout.
 */
@SuppressWarnings("unused")
public class HorizontalGroupExtended extends WidgetGroup {

From source file com.kotcrab.vis.editor.ui.HorizontalFlowGroup.java

/**
 * A {@code HorizontalFlowGroup} lays out its children in rows, filling the
 * available horizontal space and expanding vertically as necessary. During a
 * layout pass, new rows will automatically be added when a child would overflow
 * the available horizontal space.
 * @author Justin Shapcott

From source file com.kotcrab.vis.ui.layout.ColumnGroup.java

/**
 * ColumnGroup lays it's children in single column. Each child is added in new row.
 * @author Kotcrab
 * @since 0.8.2
 * @deprecated use {@link VerticalGroup}
 */

From source file com.kotcrab.vis.ui.layout.FloatingGroup.java

/**
 * Does not arranges actors in specific layout, instead it uses their position and preferred sizes to place them inside
 * group. Does not check position values and allows widgets to be placed outside group. If combined with
 * {@link VisWindow#setKeepWithinParent(boolean)} allows to create windows that can only moved within this group area.
 * @author Kotcrab
 * @since 1.0.2

From source file com.kotcrab.vis.ui.layout.GridGroup.java

/**
 * Arrange actors in grid layout. You can set item width, height and spacing between items.
 * <p>
 * Grid group can be embedded in scroll pane. However in such case scrolling in X direction must be disabled.
 * @author Kotcrab
 * @since 0.7.2

From source file com.kotcrab.vis.ui.layout.HorizontalFlowGroup.java

/**
 * Arranges actors in rows filling available horizontal space. Creates new rows and expands vertically as necessary.
 * Children automatically overflow to next row when necessary.
 * <p>
 * Can be embedded in scroll pane however in that case scrolling in X direction must be disabled.
 * @author Kotcrab