Package tripleplay.ui
package tripleplay.ui
-
ClassDescriptionAbstractTextButton<T extends AbstractTextButton<T>>An abstract base class for buttons with text labels.A background is responsible for rendering a border and a fill.Controls the behavior of a widget (how it responds to pointer events).Behavior.Capturing<T extends Element<T>>A click behavior that captures the pointer and optionally issues clicks based on some time based function.Behavior.Click<T extends Element<T>>Implements clicking behavior.Behavior.Ignore<T extends Element<T>>A behavior that ignores everything.Behavior.RapidFire<T extends Element<T>>Captures the pointer and dispatches one click on press, a second after an initial delay and at regular intervals after that.Behavior.Select<T extends Element<T>>Implements button-like behavior: selects the element when the pointer is in bounds, and deselects on release.Behavior.Toggle<T extends Element<T>>Implements toggling behavior.Behavior.Track<T extends Element<T>>Tracks the pressed position as an anchor and delegates to subclasses to update state based on anchor and drag position.A container that holds zero or one widget.A
Box
which draws its children clipped to their preferred size.A transition that fades from the old contents to the new.Manages transitions forBox.transition(tripleplay.ui.Element<?>, tripleplay.ui.Box.Trans)
.A button that displays text, or an icon, or both.A root that renders everything into a single texture.Displays a checkbox which can be toggled.Implemented byElement
s that can be clicked.A container with a fixed list of children, which client code must assume is immutable.Provides various user interface constraints.A special layout constraint used byTextWidget
s which adjusts only the text size of the widget, leaving the remaining dimensions (icon, insets, etc.) unmodified.A shared base class for elements which contain other elements.Container.Mutable<T extends Container.Mutable<T>>A container that allows mutation (adding and removal) of its children.The root of the interface element hierarchy.Ways in which a preferred and an original dimension can be "taken" to produce a result.Contains other elements and lays them out according to a layout policy.Displays text which can be edited via theInput.getText(playn.core.Keyboard.TextType, java.lang.String, java.lang.String)
popup.Blocks keypresses for a native text field when the length is at a given maximum.For native text fields, transforms text during typing.For native text fields, decides whether to block a keypress based on the proposed content of the field.GlyphWidget<T extends GlyphWidget<T>>Base for widgets that consist of a single glyph.A grouping element that contains other elements and lays them out according to a layout policy.HistoryGroup<T,W extends Element<?>> A scrolling vertical display, optimized for showing potentially very long lists such as a chat log.History group of just labels.A label that exposes the width hint and preferred size.An interface for icons.Used to apply effects to an Icon.Contains icon related utility classes and methods, mostly basic icon factories.Defers to another icon.A button that uses images for its different states.The main class that integrates the Triple Play UI with a PlayN game.A widget that displays one or more lines of text and/or an icon image.Defines the interface to layouts, which implement a particular layout policy.An abstract base class for all layout constraints.A button that supports an action on a "long press".Holds a collection ofMenuItem
s, dispatching aMenu.itemTriggered()
signal when one is selected and triggered.Produces an animation for a menu.Provides a context for popping up a menu.An event type for triggering a menu popup.Defines how to obtain the point on a trigger where a menu popup originates.An item in a menu.Modes of text display.A layer that fills a region with shadow and absorbs all pointer, mouse and touch interactions that land on it.A menu that is also capable of showing one page of its items at a time.The root of a display hierarchy.A composite element that manages horizontal and vertical scrolling of a single content element.Handles the appearance and animation of scroll bars.Handles creating the scroll bars.Defines the directions available for scrolling.Interface for customizing how content is clipped and translated.Listens for changes to the scrolling area or offset.A range along an axis for representing scroll bars.Plain rectangle scroll bars that overlay the content area, consume no additional screen space, and fade out after inactivity.Maintains a single selected item among a specified set ofElement
instances.An invisible widget that simply requests a fixed amount of space.Provides a simple style sheet that is useful for development and testing.A group that allows configuring its preferred size.SizableWidget<T extends SizableWidget<T>>A widget that allows configuring its preferred size.Displays a bar and a thumb that can be slid along the bar, representing a floating point value between some minimum and maximum.Holds the minimum and maximum values for the slider.Style<V>Defines style properties for interface elements.Used to configureStyles
instances.Used to create text effects.A Boolean style, with convenient members for on and off bindings.Defines horizontal alignment choices.Used to provide concise HAlign style declarations.Defines element modes which can be used to modify an element's styles.Defines icon position choices.Used to provide concise Pos style declarations.Defines supported text effects.Used to provide concise TextEffect style declarations.Defines vertical alignment choices.Used to provide concise VAlign style declarations.An immutable collection of styles.Provides style defaults per element type for a sub-tree of the interface hierarchy.Builds stylesheets, obtain viaStylesheet.builder()
.AComposite
that implements tabbing.Defines the highlighting of a tab.TextWidget<T extends TextWidget<T>>An abstract base class for widgets that contain text.Implemented byElement
s that expose a selected state and can be clicked.A toggle button that displays text, or an icon, or both.Deprecated.The base class for all user interface widgets.
Label(ValueView)
.