Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- above - Variable in class tripleplay.ui.Style.PosStyle
- ABOVE - Enum constant in enum class tripleplay.ui.Style.Pos
- absolute(float, float) - Static method in class tripleplay.ui.MenuHost
-
Gets a fixed trigger point for the given screen coordinates.
- AbsoluteLayout - Class in tripleplay.ui.layout
-
A layout that positions elements at absolute coordinates (at either their preferred size or at a manually specified size).
- AbsoluteLayout() - Constructor for class tripleplay.ui.layout.AbsoluteLayout
- AbsoluteLayout.Constraint - Class in tripleplay.ui.layout
-
Defines absolute layout constraints.
- AbstractTextButton<T extends AbstractTextButton<T>> - Class in tripleplay.ui
-
An abstract base class for buttons with text labels.
- AbstractTransition<T extends AbstractTransition<T>> - Class in tripleplay.game.trans
-
A base class for transitions that handles duration and the PITA machinery to case return values to the right type.
- AbstractTransition() - Constructor for class tripleplay.game.trans.AbstractTransition
- action(Runnable) - Method in class tripleplay.anim.AnimBuilder
-
Creates an animation that executes the supplied runnable and immediately completes.
- Action(Runnable) - Constructor for class tripleplay.anim.Animation.Action
- ACTION_SOUND - Static variable in class tripleplay.ui.Style
-
The sound to be played when this element's action is triggered.
- activate() - Method in class tripleplay.ui.Menu
-
Opens this menu, using an animation created by the resolved
Menu.OPENER
style. - active - Variable in class tripleplay.ui.Box.Trans
-
Indicates whether this transition is in process.
- active() - Method in class tripleplay.ui.MenuHost
- active() - Method in class tripleplay.ui.Scroller.Range
-
Tests if the range is currently active.
- activePop() - Method in class tripleplay.ui.MenuHost
- add() - Method in interface tripleplay.platform.NativeOverlay
-
Adds the native overlay to the display.
- add(int) - Method in class tripleplay.entity.IntBag
- add(int, float) - Method in class tripleplay.entity.Component.FScalar
-
Adds
dv
to the value of this component forentityId
. - add(int, float, float) - Method in class tripleplay.entity.Component.XY
-
Adds
dx
anddy
to the x and y components forentityId
. - add(int, float, List<? extends Initializer>) - Method in class tripleplay.particle.ParticleBuffer
-
Adds
count
particles to this buffer, and initializes them withinitters
. - add(int, int) - Method in class tripleplay.entity.Component.IScalar
-
Adds
dv
to the value of this component forentityId
. - add(int, Element<?>) - Method in class tripleplay.ui.Elements
- add(E) - Method in class tripleplay.util.Bag
-
Adds
elem
to this bag. - add(Class<?>, Style.Binding<?>...) - Method in class tripleplay.ui.Stylesheet.Builder
-
Adds styles for the supplied element class (in the DEFAULT mode).
- add(Class<?>, Style.Mode, Style.Binding<?>...) - Method in class tripleplay.ui.Stylesheet.Builder
-
Adds styles for the supplied element class (in the specified mode).
- add(Class<?>, Styles) - Method in class tripleplay.ui.Stylesheet.Builder
-
Adds styles for the supplied element class.
- add(String, boolean) - Method in class tripleplay.util.Hud
-
Adds a static label that spans the width of the HUD.
- add(String, float, float, TexturePacker.Renderer) - Method in class tripleplay.util.TexturePacker
-
Add a lazily rendered region to the packer.
- add(String, Tile) - Method in class tripleplay.util.TexturePacker
-
Add an image to the packer.
- add(String, Value<?>) - Method in class tripleplay.util.Hud
-
Adds a static label and changing value, which will be rendered in two columns.
- add(String, Element<?>) - Method in class tripleplay.ui.Tabs
-
Adds a new tab to the container with a pre-constructed element for its content.
- add(String, Icon, Element<?>) - Method in class tripleplay.ui.Tabs
-
Adds a new tab to the container with a pre-constructed element for its content.
- add(String, Icon, Supplier) - Method in class tripleplay.ui.Tabs
-
Adds a new tab to the container with the given label, icon and supplier.
- add(String, Supplier) - Method in class tripleplay.ui.Tabs
-
Adds a new tab to the container with the given label and supplier.
- add(GroupLayer, Layer) - Method in class tripleplay.anim.AnimBuilder
-
Adds the supplied child to the supplied parent.
- add(Value<?>) - Method in class tripleplay.util.Hud
-
Adds a changing label that spans the width of the HUD.
- add(T) - Method in class tripleplay.anim.Animator
-
Registers an animation with this animator.
- add(T) - Method in class tripleplay.anim.AnimBuilder
-
Registers an animation with this builder.
- add(T) - Method in class tripleplay.anim.AnimGroup
-
Adds an animation to this group.
- add(Component) - Method in class tripleplay.entity.Entity
-
Adds the specified component to this entity.
- add(Component[]) - Method in class tripleplay.entity.Entity
-
Adds the supplied components to this entity.
- add(Component, Component, Component...) - Method in class tripleplay.entity.Entity
-
Adds the specified components to this entity.
- add(ScreenSpace.Screen, ScreenSpace.Dir) - Method in class tripleplay.game.ScreenSpace
-
Adds
screen
to this space, positioneddir
-wise from the current screen. - add(Gesture<?>) - Method in class tripleplay.gesture.GestureDirector
-
Adds a gesture to the set considered during each user interaction.
- add(Element<?>...) - Method in class tripleplay.ui.Elements
- add(Element<?>, Element<?>...) - Method in class tripleplay.ui.Selector
-
Tracks one or more elements.
- add(Elements<?>) - Method in class tripleplay.ui.Selector
-
Tracks the children of
elements
for setting the selection. - add(Style.Binding<?>...) - Method in class tripleplay.ui.Styles
-
Returns a new instance where the supplied bindings overwrite any previous bindings for the specified styles in the default mode.
- add(Style.Mode, Style.Binding<?>...) - Method in class tripleplay.ui.Styles
-
Returns a new instance where the supplied bindings overwrite any previous bindings for the specified styles (in the specified mode).
- add(Insets) - Method in class tripleplay.ui.util.Insets.Mutable
-
Adds the given insets to these.
- addAt(GroupLayer, Layer, float, float) - Method in class tripleplay.anim.AnimBuilder
-
Adds the supplied child to the supplied parent at the specified translation.
- addAt(GroupLayer, Layer, XY) - Method in class tripleplay.anim.AnimBuilder
-
Adds the supplied child to the supplied parent at the specified translation.
- addBarrier() - Method in class tripleplay.anim.Animator
-
Causes this animator to delay the start of any subsequently registered animations until all currently registered animations are complete.
- addBarrier(float) - Method in class tripleplay.anim.Animator
-
Causes this animator to delay the start of any subsequently registered animations until the specified delay (in milliseconds) has elapsed after this barrier becomes active.
- addBitVec(BitVec) - Method in class tripleplay.util.Deflater
- addBool(boolean) - Method in class tripleplay.util.Deflater
- addByte(int) - Method in class tripleplay.util.Deflater
- addChar(char) - Method in class tripleplay.util.Deflater
- addChild(GroupLayer, T) - Static method in class tripleplay.util.Layers
-
Adds a child layer to a group and returns the child.
- addDisabled(Style.Binding<?>...) - Method in class tripleplay.ui.Styles
-
Returns a new instance where the supplied bindings overwrite any previous bindings for the specified styles in the disabled mode.
- addDisabledSelected(Style.Binding<?>...) - Method in class tripleplay.ui.Styles
-
Returns a new instance where the supplied bindings overwrite any previous bindings for the specified styles in the disabled selected mode.
- addEnum(E) - Method in class tripleplay.util.Deflater
- addFLString(String) - Method in class tripleplay.util.Deflater
- addInt(int) - Method in class tripleplay.util.Deflater
- addItem(T) - Method in class tripleplay.ui.HistoryGroup
-
Adds a new item to the end of the history.
- addListener(Scroller.Listener) - Method in class tripleplay.ui.Scroller
-
Adds a listener to be notified of this scroller's changes.
- addNewGroup(GroupLayer) - Static method in class tripleplay.util.Layers
-
Adds a child group to a parent group and returns the child.
- addNibble(int) - Method in class tripleplay.util.Deflater
- addParticle(float, float, float, float, float[], int) - Method in class tripleplay.particle.ParticleBatch
-
Adds a particle quad to this batch.
- addParticles(int) - Method in class tripleplay.particle.Emitter
-
Adds the specified number of particles.
- addRoot(R) - Method in class tripleplay.ui.Interface
-
Adds a root to this interface.
- addSelected(Style.Binding<?>...) - Method in class tripleplay.ui.Styles
-
Returns a new instance where the supplied bindings overwrite any previous bindings for the specified styles in the selected mode.
- addShort(int) - Method in class tripleplay.util.Deflater
- addString(String) - Method in class tripleplay.util.Deflater
- addStyles(Style.Binding<?>...) - Method in class tripleplay.ui.Element
-
Adds the supplied styles to this element (in the DEFAULT mode).
- addStyles(Styles) - Method in class tripleplay.ui.Element
-
Adds the supplied styles to this element.
- addTextSize(Dimension, IDimension) - Method in class tripleplay.ui.Constraints.TextConstraint
-
Adds the appropriate text dimensions to the supplied size.
- addTo(GroupLayer, float, float, float) - Method in class tripleplay.ui.Background.Instance
-
Adds this background's layers to the specified group at the specified x/y offset.
- addTo(Dimension) - Method in class tripleplay.ui.util.Insets
-
Adds these insets to the supplied dimensions.
- addVarInt(int) - Method in class tripleplay.util.Deflater
- addVarLong(long) - Method in class tripleplay.util.Deflater
- adjust(float, float, float, float) - Method in class tripleplay.ui.util.Insets
-
Returns a new instance which is the supplied adjustments added to these insets.
- adjustHeight(float) - Method in class tripleplay.util.EffectRenderer
- adjustHeight(float) - Method in class tripleplay.util.EffectRenderer.PixelOutline
- adjustHeight(float) - Method in class tripleplay.util.EffectRenderer.Shadow
- adjustHeight(float) - Method in class tripleplay.util.EffectRenderer.VectorOutline
- adjustHintX(float) - Method in class tripleplay.ui.Layout.Constraint
-
Allows a layout constraint to adjust an element's x hint.
- adjustHintY(float) - Method in class tripleplay.ui.Layout.Constraint
-
Allows a layout constraint to adjust an element's y hint.
- adjustPreferredSize(Dimension, float, float) - Method in class tripleplay.ui.Layout.Constraint
-
Allows a layout constraint to adjust an element's preferred size.
- adjustWidth(float) - Method in class tripleplay.util.EffectRenderer
- adjustWidth(float) - Method in class tripleplay.util.EffectRenderer.PixelOutline
- adjustWidth(float) - Method in class tripleplay.util.EffectRenderer.Shadow
- adjustWidth(float) - Method in class tripleplay.util.EffectRenderer.VectorOutline
- after(int, Runnable) - Method in class tripleplay.util.Timer
-
Executes the supplied action after the specified number of milliseconds have elapsed.
- Aggregated(Icon) - Constructor for class tripleplay.ui.Icons.Aggregated
-
Creates a new aggregated icon that defers to the given one.
- align - Variable in class tripleplay.util.StyledText.Block
-
The alignment of wrapped text, unused if not wrapping.
- align(Style.HAlign, Style.VAlign) - Method in class tripleplay.ui.util.BoxPoint
-
Creates a new box point that is equivalent to this one except with the given horizontal and vertical alignment.
- align(Style.VAlign) - Method in class tripleplay.ui.layout.FlowLayout
-
Sets the alignment used for positioning elements within their row.
- alignBottom() - Method in class tripleplay.ui.layout.TableLayout
-
Configures the vertical alignment of cells to the bottom of their row.
- alignLeft() - Method in class tripleplay.ui.layout.TableLayout.Column
-
Left aligns cells.
- alignRight() - Method in class tripleplay.ui.layout.TableLayout.Column
-
Right aligns cells.
- alignTop() - Method in class tripleplay.ui.layout.TableLayout
-
Configures the vertical alignment of cells to the top of their row.
- alive - Variable in class tripleplay.particle.ParticleBuffer
-
A liveness flag for each particle.
- alpha - Variable in class tripleplay.flump.KeyframeData
- alpha - Variable in class tripleplay.flump.LibraryData.KeyframeData
- alpha - Variable in class tripleplay.ui.Background
-
The alpha transparency of this background (or null if no alpha has been configured).
- alpha(float) - Method in class tripleplay.ui.Background
-
Configures the alpha transparency of this background.
- alpha(float) - Static method in class tripleplay.ui.IconEffect
-
Creates an IconEffect that sets the alpha on the Icon's created layer.
- Alpha - Class in tripleplay.particle.effect
-
Adjust the alpha value of a particle.
- Alpha() - Constructor for class tripleplay.particle.effect.Alpha
- ALPHA_RED - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the alpha + red tint in the particle buffer.
- ALWAYS - Enum constant in enum class tripleplay.ui.MenuItem.ShowText
- ancestors() - Method in class tripleplay.ui.util.Hierarchy
-
Returns an object to iterate over the ancestors of this hierarchy, including the root.
- Ancestors(Element<?>) - Constructor for class tripleplay.ui.util.Hierarchy.Ancestors
- angle - Variable in class tripleplay.shaders.RotateYBatch
-
The angle of rotation.
- anim - Variable in class tripleplay.ui.Interface
-
An animator that can be used to animate things in this interface.
- animate(String) - Method in class tripleplay.flump.MoviePlayer
-
Creates an
Animation
that plays a one-shot movie. - Animation - Class in tripleplay.anim
-
Represents a single component of an animation.
- Animation.Action - Class in tripleplay.anim
-
Executes an action and completes immediately.
- Animation.Delay - Class in tripleplay.anim
-
Delays a specified number of milliseconds.
- Animation.Flip - Class in tripleplay.anim
-
Processes a
Flipbook
. - Animation.Handle - Interface in tripleplay.anim
-
Used to cancel animations after they've been started.
- Animation.Interped<R> - Class in tripleplay.anim
-
A base class for animations that interpolate values.
- Animation.One - Class in tripleplay.anim
-
Animates a single scalar value.
- Animation.Repeat - Class in tripleplay.anim
-
Repeats its underlying animation over and over again (until removed).
- Animation.Shake - Class in tripleplay.anim
-
An animation that shakes a layer randomly in the x and y directions.
- Animation.Two - Class in tripleplay.anim
-
Animates a pair of scalar values (usually a position).
- Animation.Value - Interface in tripleplay.anim
-
Used by animations to update a target value.
- Animation.XYValue - Interface in tripleplay.anim
-
Used by animations to update a target value.
- Animator - Class in tripleplay.anim
-
Handles creation and management of animations.
- Animator() - Constructor for class tripleplay.anim.Animator
-
Creates an animator which is not connected to a frame signal.
- Animator(Signal<Clock>) - Constructor for class tripleplay.anim.Animator
-
Creates an animator which is permanently connected to
paint
. - AnimBuilder - Class in tripleplay.anim
-
Provides a fluent interface for building single chains of animations.
- AnimBuilder() - Constructor for class tripleplay.anim.AnimBuilder
- AnimGroup - Class in tripleplay.anim
-
Allows one to specify a group of one or more animations that will be queued up to be started on an
Animator
at some later time. - AnimGroup() - Constructor for class tripleplay.anim.AnimGroup
- apply(float) - Method in class tripleplay.util.Interpolator
-
Interpolates between zero and one according to this interpolator's function.
- apply(float, float) - Method in enum class tripleplay.ui.Element.Take
- apply(float, float) - Method in class tripleplay.util.Interpolator
-
Interpolates between zero and one according to this interpolator's function.
- apply(float, float, float, float) - Method in class tripleplay.util.Interpolator
-
Interpolates between two values.
- apply(int, float[], int, float, float) - Method in class tripleplay.particle.effect.Drag
- apply(int, float[], int, float, float) - Method in class tripleplay.particle.effect.Gravity
- apply(int, float[], int, float, float) - Method in class tripleplay.particle.effect.Move
- apply(int, float[], int, float, float) - Method in class tripleplay.particle.Effector
-
Applies this effector to the
index
th particle in the supplied buffer. - apply(int, ImageLayer) - Method in interface tripleplay.util.Frames
-
Configures the supplied image layer with the specified frame.
- apply(int, ImageLayer) - Method in class tripleplay.util.PackedFrames
- apply(int, ImageLayer) - Method in class tripleplay.util.SimpleFrames
- apply(List<? extends Effector>, float, float) - Method in class tripleplay.particle.ParticleBuffer
-
Applies the supplied effectors to all (live) particles in this buffer.
- apply(T) - Method in class tripleplay.ui.util.ElementOp
-
Applies an arbitrary operation to the given element.
- apply(ScreenStack.Screen) - Method in interface tripleplay.game.ScreenStack.Predicate
-
Returns true if the screen matches the predicate.
- apply(Icon) - Method in class tripleplay.ui.IconEffect
-
Does the needful.
- apply(ElementOp<Element<?>>) - Method in class tripleplay.ui.util.Hierarchy
-
Applies the given operation to the root of the hierarchy and to every proper descendant.
- applyClamp(float, float) - Method in class tripleplay.util.Interpolator
-
Interpolates between two values, as in
Interpolator.apply(float,float)
except thatdt
is clamped to [0..t] to avoid interpolation weirdness ifdt
is ever negative or exceedst
. - applyClamp(float, float, float, float) - Method in class tripleplay.util.Interpolator
-
Interpolates between two values, as in
Interpolator.apply(float)
except thatdt
is clamped to [0..t] to avoid interpolation weirdness ifdt
is ever negative or exceedst
. - applyDelta(int, Map<String, String>) - Method in class tripleplay.syncdb.SyncDB
-
Applies the supplied changes to this database.
- applyToEach(Iterable<? extends T>) - Method in class tripleplay.ui.util.ElementOp
-
Iterates the given elements and applies this operation to each.
- applyToHierarchy(Instance, Instances.Op) - Static method in class tripleplay.flump.Instances
-
Call
listener.onVisit
forroot
and all its descendants. - asSound() - Method in interface tripleplay.sound.Clip
-
Views this clip as a
Sound
. - asSound() - Method in class tripleplay.sound.Clip.Silence
- at(T, float, float) - Static method in class tripleplay.ui.layout.AbsoluteLayout
-
Positions
elem
at the specified position, in its preferred size. - at(T, float, float, float, float) - Static method in class tripleplay.ui.layout.AbsoluteLayout
-
Constrains
elem
to the specified position and size. - at(T, float, float, float, float, Style.HAlign, Style.VAlign) - Static method in class tripleplay.ui.layout.AbsoluteLayout
-
Constrains
elem
to the specified size and aligns it relative to the given position using the given alignments. - at(T, float, float, Style.HAlign, Style.VAlign) - Static method in class tripleplay.ui.layout.AbsoluteLayout
-
Positions
elem
relative to the given position using the given alignments. - at(T, IPoint) - Static method in class tripleplay.ui.layout.AbsoluteLayout
-
Positions
elem
at the specified position, in its preferred size. - at(T, IPoint, IDimension) - Static method in class tripleplay.ui.layout.AbsoluteLayout
-
Constrains
elem
to the specified position and size. - at(T, IPoint, IDimension, Style.HAlign, Style.VAlign) - Static method in class tripleplay.ui.layout.AbsoluteLayout
-
Constrains
elem
to the specified size and aligns it relative to the given position using the given alignments. - at(T, IPoint, Style.HAlign, Style.VAlign) - Static method in class tripleplay.ui.layout.AbsoluteLayout
-
Positions
elem
relative to the given position using the given alignments. - atBottom() - Method in class tripleplay.ui.HistoryGroup
-
Tests if the history is currently at the bottom.
- atEOF() - Method in class tripleplay.syncdb.Protocol.PayloadReader
- AtlasData(DataInputStream) - Constructor for class tripleplay.flump.LibraryData.AtlasData
- AtlasData(Json.Object) - Constructor for class tripleplay.flump.LibraryData.AtlasData
- atlases - Variable in class tripleplay.flump.LibraryData
- atThenEvery(int, int, Runnable) - Method in class tripleplay.util.Timer
-
Executes the supplied action starting
initialMillis
from now and everyrepeatMillis
there after. - auto(Element<?>) - Static method in class tripleplay.ui.util.Supplier
-
Creates a supplier that will return a previously created element the first time and null thereafter.
- AUTO_SHRINK - Static variable in class tripleplay.ui.Style
-
Whether or not to automatically shrink a text widget's font size until it fits into the horizontal space it has been allotted.
- AUTOCAPITALIZATION - Static variable in class tripleplay.ui.Field
-
Controls the behavior of native text fields with respect to auto-capitalization on platforms that support it.
- AUTOCORRECTION - Static variable in class tripleplay.ui.Field
-
Controls the behavior of native text fields with respect to auto-correction on platforms that support it.
- awake() - Method in class tripleplay.game.ScreenSpace.Screen
-
Returns true when this screen is awake.
- Axis(float) - Constructor for class tripleplay.ui.util.Scale9.Axis
-
Creates a new axis equally splitting the given length.
- Axis(float, Scale9.Axis) - Constructor for class tripleplay.ui.util.Scale9.Axis
-
Creates a new axis with the given total length and 0th and 2nd lengths copied from a source axis.
- AxisLayout - Class in tripleplay.ui.layout
-
Lays out elements in a horizontal or vertical group.
- AxisLayout() - Constructor for class tripleplay.ui.layout.AxisLayout
- AxisLayout.Constraint - Class in tripleplay.ui.layout
-
Defines axis layout constraints.
- AxisLayout.Horizontal - Class in tripleplay.ui.layout
-
A horizontal axis layout.
- AxisLayout.Policy - Enum Class in tripleplay.ui.layout
-
Specifies the off-axis layout policy.
- AxisLayout.Vertical - Class in tripleplay.ui.layout
-
A vertical axis layout.
- axisSwipe(boolean) - Method in class tripleplay.gesture.Swipe
-
An axis Swipe will consider any movement along the axis of its configured direction to be valid, rather than only movement in the direction itself.
B
- Background - Class in tripleplay.ui
-
A background is responsible for rendering a border and a fill.
- Background() - Constructor for class tripleplay.ui.Background
- BACKGROUND - Static variable in class tripleplay.ui.Style
-
The background for an element.
- BACKGROUND_DEPTH - Static variable in class tripleplay.ui.Background
-
The (highest) depth at which background layers are rendered.
- Background.Instance - Class in tripleplay.ui
-
An instantiation of a particular background template.
- Bag<E> - Class in tripleplay.util
-
An unordered collection of elements which may contain duplicates.
- Bag() - Constructor for class tripleplay.util.Bag
-
Creates a bag with a default initial capacity of 16.
- Bag(int) - Constructor for class tripleplay.util.Bag
-
Creates a bag with the specified initial capacity.
- BAR_BACKGROUND - Static variable in class tripleplay.ui.Slider
-
The background that renders the bar (defaults to a black rectangle).
- BAR_HEIGHT - Static variable in class tripleplay.ui.Slider
-
The height of the bar.
- BAR_ON_BACKGROUND - Static variable in class tripleplay.ui.Slider
-
The background that renders the "on" part of the bar, if it should be different from the default bar background.
- BAR_TYPE - Static variable in class tripleplay.ui.Scroller
-
The type of bars to use.
- BAR_WIDTH - Static variable in class tripleplay.ui.Slider
-
The width of the bar of an unstretched slider.
- BarType() - Constructor for class tripleplay.ui.Scroller.BarType
- Base90 - Class in tripleplay.util
-
Encodes and decodes ints and longs to strings in base 90.
- Base90() - Constructor for class tripleplay.util.Base90
- begin() - Method in class tripleplay.util.Glyph
-
Starts a drawing session into this glyph's canvas.
- begin(float, float, boolean) - Method in class tripleplay.shaders.RotateYBatch
- Behavior<T extends Element<T>> - Class in tripleplay.ui
-
Controls the behavior of a widget (how it responds to pointer events).
- Behavior(T) - Constructor for class tripleplay.ui.Behavior
- Behavior.Capturing<T extends Element<T>> - Class in tripleplay.ui
-
A click behavior that captures the pointer and optionally issues clicks based on some time based function.
- Behavior.Click<T extends Element<T>> - Class in tripleplay.ui
-
Implements clicking behavior.
- Behavior.Ignore<T extends Element<T>> - Class in tripleplay.ui
-
A behavior that ignores everything.
- Behavior.RapidFire<T extends Element<T>> - Class in tripleplay.ui
-
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>> - Class in tripleplay.ui
-
Implements button-like behavior: selects the element when the pointer is in bounds, and deselects on release.
- Behavior.Toggle<T extends Element<T>> - Class in tripleplay.ui
-
Implements toggling behavior.
- Behavior.Track<T extends Element<T>> - Class in tripleplay.ui
-
Tracks the pressed position as an anchor and delegates to subclasses to update state based on anchor and drag position.
- Behavior.Track.State - Class in tripleplay.ui
-
Holds the necessary data for the currently active press.
- below - Variable in class tripleplay.ui.Style.PosStyle
- BELOW - Enum constant in enum class tripleplay.ui.Style.Pos
- beveled(int, int, int) - Static method in class tripleplay.ui.Background
-
Creates a beveled background with the specified colors.
- BinaryFlumpLoader - Class in tripleplay.flump
-
Loads our flump library from a binary representation.
- BinaryFlumpLoader() - Constructor for class tripleplay.flump.BinaryFlumpLoader
- bindEnabled(ValueView<Boolean>) - Method in class tripleplay.ui.Element
-
Binds the enabledness of this element to the supplied value view.
- bindIcon(ValueView<Icon>) - Method in class tripleplay.ui.AbstractTextButton
-
Binds the icon of this button to the supplied reactive value.
- bindIcon(ValueView<Icon>) - Method in class tripleplay.ui.Label
-
Binds the icon of this label to the supplied reactive value.
- Binding(Style<V>, V) - Constructor for class tripleplay.ui.Style.Binding
- bindText(ValueView<?>) - Method in class tripleplay.ui.Label
-
Binds the text of this label to the supplied reactive value.
- bindText(ValueView<String>) - Method in class tripleplay.ui.AbstractTextButton
-
Binds the text of this button to the supplied reactive value.
- bindVisible(ValueView<Boolean>) - Method in class tripleplay.ui.Element
-
Binds the visibility of this element to the supplied value view.
- BIRTH - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the birth time in the particle buffer.
- BitVec - Class in tripleplay.util
-
A bit vector.
- BitVec() - Constructor for class tripleplay.util.BitVec
-
Creates a bit vector with an initial capacity of 16 words.
- BitVec(int) - Constructor for class tripleplay.util.BitVec
-
Creates a bit vector with the specified initial capacity (in words).
- BL - Static variable in class tripleplay.ui.util.BoxPoint
-
The bottom left corner.
- BLACK - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- blank() - Static method in class tripleplay.ui.Background
-
Creates a null background (transparent).
- BlankBackground - Class in tripleplay.ui.bgs
-
A background that displays nothing.
- BlankBackground() - Constructor for class tripleplay.ui.bgs.BlankBackground
- blend(int, int) - Static method in class tripleplay.util.Colors
-
Blends two colors.
- blend(int, int, float) - Static method in class tripleplay.util.Colors
-
Blends two colors proportionally.
- block(Graphics, String, TextStyle, float) - Static method in class tripleplay.util.StyledText
-
Creates a uniformly formatted multiple-lines of text wrapped at
wrapWidth
and left-aligned. - Block(Graphics, String, TextStyle, TextWrap, TextBlock.Align, float) - Constructor for class tripleplay.util.StyledText.Block
- BLUE - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- BOOLEAN - Static variable in class tripleplay.syncdb.Codec
-
A codec for booleans.
- bordered(int, int, float) - Static method in class tripleplay.ui.Background
-
Creates a bordered background with the specified colors and thickness.
- BorderLayout - Class in tripleplay.ui.layout
-
Arranges up to 5 elements, one central and one on each edge.
- BorderLayout() - Constructor for class tripleplay.ui.layout.BorderLayout
-
Constructs a new border layout with no gaps.
- BorderLayout(float) - Constructor for class tripleplay.ui.layout.BorderLayout
-
Constructs a new border layout with the specified gap between components.
- BorderLayout(float, float) - Constructor for class tripleplay.ui.layout.BorderLayout
-
Constructs a new border layout with the specified horizontal and vertical gaps between components.
- BorderLayout.Constraint - Class in tripleplay.ui.layout
-
Implements the constraints.
- BOTH - Enum constant in enum class tripleplay.ui.Scroller.Behavior
- bottom - Variable in class tripleplay.ui.Style.GradientTypeStyle
- bottom - Variable in class tripleplay.ui.Style.VAlignStyle
- bottom() - Method in class tripleplay.game.ScreenSpace
-
Returns the lowest screen in the stack.
- bottom() - Method in class tripleplay.ui.util.BoxPoint
-
Creates a new box point that is equivalent to this one except with a y coordinate that will resolve to the top bottom of the box.
- bottom() - Method in class tripleplay.ui.util.Insets
-
Gets the bottom inset.
- bottom(float) - Method in class tripleplay.ui.util.Insets.Mutable
-
Sets the bottom edge and returns
this
for chaining. - BOTTOM - Enum constant in enum class tripleplay.ui.Style.VAlign
- BOTTOM - Enum constant in enum class tripleplay.util.EffectRenderer.Gradient.Type
-
Gradient color on the bottom (default).
- BOUNCE_OUT - Static variable in class tripleplay.util.Interpolator
- bounceOut() - Method in class tripleplay.anim.Animation.Interped
-
Uses an ease-out-back interpolator for this animation.
- bounds - Variable in class tripleplay.gesture.GestureDirector
- bounds - Variable in class tripleplay.ui.MenuHost.Pop
-
The bounds to confine the menu, in screen coordinates; usually the whole screen.
- bounds - Variable in class tripleplay.util.PackedFrames.Frame
- bounds(float, float, float, float) - Method in class tripleplay.anim.Animation.Shake
-
Configures the amount under and over the starting x and y allowed when shaking.
- bounds(int) - Method in interface tripleplay.util.Frames
-
Returns the bounds for the specified frame.
- bounds(int) - Method in class tripleplay.util.PackedFrames
- bounds(int) - Method in class tripleplay.util.SimpleFrames
- bounds(Rectangle) - Method in class tripleplay.ui.Element
-
Writes the current bounds of this element into the supplied bounds.
- Box - Class in tripleplay.ui
-
A container that holds zero or one widget.
- Box() - Constructor for class tripleplay.ui.Box
-
Creates an empty box.
- Box(Element<?>) - Constructor for class tripleplay.ui.Box
-
Creates a box with the specified starting contents.
- Box.Clipped - Class in tripleplay.ui
-
A
Box
which draws its children clipped to their preferred size. - Box.Fade - Class in tripleplay.ui
-
A transition that fades from the old contents to the new.
- Box.Flip - Class in tripleplay.ui
- Box.Trans - Class in tripleplay.ui
-
Manages transitions for
Box.transition(tripleplay.ui.Element<?>, tripleplay.ui.Box.Trans)
. - BoxPoint - Class in tripleplay.ui.util
-
Defines a point relative to a box.
- BoxPoint(float, float) - Constructor for class tripleplay.ui.util.BoxPoint
-
Creates a new box point that will resolve to the given normalized coordinates.
- BoxPoint(float, float, float, float) - Constructor for class tripleplay.ui.util.BoxPoint
-
Creates a new box point that will resolve to the given normalized coordinates plus the given absolute coordinates.
- BR - Static variable in class tripleplay.ui.util.BoxPoint
-
The bottom right corner.
- brighter(int) - Static method in class tripleplay.util.Colors
-
Creates a new brightened version of the given color.
- builder() - Static method in class tripleplay.ui.Stylesheet
-
Returns a stylesheet builder.
- Builder() - Constructor for class tripleplay.ui.Stylesheet.Builder
- button - Variable in class tripleplay.ui.Tabs.Tab
-
The button, which will show this tab's content when clicked.
- Button - Class in tripleplay.ui
-
A button that displays text, or an icon, or both.
- Button() - Constructor for class tripleplay.ui.Button
-
Creates a button with no text or icon.
- Button(String) - Constructor for class tripleplay.ui.Button
-
Creates a button with the supplied text.
- Button(String, Icon) - Constructor for class tripleplay.ui.Button
-
Creates a button with the supplied text and icon.
- Button(Icon) - Constructor for class tripleplay.ui.Button
-
Creates a button with the supplied icon.
- buttons - Variable in class tripleplay.ui.Tabs
-
The row of buttons, one per tab.
- byAge(Interpolator) - Static method in class tripleplay.particle.effect.Alpha
-
Returns an effector that updates the particle's alpha based on its age, as adjusted by the supplied interpolator.
- byAge(Interpolator, float, float) - Static method in class tripleplay.particle.effect.Alpha
-
Returns an effector that updates the particle's alpha based on its age, as adjusted by the supplied interpolator.
C
- calcSize(float) - Method in class tripleplay.ui.HistoryGroup.RenderableLabel
-
Calculates the size of the label, using the given width hint.
- cancel() - Method in interface tripleplay.anim.Animation.Handle
-
Cancels this animation.
- cancel() - Method in interface tripleplay.gesture.Gesture
-
Forcibly put this gesture into the UNQUALIFIED state, as a result of another gesture transitioning to GREEDY.
- cancel() - Method in class tripleplay.gesture.GestureBase
- cancel() - Method in interface tripleplay.util.Timer.Handle
-
Cancels the action in question.
- CANCEL - Enum constant in enum class tripleplay.gesture.GestureNode.Type
- cancelOnPause(boolean) - Method in class tripleplay.gesture.Swipe
-
If true (the default) a pause counts the same as a finger lifted from the display.
- canUntrans() - Method in class tripleplay.game.ScreenSpace.Dir
-
Returns whether this direction can be manually "untransitioned".
- canUntrans(ScreenSpace.Dir) - Method in class tripleplay.game.ScreenSpace.Screen
-
Returns whether or not an untransition gesture may be initiated via
dir
. - CapturedRoot - Class in tripleplay.ui
-
A root that renders everything into a single texture.
- CapturedRoot(Interface, Layout, Stylesheet, QuadBatch) - Constructor for class tripleplay.ui.CapturedRoot
-
Creates a new captured root with the given values.
- center - Variable in class tripleplay.ui.Style.GradientTypeStyle
- center - Variable in class tripleplay.ui.Style.HAlignStyle
- center - Variable in class tripleplay.ui.Style.VAlignStyle
- center() - Method in class tripleplay.ui.util.BoxPoint
-
Creates a new box point that is equivalent to this one except with x, y coordinates that will resolve to the center of the box.
- CENTER - Enum constant in enum class tripleplay.ui.Style.HAlign
- CENTER - Enum constant in enum class tripleplay.ui.Style.VAlign
- CENTER - Enum constant in enum class tripleplay.util.EffectRenderer.Gradient.Type
-
Gradient color in the center.
- CENTER - Static variable in class tripleplay.ui.layout.BorderLayout
-
Constraint to position an element in the center of its parent.
- CENTER - Static variable in class tripleplay.ui.util.BoxPoint
-
The center of the box.
- centerAt(T, float, float) - Static method in class tripleplay.ui.layout.AbsoluteLayout
-
Centers
elem
on the specified position, in its preferred size. - centerAt(T, IPoint) - Static method in class tripleplay.ui.layout.AbsoluteLayout
-
Centers
elem
on the specified position, in its preferred size. - centered(Tile) - Static method in class tripleplay.ui.Background
-
Creates a centered background with the specified texture tile.
- changed - Variable in class tripleplay.anim.Flicker
-
A signal emitted when this flicker's position has changed.
- CheckBox - Class in tripleplay.ui
-
Displays a checkbox which can be toggled.
- CheckBox() - Constructor for class tripleplay.ui.CheckBox
-
Creates a checkbox using the default check glyph: U+2713.
- CheckBox(char) - Constructor for class tripleplay.ui.CheckBox
-
Creates a checkbox with the supplied check character.
- CheckBox(Icon) - Constructor for class tripleplay.ui.CheckBox
- childAdded() - Method in class tripleplay.ui.Elements
-
Emitted after a child has been added to this Elements.
- childAt(int) - Method in class tripleplay.ui.Box
- childAt(int) - Method in class tripleplay.ui.Composite
- childAt(int) - Method in class tripleplay.ui.Container
-
Returns the child at the specified index.
- childAt(int) - Method in class tripleplay.ui.Elements
- childCount() - Method in class tripleplay.ui.Box
- childCount() - Method in class tripleplay.ui.Composite
- childCount() - Method in class tripleplay.ui.Container
-
Returns the number of children contained by this container.
- childCount() - Method in class tripleplay.ui.Elements
- childRemoved() - Method in class tripleplay.ui.Elements
-
Emitted after a child has been removed from this Elements.
- clamp(Scale9.Axis, float) - Static method in class tripleplay.ui.util.Scale9
-
Ensures that the
Axis
passed in does not exceed the length given. - cleanSync - Variable in class tripleplay.syncdb.Protocol.Response
-
Whether the client's submitted deltas were applied cleanly to the server.
- clear() - Method in class tripleplay.anim.Animator
-
Clears out any pending animations.
- clear() - Method in class tripleplay.ui.Box
-
Clears out the box's current contents.
- clear() - Method in class tripleplay.util.BitVec
-
Clears all bits in this vector.
- clear() - Method in class tripleplay.util.Ref
-
Clears the target of this reference.
- clear(int) - Method in class tripleplay.util.BitVec
-
Clears the
value
th bit. - clear(Style.Mode, Style<V>) - Method in class tripleplay.ui.Styles
-
Returns a new instance where no binding exists for the specified style in the specified state.
- clearFlag(int, int) - Method in class tripleplay.entity.Component.IMask
-
Clears
flag
from the mask forentityId
. - clearFocus() - Method in class tripleplay.platform.TPPlatform
-
Clears the currently focused field, if any.
- click() - Method in class tripleplay.ui.Behavior.Click
-
Triggers a click.
- click() - Method in class tripleplay.ui.Behavior.Toggle
-
Triggers a click.
- click() - Method in class tripleplay.ui.Button
- click() - Method in class tripleplay.ui.CheckBox
- click() - Method in interface tripleplay.ui.Clickable
-
Programmatically triggers a click of this element.
- click() - Method in class tripleplay.ui.ImageButton
-
Programmatically triggers a click of this button.
- click() - Method in class tripleplay.ui.MenuItem
- click() - Method in class tripleplay.ui.ToggleButton
- Click(T) - Constructor for class tripleplay.ui.Behavior.Click
- Clickable<T extends Element<?>> - Interface in tripleplay.ui
-
Implemented by
Element
s that can be clicked. - clicked - Variable in class tripleplay.anim.Flicker
-
A signal that is emitted (with the pointer end event) on click.
- clicked - Variable in class tripleplay.ui.Behavior.Click
-
A signal emitted with our owner when clicked.
- clicked - Variable in class tripleplay.ui.Behavior.Toggle
-
A signal emitted with our owner when clicked.
- clicked - Variable in class tripleplay.ui.util.XYFlicker
-
Signal dispatched when a pointer usage did not end up being a flick.
- clicked() - Method in class tripleplay.ui.Button
- clicked() - Method in class tripleplay.ui.CheckBox
- clicked() - Method in interface tripleplay.ui.Clickable
-
A signal that is emitted when this element is clicked.
- clicked() - Method in class tripleplay.ui.ImageButton
- clicked() - Method in class tripleplay.ui.MenuItem
- clicked() - Method in class tripleplay.ui.ModalShadow
-
A signal emitted when the a touch, pointer or mouse press is happens on the shadow layer.
- clicked() - Method in class tripleplay.ui.Slider
-
A signal that is emitted when the user has released their finger/pointer after having started adjusting the slider.
- clicked() - Method in class tripleplay.ui.ToggleButton
- Clip - Interface in tripleplay.sound
-
Represents a one-shot clip.
- Clip.Silence - Class in tripleplay.sound
-
A noop clip.
- Clipped() - Constructor for class tripleplay.ui.Box.Clipped
-
Creates an empty clipped box.
- Clipped(Element<?>) - Constructor for class tripleplay.ui.Box.Clipped
-
Creates a clipped box with the specified starting contents.
- close() - Method in class tripleplay.entity.Entity
-
An alias for
Entity.dispose()
. - close() - Method in class tripleplay.flump.Movie
- close() - Method in class tripleplay.flump.MoviePlayer
- close() - Method in class tripleplay.flump.Texture
- close() - Method in class tripleplay.game.trans.PageTurnTransition
-
Reverses this transition, making it a page close instead of open.
- close() - Method in class tripleplay.ui.Interface
- close() - Method in class tripleplay.ui.Root
- close() - Method in class tripleplay.ui.Scroller.Bars
-
Destroys the resources created by the bars.
- close() - Method in class tripleplay.ui.util.Supplier
-
Disposes resources associated with the supplier instance.
- close() - Method in class tripleplay.util.Glyph
-
Disposes the layer and image, removing them from the containing widget.
- closeOnHide(AutoCloseable) - Method in class tripleplay.game.ScreenStack.Screen
-
Adds
ac
to a set to be closed when this screen is hidden. - closeOnSleep(AutoCloseable) - Method in class tripleplay.game.ScreenSpace.Screen
-
Adds
ac
to a list of closeables which will be closed when this screen goes to sleep. - CLOSER - Static variable in class tripleplay.ui.Menu
-
The closing animation function for the menu.
- Codec<T> - Class in tripleplay.syncdb
-
Handles encoding/decoding properties to/from strings.
- Codec() - Constructor for class tripleplay.syncdb.Codec
- Codec.EnumC<E extends Enum<E>> - Class in tripleplay.syncdb
-
A codec for enums which encodes to/from
Enum.name
. - COL - Static variable in class tripleplay.ui.layout.TableLayout
-
The default column configuration.
- Color - Class in tripleplay.particle.init
-
Initializes the color value of a particle.
- Color() - Constructor for class tripleplay.particle.init.Color
- COLOR - Static variable in class tripleplay.ui.Style
-
The foreground color for an element.
- Colors - Class in tripleplay.util
-
Utilities and constants for colors.
- Colors() - Constructor for class tripleplay.util.Colors
- colspan - Variable in class tripleplay.ui.layout.TableLayout.Colspan
-
The number of columns spanned by this element.
- colspan(T, int) - Static method in class tripleplay.ui.layout.TableLayout
-
Configures a colspan constraint on
elem
. - Colspan(int) - Constructor for class tripleplay.ui.layout.TableLayout.Colspan
- columns() - Method in class tripleplay.ui.layout.TableLayout
-
Returns the number of columns configured for this table.
- columns(int) - Static method in class tripleplay.ui.layout.TableLayout
-
Creates an array of
columns
columns, each with default configuration. - complete() - Method in interface tripleplay.anim.Animation.Handle
-
Completes the animation chain by adjusting all animations to their final state and then canceling them.
- complete(ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.ScreenStack.Transition
-
Called when the transition is complete.
- complete(ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.trans.AbstractTransition
- complete(ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.trans.FadeTransition
- complete(ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.trans.FlipTransition
- complete(ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.trans.PageTurnTransition
- complete(ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.trans.SlideTransition
- COMPLETE - Enum constant in enum class tripleplay.gesture.Gesture.State
-
A complete gesture has successfully completed, indicating that no further gesture evaluation should be performed for the remainder of this user interaction.
- completed() - Method in interface tripleplay.gesture.Gesture
-
Dispatched when this gesture is completed.
- completed() - Method in class tripleplay.gesture.GestureBase
- Component - Class in tripleplay.entity
-
A component contains the data for a single aspect of an entity.
- Component.FScalar - Class in tripleplay.entity
-
A component implementation for a single scalar
float
. - Component.Generic<T> - Class in tripleplay.entity
-
A component implementation for arbitrary objects.
- Component.IMask - Class in tripleplay.entity
-
A component implementation for a single
int
bit mask. - Component.IScalar - Class in tripleplay.entity
-
A component implementation for a single scalar
int
. - Component.XY - Class in tripleplay.entity
-
A component implementation for a pair of
float
s. - composite(Background...) - Static method in class tripleplay.ui.Background
-
Creates a composite background with the specified backgrounds.
- Composite<T extends Composite<T>> - Class in tripleplay.ui
-
A container with a fixed list of children, which client code must assume is immutable.
- CompositeBackground - Class in tripleplay.ui.bgs
-
A background consisting of multiple other backgrounds.
- CompositeBackground(Background...) - Constructor for class tripleplay.ui.bgs.CompositeBackground
-
Creates a new composite background with the given constituents.
- computeSize(float, float, float) - Method in class tripleplay.ui.layout.AxisLayout.Constraint
- computeSize(float, float, float) - Method in enum class tripleplay.ui.layout.AxisLayout.Policy
- computeSize(Container<?>, float, float) - Method in class tripleplay.ui.layout.AbsoluteLayout
- computeSize(Container<?>, float, float) - Method in class tripleplay.ui.layout.AxisLayout.Horizontal
- computeSize(Container<?>, float, float) - Method in class tripleplay.ui.layout.AxisLayout.Vertical
- computeSize(Container<?>, float, float) - Method in class tripleplay.ui.layout.BorderLayout
- computeSize(Container<?>, float, float) - Method in class tripleplay.ui.Layout
-
Computes and returns the size needed to arrange children of the supplied container according to their preferred size, given the specified x and y size hints.
- computeSize(Container<?>, float, float) - Method in class tripleplay.ui.layout.FlowLayout
- computeSize(Container<?>, float, float) - Method in class tripleplay.ui.layout.TableLayout
- connect(Signal<Clock>) - Method in class tripleplay.anim.Flicker
-
Connects this flicker to the
paint
signal. - connect(Signal<Clock>, Signal<Clock>) - Method in class tripleplay.entity.World
-
Connects this world to the supplied
update
andpaint
signals. - constant(float) - Static method in class tripleplay.particle.Generator
-
Returns a generator that emits the specified number of particles per second, and is never exhausted.
- constant(float) - Static method in class tripleplay.particle.init.Lifespan
-
Returns an initializer that provides a constant lifespan.
- constant(float, float) - Static method in class tripleplay.particle.init.Transform
-
Returns an initializer that configures a particle with a constant translation, and no scaling or rotation.
- constant(float, float, float, float) - Static method in class tripleplay.particle.init.Color
-
Returns an initializer that initializes the particle's color to the supplied constant value.
- constant(float, float, float, float) - Static method in class tripleplay.particle.init.Transform
-
Returns an initializer that configures a particle with a constant transform.
- constant(int) - Static method in class tripleplay.particle.init.Color
-
Returns an initializer that initializes the particle's color to the supplied constant value.
- constant(Vector) - Static method in class tripleplay.particle.init.Velocity
-
Returns an initializer that provides a constant velocity.
- CONSTRAIN - Enum constant in enum class tripleplay.ui.layout.AxisLayout.Policy
- constraint() - Method in class tripleplay.ui.Element
-
Returns the layout constraint configured on this element, or null.
- Constraint() - Constructor for class tripleplay.ui.Layout.Constraint
- Constraint(boolean, float) - Constructor for class tripleplay.ui.layout.AxisLayout.Constraint
- Constraint(IPoint, IDimension, Style.HAlign, Style.VAlign) - Constructor for class tripleplay.ui.layout.AbsoluteLayout.Constraint
- Constraint(BoxPoint, BoxPoint, IDimension) - Constructor for class tripleplay.ui.layout.AbsoluteLayout.Constraint
- Constraints - Class in tripleplay.ui
-
Provides various user interface constraints.
- Constraints() - Constructor for class tripleplay.ui.Constraints
- Constraints.TextConstraint - Class in tripleplay.ui
-
A special layout constraint used by
TextWidget
s which adjusts only the text size of the widget, leaving the remaining dimensions (icon, insets, etc.) unmodified. - Container<T extends Container<T>> - Class in tripleplay.ui
-
A shared base class for elements which contain other elements.
- Container() - Constructor for class tripleplay.ui.Container
- Container.Mutable<T extends Container.Mutable<T>> - Class in tripleplay.ui
-
A container that allows mutation (adding and removal) of its children.
- contains(int) - Method in class tripleplay.entity.IntBag
- contains(E) - Method in class tripleplay.util.Bag
-
Returns whether this bag contains
elem
. - contains(String) - Method in class tripleplay.util.TypedStorage
-
Returns whether the specified key is mapped to some value.
- contains(GroupLayer, Layer) - Static method in class tripleplay.util.Layers
-
Whether a GroupLayer hierarchy contains another layer somewhere in its depths.
- contains(Function<E, Boolean>) - Method in class tripleplay.util.Bag
-
Returns whether this bag contains at least one element matching
pred
. - containsMerges(Map<String, String>) - Method in class tripleplay.syncdb.SyncDB
-
Returns whether the supplied delta contains changes to any properties for which unsynced changes also exist.
- content - Variable in class tripleplay.ui.Scroller
-
The content contained in the scroller.
- content() - Method in class tripleplay.ui.Tabs.Tab
-
Gets this tab's content, creating it if necessary.
- contentArea - Variable in class tripleplay.ui.Tabs
-
The content group.
- contentClicked() - Method in class tripleplay.ui.Scroller
-
Gets the signal dispatched when a pointer click occurs in the scroller.
- contentPos() - Method in class tripleplay.ui.Scroller.Range
-
Gets the current content offset.
- contents() - Method in class tripleplay.ui.Box
-
Returns the box's current contents.
- contentSize() - Method in class tripleplay.ui.Scroller
-
Gets the size of the content that we are responsible for scrolling.
- contentSize() - Method in class tripleplay.ui.Scroller.Range
-
Gets the size of the content along this range's axis.
- coord(int) - Method in class tripleplay.ui.util.Scale9.Axis
-
Returns the coordinate of the given chunk, 0 - 2.
- copy(int) - Method in class tripleplay.ui.layout.TableLayout.Column
-
Returns
count
copies of this column. - corners(float) - Method in class tripleplay.ui.bgs.Scale9Background
-
Sets all edges of the source axes to the given value.
- count() - Method in interface tripleplay.util.Frames
-
Returns the number of frames available.
- count() - Method in class tripleplay.util.PackedFrames
- count() - Method in class tripleplay.util.SimpleFrames
- create() - Method in class tripleplay.ui.Stylesheet.Builder
-
Creates a stylesheet with the previously configured style mappings.
- create() - Static method in class tripleplay.util.Bag
-
Creates an empty bag.
- create(boolean) - Method in class tripleplay.entity.World
-
Creates and returns an entity.
- create(int) - Static method in class tripleplay.util.Bag
-
Creates an empty bag with the specified initial capacity.
- create(Class<E>) - Static method in class tripleplay.syncdb.Codec.EnumC
- create(T) - Static method in class tripleplay.util.Ref
-
Creates a reference to a
Closeable
target. - createBars(Scroller) - Method in class tripleplay.ui.Scroller.BarType
-
Creates the scroll bars.
- createEffectRenderer(Element<?>) - Method in interface tripleplay.ui.Style.EffectFactory
-
Creates the effect renderer to be used by this factory.
- createImageOverlay(Image) - Method in class tripleplay.platform.TPPlatform
- createInstance() - Method in class tripleplay.flump.Movie.Symbol
- createInstance() - Method in interface tripleplay.flump.Symbol
-
Creates a new instance of this symbol.
- createInstance() - Method in class tripleplay.flump.Texture.Symbol
- createInstance(String) - Method in class tripleplay.flump.Library
-
Creates an instance of a symbol, or throws if the symbol name is not in this library.
- createMovie(String) - Method in class tripleplay.flump.Library
- createNativeTextField(Field.Native) - Method in class tripleplay.platform.TPPlatform
-
Creates a native text field, if this platform supports it.
- createRoot(Layout, Stylesheet) - Method in class tripleplay.ui.Interface
-
Creates a root element with the specified layout and stylesheet.
- createRoot(Layout, Stylesheet, GroupLayer) - Method in class tripleplay.ui.Interface
-
Creates a root element with the specified layout and stylesheet and adds its layer to the specified parent.
- createTextStyle(Element<?>) - Static method in class tripleplay.ui.Style
-
Creates a text style instance based on the supplied element's stylings.
- createTexture(String) - Method in class tripleplay.flump.Library
- createWidget() - Method in class tripleplay.ui.CapturedRoot
-
Creates a widget that will display this root in an image layer.
- cropped(Tile) - Static method in class tripleplay.ui.Background
-
Creates a cropped centered background with the specified texture tile.
- current - Variable in class tripleplay.ui.util.Hierarchy.Ancestors
- current() - Method in class tripleplay.game.ScreenSpace
-
Returns the current screen, or
null
if this space is empty. - CYAN - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- cycleTime(float) - Method in class tripleplay.anim.Animation.Shake
-
Configures the shake cycle time in the x and y directions.
- cycleTime(float, float) - Method in class tripleplay.anim.Animation.Shake
-
Configures the shake cycle time in the x and y directions.
D
- DARK_GRAY - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- darker(int) - Static method in class tripleplay.util.Colors
-
Creates a new darkened version of the given color with the default DARK_FACTOR.
- darker(int, float) - Static method in class tripleplay.util.Colors
-
Creates a new darkened version of the given color.
- data - Variable in class tripleplay.particle.ParticleBuffer
-
The particle data.
- DBUtil - Class in tripleplay.syncdb
-
SyncDB
related utility methods. - DBUtil() - Constructor for class tripleplay.syncdb.DBUtil
- deactivate() - Method in class tripleplay.ui.Menu
-
Closes this menu, using an animation created by the resolved
Menu.CLOSER
style. - deactivate() - Method in class tripleplay.ui.MenuHost
-
Deactivates the current menu, if any is showing.
- deactivated() - Method in class tripleplay.ui.Menu
-
Gets the signal that is dispatched when the menu is closed and no longer usable.
- DEBOUNCE_DELAY - Static variable in class tripleplay.ui.Behavior.Click
-
A delay (in milliseconds) during which the owner will remain unclickable after it has been clicked.
- debug(String, Object...) - Method in class tripleplay.util.Logger
-
Logs a debug message.
- DEBUG - Enum constant in enum class tripleplay.util.Logger.Level
- decode(String) - Method in class tripleplay.syncdb.Codec
-
Decodes the supplied string into a value.
- decode(String) - Method in class tripleplay.syncdb.Codec.EnumC
- decode(String, T) - Method in class tripleplay.syncdb.Codec
-
Decodes the supplied string into a value.
- decodeInt(String) - Static method in class tripleplay.util.Base90
- decodeList(String, Codec<E>) - Static method in class tripleplay.syncdb.DBUtil
-
Decodes a list encoded via
DBUtil.encodeList(java.util.List<E>, tripleplay.syncdb.Codec<E>)
. - decodeLong(String) - Static method in class tripleplay.util.Base90
- decodeRequest(String) - Static method in class tripleplay.syncdb.Protocol
-
Decodes a client request from a compact string format.
- decodeResponse(String) - Static method in class tripleplay.syncdb.Protocol
-
Decodes a server response from a compact string format.
- decodeSet(String, Codec<E>) - Static method in class tripleplay.syncdb.DBUtil
-
Decodes a set encoded via
DBUtil.encodeSet(java.util.Set<E>, tripleplay.syncdb.Codec<E>)
. - DEFAULT - Enum constant in enum class tripleplay.ui.layout.AxisLayout.Policy
- DEFAULT - Enum constant in enum class tripleplay.ui.Style.Mode
- DEFAULT - Static variable in class tripleplay.util.TextStyle
-
A default text style from which custom styles can be derived.
- DEFAULT_GAP - Static variable in class tripleplay.ui.layout.FlowLayout
-
The default gap between rows and elements in a row.
- DEFAULT_TAP_DIST - Static variable in class tripleplay.util.Tapper
-
Default threshold distance.
- DEFAULT_TAP_DIST_SQ - Static variable in class tripleplay.util.Tapper
-
Default threshold distance, set to
Tapper.DEFAULT_TAP_DIST
squared. - defaultLevel() - Method in class tripleplay.util.Logger.Levels
-
Returns the current default log level.
- Deflater - Class in tripleplay.util
-
Encodes typed data into a string.
- Deflater() - Constructor for class tripleplay.util.Deflater
- delay(float) - Method in class tripleplay.anim.AnimBuilder
-
Creates an animation that delays for the specified duration in milliseconds.
- Delay(float) - Constructor for class tripleplay.anim.Animation.Delay
- delta - Variable in class tripleplay.syncdb.Protocol.Request
-
The changes that have been made on the client since the last sync.
- delta - Variable in class tripleplay.syncdb.Protocol.Response
-
Deltas the client needs to apply to sync with the latest server version.
- destroy(Element<?>) - Method in class tripleplay.ui.Box
- destroy(Element<?>) - Method in class tripleplay.ui.Container.Mutable
-
Removes and destroys the specified child.
- destroy(Element<?>) - Method in class tripleplay.ui.Elements
- destroyAll() - Method in class tripleplay.ui.Box
- destroyAll() - Method in class tripleplay.ui.Container.Mutable
-
Removes and destroys all children from this container.
- destroyAll() - Method in class tripleplay.ui.Elements
- destroyAt(int) - Method in class tripleplay.ui.Box
- destroyAt(int) - Method in class tripleplay.ui.Container.Mutable
-
Removes and destroys the child at the specified index.
- destroyAt(int) - Method in class tripleplay.ui.Elements
- destroyContents() - Method in class tripleplay.ui.Box
-
Clears out the box's current contents and destroys it immediately.
- destroyOnEmpty() - Method in class tripleplay.particle.Emitter
-
Configures this emitter to destroy its layer when it runs out of particles.
- destroyTab(Tabs.Tab) - Method in class tripleplay.ui.Tabs
-
Removes the given tab and destroys its resources.
- destScale(float) - Method in class tripleplay.ui.bgs.Scale9Background
-
Sets an overall destination scale for the background.
- didChange() - Method in class tripleplay.entity.Entity
-
Indicates that this entity has changed, and causes it to be reconsidered for inclusion or exclusion from systems on the next update.
- DimensionValue - Class in tripleplay.util
-
A specialized
Value
for dimensions. - DimensionValue(float, float) - Constructor for class tripleplay.util.DimensionValue
-
Creates a new value with a new dimension of the given width and height.
- DimensionValue(IDimension) - Constructor for class tripleplay.util.DimensionValue
-
Creates a new value with the given dimension.
- dir(ScreenStack.Transition.Dir) - Method in class tripleplay.game.trans.SlideTransition
- Dir() - Constructor for class tripleplay.game.ScreenSpace.Dir
- DISABLED - Enum constant in enum class tripleplay.ui.Style.Mode
- DISABLED_SELECTED - Enum constant in enum class tripleplay.ui.Style.Mode
- dispose() - Method in class tripleplay.entity.Entity
-
Disposes this entity, causing it to be removed from the world on the next update.
- dispose() - Method in class tripleplay.game.ScreenSpace.Screen
-
Called when this screen is removed from the screen space.
- dispose(Closeable) - Method in class tripleplay.anim.AnimBuilder
-
Disposes the specified disposable.
- disposeRoot(Root) - Method in class tripleplay.ui.Interface
-
Removes the supplied root element from this interface and disposes its layer, iff it's currently added.
- disposeRoots() - Method in class tripleplay.ui.Interface
-
Removes and disposes all roots in this interface.
- DOUBLE_TIME - Static variable in class tripleplay.util.DoubleTapper
-
Maximum time between taps for the 2nd to be considered a double.
- DoubleTapper - Class in tripleplay.util
-
Detects double taps on a layer, using a threshold time between taps.
- DoubleTapper() - Constructor for class tripleplay.util.DoubleTapper
- down() - Method in class tripleplay.game.trans.SlideTransition
- DOWN - Enum constant in enum class tripleplay.game.ScreenStack.Transition.Dir
- DOWN - Enum constant in enum class tripleplay.gesture.Gesture.Direction
- DOWN - Static variable in class tripleplay.game.ScreenSpace
- drag - Variable in class tripleplay.ui.Behavior.Track.State
-
The press and drag positions.
- Drag - Class in tripleplay.particle.effect
-
Applies friction (drag) to particles.
- Drag(float) - Constructor for class tripleplay.particle.effect.Drag
-
Creates a drag effector with uniform x and y drag.
- Drag(float, float) - Constructor for class tripleplay.particle.effect.Drag
-
Creates a drag effector with the specified x and y drag.
- dump(float[], int, int) - Static method in class tripleplay.particle.ParticleBuffer
-
Returns a string representation of the specified particle's data.
- dumpHierarchy(Instance) - Static method in class tripleplay.flump.Instances
-
Dump the display hierarchy to a String, each component on a newline, children indented two spaces:
- duration - Variable in class tripleplay.flump.KeyframeData
- duration - Variable in class tripleplay.flump.LibraryData.KeyframeData
- duration - Variable in class tripleplay.flump.Movie.Symbol
-
The duration of this movie, in milliseconds.
- duration(float) - Method in class tripleplay.game.trans.AbstractTransition
-
Configures the duration of the transition.
E
- EARTH_G - Static variable in class tripleplay.particle.effect.Gravity
-
Earth gravity.
- ease - Variable in class tripleplay.flump.KeyframeData
- ease - Variable in class tripleplay.flump.LibraryData.KeyframeData
- EASE_IN - Static variable in class tripleplay.util.Interpolator
-
An interpolator that starts to change slowly and ramps up to full speed.
- EASE_IN_BACK - Static variable in class tripleplay.util.Interpolator
-
An interpolator that undershoots the starting value, then speeds up into the final value
- EASE_INOUT - Static variable in class tripleplay.util.Interpolator
-
An interpolator that eases away from the starting value, speeds up, then eases into the final value.
- EASE_OUT - Static variable in class tripleplay.util.Interpolator
-
An interpolator that starts to change quickly and eases into the final value.
- EASE_OUT_BACK - Static variable in class tripleplay.util.Interpolator
-
An interpolator that eases into the final value and overshoots it before settling on it.
- EASE_OUT_ELASTIC - Static variable in class tripleplay.util.Interpolator
-
An interpolator that eases past the final value then back towards it elastically.
- easeIn() - Method in class tripleplay.anim.Animation.Interped
-
Uses an ease-in interpolator for this animation.
- easeIn() - Method in class tripleplay.game.trans.InterpedTransition
- easeInBack() - Method in class tripleplay.anim.Animation.Interped
-
Uses an ease-in-back interpolator for this animation.
- easeInOut() - Method in class tripleplay.anim.Animation.Interped
-
Uses an ease-inout interpolator for this animation.
- easeInOut() - Method in class tripleplay.game.trans.InterpedTransition
- easeOut() - Method in class tripleplay.anim.Animation.Interped
-
Uses an ease-out interpolator for this animation.
- easeOut() - Method in class tripleplay.game.trans.InterpedTransition
- easeOutBack() - Method in class tripleplay.anim.Animation.Interped
-
Uses an ease-out-back interpolator for this animation.
- easeOutElastic() - Method in class tripleplay.anim.Animation.Interped
-
Uses an ease-out-elastic interpolator for this animation.
- EAST - Static variable in class tripleplay.ui.layout.BorderLayout
-
Constraint to position an element along the right edge of its parent.
- effect - Variable in class tripleplay.util.TextStyle
-
The text effect used when rendering the text.
- Effector - Class in tripleplay.particle
-
Encapsulates a single effect on a particle, for example, moving it based on its current velocity.
- Effector() - Constructor for class tripleplay.particle.Effector
- effectors - Variable in class tripleplay.particle.Emitter
-
The effectors used by this emitter.
- EffectRenderer - Class in tripleplay.util
-
Handles the rendering of text with a particular effect (shadow, outline, etc.).
- EffectRenderer() - Constructor for class tripleplay.util.EffectRenderer
- EffectRenderer.Gradient - Class in tripleplay.util
- EffectRenderer.Gradient.Type - Enum Class in tripleplay.util
-
Defines different types of gradient fills.
- EffectRenderer.PixelOutline - Class in tripleplay.util
- EffectRenderer.Shadow - Class in tripleplay.util
- EffectRenderer.VectorOutline - Class in tripleplay.util
- elem - Variable in class tripleplay.ui.util.Hierarchy
-
The element that is the focus of this view.
- Element<T extends Element<T>> - Class in tripleplay.ui
-
The root of the interface element hierarchy.
- ELEMENT_BUFFER - Static variable in class tripleplay.ui.Scroller
-
The buffer around a child element when updating visibility (
Scroller.updateVisibility()
. - Element.Take - Enum Class in tripleplay.ui
-
Ways in which a preferred and an original dimension can be "taken" to produce a result.
- ElementOp<T extends Element<?>> - Class in tripleplay.ui.util
-
Defines a method that applies an operation to an element.
- ElementOp() - Constructor for class tripleplay.ui.util.ElementOp
- Elements<T extends Elements<T>> - Class in tripleplay.ui
-
Contains other elements and lays them out according to a layout policy.
- Elements(Layout) - Constructor for class tripleplay.ui.Elements
-
Creates a collection with the specified layout.
- ELLIPSIZE - Static variable in class tripleplay.ui.Style
-
Whether or not to automatically clip a text widget's text to fit into the horizontal space it has been allotted.
- emit(Signal<T>, T) - Method in class tripleplay.anim.AnimBuilder
-
Emits
value
onsignal
. - Emitter - Class in tripleplay.particle
-
Emits and updates particles according to a particle system configuration.
- Emitter(ParticleBatch, Signal<Clock>, int, Tile) - Constructor for class tripleplay.particle.Emitter
-
Creates an emitter that uses
batch
to render its particles. - enabled - Variable in class tripleplay.anim.Flicker
-
Whether or not this flicker is enabled (responding to pointer events).
- enabled - Variable in enum class tripleplay.ui.Style.Mode
-
Whether the element is enabled in this mode.
- enabledSlot() - Method in class tripleplay.ui.Element
-
Returns a slot which can be used to wire the enabled status of this element to a
Signal
orValue
. - encode(E) - Method in class tripleplay.syncdb.Codec.EnumC
- encode(T) - Method in class tripleplay.syncdb.Codec
-
Encodes the supplied value to a string.
- encoded() - Method in class tripleplay.util.Deflater
- encodeInt(int) - Static method in class tripleplay.util.Base90
- encodeList(List<E>, Codec<E>) - Static method in class tripleplay.syncdb.DBUtil
-
Encodes the supplied list as a string, using the supplied codec for its elements.
- encodeLong(long) - Static method in class tripleplay.util.Base90
- encodeRequest(Protocol.Request) - Static method in class tripleplay.syncdb.Protocol
-
Encodes a client request into a compact string format.
- encodeResponse(Protocol.Response) - Static method in class tripleplay.syncdb.Protocol
-
Encodes a server response into a compact string format.
- encodeSet(Set<E>, Codec<E>) - Static method in class tripleplay.syncdb.DBUtil
-
Encodes the supplied set as a string, using the supplied codec for its elements.
- end() - Method in class tripleplay.util.Glyph
-
Completes a drawing sesion into this glyph's canvas and uploads the image data to GPU
- END - Enum constant in enum class tripleplay.gesture.GestureNode.Type
- entities() - Method in class tripleplay.entity.World
-
Returns an iterator over all entities in the world.
- entity(int) - Method in class tripleplay.entity.World
-
Returns the entity with the specified id.
- Entity - Class in tripleplay.entity
-
Tracks the state of a single entity.
- Entity(World, int) - Constructor for class tripleplay.entity.Entity
-
Creates an entity in the specified world, initializes it with the supplied set of components and queues it to be added to the world on the next update.
- entityAdded - Variable in class tripleplay.entity.World
-
A signal emitted when an entity is added to this world.
- entityChanged - Variable in class tripleplay.entity.World
-
A signal emitted when an entity in this world has changed (usually this means components have been added to or removed from the entity).
- entityCount() - Method in class tripleplay.entity.System
-
Returns the number of active entities in this system.
- entityDisabled - Variable in class tripleplay.entity.World
-
A signal emitted when an entity in this world which was enabled becomes disabled.
- entityEnabled - Variable in class tripleplay.entity.World
-
A signal emitted when an entity in this world which was disabled becomes enabled.
- entityId(int) - Method in class tripleplay.entity.System
-
Returns the id of the
ii
th active entity in this system. - entityRemoved - Variable in class tripleplay.entity.World
-
A signal emitted when an entity is removed from the world.
- EnumC(Class<E>) - Constructor for class tripleplay.syncdb.Codec.EnumC
- eos() - Method in class tripleplay.util.Inflater
- equal(Object, Object) - Static method in class tripleplay.util.Objects
-
Tests if two objects match according to reference equality, or
Object.equals(Object)
if both are non-null. - EQUALIZE - Enum constant in enum class tripleplay.ui.layout.AxisLayout.Policy
- equals(Object) - Method in class tripleplay.util.EffectRenderer.Gradient
- equals(Object) - Method in class tripleplay.util.EffectRenderer.PixelOutline
- equals(Object) - Method in class tripleplay.util.EffectRenderer.Shadow
- equals(Object) - Method in class tripleplay.util.EffectRenderer.VectorOutline
- equals(Object) - Method in class tripleplay.util.StyledText.Block
- equals(Object) - Method in class tripleplay.util.StyledText.Plain
- equals(Object) - Method in class tripleplay.util.StyledText.Span
- equals(Object) - Method in class tripleplay.util.TextStyle
- error(String, Object...) - Method in class tripleplay.util.Logger
-
Logs an error message.
- ERROR - Enum constant in enum class tripleplay.util.Logger.Level
- evaluate(GestureNode) - Method in interface tripleplay.gesture.Gesture
-
Perform a potential state transition in this Gesture based on the most recent touch information.
- evaluate(GestureNode) - Method in class tripleplay.gesture.GestureBase
- every(int, Runnable) - Method in class tripleplay.util.Timer
-
Executes the supplied action starting
millis
from now and everymillis
thereafter. - exposeNativeField() - Method in class tripleplay.ui.Field
-
Returns this field's native text field, if it has one, otherwise null.
F
- Fade(int) - Constructor for class tripleplay.ui.Box.Fade
- FADE_IN - Static variable in class tripleplay.ui.Menu
-
Generic animation to fade in a menu using the layer alpha.
- FADE_OUT - Static variable in class tripleplay.ui.Menu
-
Generic animation to fade out a menu using the layer alpha.
- fadeIn(float) - Method in interface tripleplay.sound.Clip
-
Fades this clip in over the specified duration.
- fadeIn(float) - Method in class tripleplay.sound.Clip.Silence
- fadeIn(float) - Method in interface tripleplay.sound.Loop
-
Fades this loop in over the specified duration.
- fadeIn(float) - Method in class tripleplay.sound.Loop.Silence
- fadeOut(float) - Method in interface tripleplay.sound.Clip
-
Fades this clip out over the specified duration.
- fadeOut(float) - Method in class tripleplay.sound.Clip.Silence
- fadeOut(float) - Method in interface tripleplay.sound.Loop
-
Fades this loop out over the specified duration.
- fadeOut(float) - Method in class tripleplay.sound.Loop.Silence
- FadeTransition - Class in tripleplay.game.trans
-
Fades the new screen in front of the old one.
- FadeTransition() - Constructor for class tripleplay.game.trans.FadeTransition
- FALSE - Static variable in interface tripleplay.syncdb.Resolver
-
Uses whichever of the client or server is false.
- field() - Method in class tripleplay.ui.Field.Native
- Field - Class in tripleplay.ui
-
Displays text which can be edited via the
Input.getText(playn.core.Keyboard.TextType, java.lang.String, java.lang.String)
popup. - Field() - Constructor for class tripleplay.ui.Field
- Field(String) - Constructor for class tripleplay.ui.Field
- Field(String, Styles) - Constructor for class tripleplay.ui.Field
- Field(Styles) - Constructor for class tripleplay.ui.Field
- Field.MaxLength - Class in tripleplay.ui
-
Blocks keypresses for a native text field when the length is at a given maximum.
- Field.Native - Class in tripleplay.ui
-
Exposes protected field information required for native fields.
- Field.Transformer - Interface in tripleplay.ui
-
For native text fields, transforms text during typing.
- Field.Validator - Interface in tripleplay.ui
-
For native text fields, decides whether to block a keypress based on the proposed content of the field.
- file - Variable in class tripleplay.flump.LibraryData.AtlasData
- fillHeight() - Method in class tripleplay.ui.layout.TableLayout
-
Configures cells to be stretched vertically to take up the entire height of their row.
- find(ScreenStack.Predicate) - Method in class tripleplay.game.ScreenStack
-
Searches from the top-most screen to the bottom-most screen for a screen that matches the predicate, returning the first matching screen.
- findScrollParent(Element<?>) - Static method in class tripleplay.ui.Scroller
-
Finds the closest ancestor of the given element that is a
Scroller
, or null if there isn't one. - finish(ScreenSpace.Screen, ScreenSpace.Screen) - Method in class tripleplay.game.ScreenSpace.Dir
-
Cleans up after a transition.
- finishedEditing() - Method in class tripleplay.ui.Field
-
Returns a signal that is dispatched when text editing is complete.
- finishedEditing() - Method in class tripleplay.ui.Field.Native
-
A signal that is dispatched when the native text field has lost focus.
- fixed() - Static method in class tripleplay.ui.layout.AxisLayout
-
Returns a layout constraint indicating that the associated element should not be stretched.
- fixed() - Method in class tripleplay.ui.layout.TableLayout.Column
-
Sets column to always use the width of its widest element.
- fixedHeight(float) - Static method in class tripleplay.ui.Constraints
-
Returns a layout constraint that forces the widget's preferred height to the specified value.
- fixedSize(float, float) - Static method in class tripleplay.ui.Constraints
-
Returns a layout constraint that forces the widget's preferred width height to the specified values.
- fixedSize(Graphics, String) - Static method in class tripleplay.ui.Constraints
-
Returns a layout constriant that forces the widget's preferred size to be precisely what is needed to accommodate the supplied template text string.
- fixedWidth(float) - Static method in class tripleplay.ui.Constraints
-
Returns a layout constraint that forces the widget's preferred width to the specified value.
- flicker - Variable in class tripleplay.ui.Scroller
-
Handles the flicking physics.
- Flicker - Class in tripleplay.anim
-
Implements click, and scroll/flick gestures for a single variable (y position by default).
- Flicker(float, float, float) - Constructor for class tripleplay.anim.Flicker
-
Creates a flicker with the specified initial, minimum and maximum values.
- flickXfer - Variable in class tripleplay.ui.util.XYFlicker
-
The fraction of flick speed transfered to the entity (a value between 0 and 1).
- flip() - Method in class tripleplay.game.ScreenStack
-
Creates a flip transition.
- Flip(int) - Constructor for class tripleplay.ui.Box.Flip
- Flip(ImageLayer, Flipbook) - Constructor for class tripleplay.anim.Animation.Flip
- FLIP - Static variable in class tripleplay.game.ScreenSpace
- flipbook(GroupLayer, Flipbook) - Method in class tripleplay.anim.AnimBuilder
-
Starts a flipbook animation in a new image layer which is created and added to
box
. - flipbook(ImageLayer, Flipbook) - Method in class tripleplay.anim.AnimBuilder
-
Starts a flipbook animation that displays in
layer
. - Flipbook - Class in tripleplay.anim
-
Encapsulates a set of frames and timings for animating those frames.
- Flipbook(Frames, float) - Constructor for class tripleplay.anim.Flipbook
-
Creates a flipbook with the specified frames.
- Flipbook(Frames, float[]) - Constructor for class tripleplay.anim.Flipbook
-
Creates a flipbook with the specified frames.
- Flipbook(Frames, int[], float[]) - Constructor for class tripleplay.anim.Flipbook
-
Creates a flipbook with the specified frames.
- flipbookAt(GroupLayer, float, float, Flipbook) - Method in class tripleplay.anim.AnimBuilder
-
Starts a flipbook animation that displays the supplied
book
at the specified position in the supplied parent. - flipbookAt(GroupLayer, XY, Flipbook) - Method in class tripleplay.anim.AnimBuilder
-
Starts a flipbook animation that displays the supplied
book
at the specified position in the supplied parent. - FlipTransition - Class in tripleplay.game.trans
-
Flips the current screen over, revealing the new screen as if it were on the reverse side of the current screen.
- FlipTransition() - Constructor for class tripleplay.game.trans.FlipTransition
- FLOATMAX - Static variable in interface tripleplay.syncdb.Resolver
-
Uses the largest of the client and server floating point numbers.
- FLOATMIN - Static variable in interface tripleplay.syncdb.Resolver
-
Uses the smallest of the client and server floating point numbers.
- FlowLayout - Class in tripleplay.ui.layout
-
Lays out elements in horizontal rows, starting a new row when a width limit is reached.
- FlowLayout() - Constructor for class tripleplay.ui.layout.FlowLayout
- FlowLayout.Metrics - Class in tripleplay.ui.layout
- focus() - Method in class tripleplay.game.ScreenSpace
-
Returns the currently focused screen.
- focus() - Method in interface tripleplay.platform.NativeTextField
-
Request focus for the native text field
- focus() - Method in class tripleplay.platform.TPPlatform
-
Gets a view of the Field that is currently in focus.
- focus() - Method in class tripleplay.ui.Field
-
Attempt to focus on this field, if it is backed by a native field.
- FONT - Static variable in class tripleplay.ui.Style
-
The font used to render text.
- forHeight(Element.Take) - Method in class tripleplay.ui.SizableGroup
-
Sets the way in which heights are combined to calculate the resulting preferred size.
- format(float) - Static method in class tripleplay.shaders.ShaderUtil
-
Formats a floating point value for inclusion in a shader program.
- format(Object, Object...) - Static method in class tripleplay.util.Logger
-
Formats and returns the supplied message and key/value arguments as
message [key=value, key=value, ...]
. - format(StringBuilder, Object...) - Static method in class tripleplay.util.Logger
-
Formats the supplied key/value arguments into the supplied string builder as
key=value, key=value, ...
. - forWidth(Element.Take) - Method in class tripleplay.ui.SizableGroup
-
Sets the way in which widths are combined to calculate the resulting preferred size.
- frame - Variable in class tripleplay.ui.Interface
-
A signal emitted just before we render a frame.
- Frame(Point, Rectangle) - Constructor for class tripleplay.util.PackedFrames.Frame
- frameEnds - Variable in class tripleplay.anim.Flipbook
-
The timestamp at which to stop playing each frame and move to the next.
- frameIndexes - Variable in class tripleplay.anim.Flipbook
-
The index of the frames to be shown.
- frameRate - Variable in class tripleplay.flump.Library
-
The original frame rate of movies in this library.
- frameRate - Variable in class tripleplay.flump.LibraryData
- frames - Variable in class tripleplay.anim.Flipbook
-
The frames to be animated.
- frames - Variable in class tripleplay.flump.Movie.Symbol
-
The number of frames in this movie.
- frames() - Method in class tripleplay.flump.LayerData
-
The number of frames in this layer.
- Frames - Interface in tripleplay.util
-
Models the frames of a flipbook animation.
- free(float) - Method in class tripleplay.ui.layout.TableLayout.Column
-
Sets column to grow freely when excess width is available.
- freeze() - Method in class tripleplay.anim.Flicker
-
Aborts any active movement of this flicker.
- friction - Variable in class tripleplay.ui.util.XYFlicker
-
The deceleration (in pixels per ms per ms) applied to non-zero velocity.
- from(float) - Method in class tripleplay.anim.Animation.One
-
Configures the starting value.
- from(float, float) - Method in class tripleplay.anim.Animation.Two
-
Configures the starting values.
- from(XY) - Method in class tripleplay.anim.Animation.Two
-
Configures the starting values.
- FScalar(World) - Constructor for class tripleplay.entity.Component.FScalar
- FULLTIME_NATIVE_FIELD - Static variable in class tripleplay.ui.Field
-
If on a platform that utilizes native fields and this is true, the native field is displayed whenever this Field is visible, and the native field is responsible for all text rendering.
G
- gainedFocus() - Method in class tripleplay.game.ScreenSpace.Screen
-
Called when this screen has become the active screen.
- game() - Method in class tripleplay.game.ScreenStack.Screen
-
Returns a reference to the game in which this screen is operating.
- gap(int) - Method in class tripleplay.ui.layout.AxisLayout
-
Configures the inter-element gap, in pixels.
- gaps(float) - Method in class tripleplay.ui.layout.BorderLayout
-
Sets the gap, in pixels, to use between components.
- gaps(float) - Method in class tripleplay.ui.layout.FlowLayout
-
Sets the gap, in pixels, to use between rows and between elements within a row.
- gaps(float, float) - Method in class tripleplay.ui.layout.BorderLayout
-
Sets the gap, in pixels, to use between components.
- gaps(float, float) - Method in class tripleplay.ui.layout.FlowLayout
-
Sets the gap, in pixels, to use between rows and between elements within a row.
- gaps(int, int) - Method in class tripleplay.ui.layout.TableLayout
-
Configures the gap between successive rows and successive columns.
- generate(Emitter, float, float) - Method in class tripleplay.particle.Generator
-
Requests that particles be generated, if appropriate.
- generator - Variable in class tripleplay.particle.Emitter
-
The generator that adds new particles to this emitter.
- Generator - Class in tripleplay.particle
-
Adds particles to an emitter according to some policy.
- Generator() - Constructor for class tripleplay.particle.Generator
- Generic(World) - Constructor for class tripleplay.entity.Component.Generic
- Gesture<T extends Gesture<T>> - Interface in tripleplay.gesture
- Gesture.Direction - Enum Class in tripleplay.gesture
- Gesture.State - Enum Class in tripleplay.gesture
- GestureBase<T extends GestureBase<T>> - Class in tripleplay.gesture
-
A base class for Gestures to extend to get some common functionality.
- GestureBase() - Constructor for class tripleplay.gesture.GestureBase
- GestureDirector - Class in tripleplay.gesture
-
Resolves user touch input in terms of a set of
Gesture
s that are registered with this director. - GestureDirector(Platform, IRectangle, Timer) - Constructor for class tripleplay.gesture.GestureDirector
- GestureNode - Class in tripleplay.gesture
-
A node in the history of the current user gesture.
- GestureNode(double, GestureNode.Type, Touch.Event, Point) - Constructor for class tripleplay.gesture.GestureNode
- GestureNode(double, GestureNode.Type, Touch.Interaction) - Constructor for class tripleplay.gesture.GestureNode
- GestureNode.Type - Enum Class in tripleplay.gesture
- GestureRegionDirector - Class in tripleplay.gesture
-
Handles multiple GestureDirectors listening on a single layer.
- GestureRegionDirector(Platform, Timer) - Constructor for class tripleplay.gesture.GestureRegionDirector
-
Creates an uninitalized GestureRegionDirector.
- GestureRegionDirector(Platform, Timer, Layer, IRectangle) - Constructor for class tripleplay.gesture.GestureRegionDirector
-
Creates a GestureRegionDirector with default options.
- get() - Method in class tripleplay.ui.util.Supplier
-
Gets the element.
- get() - Method in class tripleplay.util.Ref
-
Returns the current value of this reference, which may be null.
- get(int) - Method in class tripleplay.entity.Component.FScalar
-
Returns the value of this component for
entityId
. - get(int) - Method in class tripleplay.entity.Component.Generic
-
Returns the value of this component for
entityId
. - get(int) - Method in class tripleplay.entity.Component.IMask
-
Returns the value of this component for
entityId
. - get(int) - Method in class tripleplay.entity.Component.IScalar
-
Returns the value of this component for
entityId
. - get(int) - Method in class tripleplay.entity.IntBag
- get(int) - Method in interface tripleplay.entity.System.Entities
-
Returns the entity at
index
. - get(int) - Method in class tripleplay.util.Bag
-
Returns the element at
index
. - get(int, Dimension) - Method in class tripleplay.entity.Component.XY
-
Writes the x/y components of the point for
entityId
intointo
. - get(int, Point) - Method in class tripleplay.entity.Component.XY
-
Writes the x/y components of the point for
entityId
intointo
. - get(int, Vector) - Method in class tripleplay.entity.Component.XY
-
Writes the x/y components of the point for
entityId
intointo
. - get(String) - Method in class tripleplay.util.TypedStorage
-
Returns the specified property as a string, returning null if the property does not exist.
- get(String, boolean) - Method in class tripleplay.util.TypedStorage
-
Returns the specified property as a boolean.
- get(String, double) - Method in class tripleplay.util.TypedStorage
-
Returns the specified property as a double.
- get(String, int) - Method in class tripleplay.util.TypedStorage
-
Returns the specified property as an int.
- get(String, long) - Method in class tripleplay.util.TypedStorage
-
Returns the specified property as a long.
- get(String, E) - Method in class tripleplay.util.TypedStorage
-
Returns the specified property as an enum.
- get(String, String) - Method in class tripleplay.util.TypedStorage
-
Returns the specified property as a string, returning the supplied defautl value if the property does not exist.
- getArray(Json.Object, String, Json.Array) - Static method in class tripleplay.util.JsonUtil
- getBoolean() - Method in class tripleplay.util.Randoms
-
Returns
true
orfalse
with approximately even probability. - getBoolean(Json.Object, String, boolean) - Static method in class tripleplay.util.JsonUtil
- getChance(int) - Method in class tripleplay.util.Randoms
-
Returns true approximately one in
n
times. - getClip(String) - Method in class tripleplay.sound.SoundBoard
-
Creates and returns a clip with the supplied path.
- getDefault(Element<?>) - Method in class tripleplay.ui.Style.Flag
- getDefault(Element<?>) - Method in class tripleplay.ui.Style
-
Returns the default value for this style for the supplied element.
- getDefault(Element<?>) - Method in class tripleplay.ui.Style.GradientTypeStyle
- getDefault(Element<?>) - Method in class tripleplay.ui.Style.HAlignStyle
- getDefault(Element<?>) - Method in class tripleplay.ui.Style.PosStyle
- getDefault(Element<?>) - Method in class tripleplay.ui.Style.TextEffectStyle
- getDefault(Element<?>) - Method in class tripleplay.ui.Style.VAlignStyle
- getDelta() - Method in class tripleplay.syncdb.SyncDB
-
Returns a map of properties that have changed since our last sync.
- getEnum(Json.Object, String, Class<T>, T) - Static method in class tripleplay.util.JsonUtil
- getFloat(float) - Method in class tripleplay.util.Randoms
-
Returns a pseudorandom, uniformly distributed
float
value between0.0
(inclusive) and thehigh
(exclusive). - getFloat(Json.Object, String, float) - Static method in class tripleplay.util.JsonUtil
- getInRange(float, float) - Method in class tripleplay.util.Randoms
-
Returns a pseudorandom, uniformly distributed
float
value betweenlow
(inclusive) andhigh
(exclusive). - getInRange(int, int) - Method in class tripleplay.util.Randoms
-
Returns a pseudorandom, uniformly distributed
int
value betweenlow
(inclusive) andhigh
(exclusive). - getInstances(String) - Method in class tripleplay.flump.Movie
-
Returns all of the
Instance
s on a named layer. - getInt(int) - Method in class tripleplay.util.Randoms
-
Returns a pseudorandom, uniformly distributed
int
value between0
(inclusive) andhigh
(exclusive). - getInt(Json.Object, String, int) - Static method in class tripleplay.util.JsonUtil
- getLocation(Element<?>, IPoint) - Method in interface tripleplay.ui.MenuHost.TriggerPoint
-
For the given trigger and pointer position, gets the screen coordinates where the menu popup should originate.
- getLoop(String) - Method in class tripleplay.sound.SoundBoard
-
Creates and returns a loop with the supplied path.
- getMenuHost() - Method in class tripleplay.ui.Root
-
Gets this Root's menu host, creating it if necessary.
- getMods() - Method in class tripleplay.syncdb.SyncDB
-
Returns a snapshot of our current mapping of modified properties to modification count.
- getNamedLayer(String) - Method in class tripleplay.flump.Movie
-
Retrieves a named layer.
- getNormal(float, float) - Method in class tripleplay.util.Randoms
-
Returns a pseudorandom, normally distributed
float
value around themean
with the standard deviationdev
. - getNumber(Json.Object, String, double) - Static method in class tripleplay.util.JsonUtil
- getObject(Json.Object, String, Json.Object) - Static method in class tripleplay.util.JsonUtil
- getPage() - Method in class tripleplay.ui.PagedMenu
-
Gets the current page.
- getPercentRegion(float, float, float, float) - Method in class tripleplay.gesture.GestureRegionDirector
-
Gets a region bounded by the given dimensions as defined as percentages of this GestureRegionDirector's defined bounds.
- getPercentRegion(IRectangle) - Method in class tripleplay.gesture.GestureRegionDirector
-
Gets a Region instance bounded by the given dimensions as defined as percentages of this GestureRegionDirector's defined bounds.
- getProbability(float) - Method in class tripleplay.util.Randoms
-
Has a probability
p
of returning true. - getRegion(float, float, float, float) - Method in class tripleplay.gesture.GestureRegionDirector
-
Gets a Region instance bounded by the given dimensions.
- getRegion(IRectangle) - Method in class tripleplay.gesture.GestureRegionDirector
-
Gets a Region instance bounded by the given dimensions.
- getRegions() - Method in class tripleplay.gesture.GestureRegionDirector
- getScreenArea() - Method in class tripleplay.ui.MenuHost
-
Gets the area to which menus should be confined when there isn't any other associated bounds.
- getString(Json.Object, String, String) - Static method in class tripleplay.util.JsonUtil
- getX(int) - Method in class tripleplay.entity.Component.XY
-
Returns the x component of the point for
entityId
. - getY(int) - Method in class tripleplay.entity.Component.XY
-
Returns the y component of the point for
entityId
. - Glyph - Class in tripleplay.util
-
Handles the maintenance of a canvas image and layer for displaying a chunk of pre-rendered graphics.
- Glyph(GroupLayer) - Constructor for class tripleplay.util.Glyph
- Glyph(GroupLayer, float) - Constructor for class tripleplay.util.Glyph
- GlyphWidget<T extends GlyphWidget<T>> - Class in tripleplay.ui
-
Base for widgets that consist of a single glyph.
- go(Menu, Animator) - Method in interface tripleplay.ui.Menu.AnimFn
-
For the given menu and animator, adds an animation to the given animator and returns it.
- gradient - Variable in class tripleplay.ui.Style.TextEffectStyle
- Gradient(int, EffectRenderer.Gradient.Type) - Constructor for class tripleplay.util.EffectRenderer.Gradient
- GRADIENT - Enum constant in enum class tripleplay.ui.Style.TextEffect
-
Draws a gradient from the font color to the gradient color.
- GRADIENT_COLOR - Static variable in class tripleplay.ui.Style
-
The color of the gradient.
- GRADIENT_TYPE - Static variable in class tripleplay.ui.Style
-
The type of gradient.
- gradientColor - Variable in class tripleplay.util.EffectRenderer.Gradient
- gradientType - Variable in class tripleplay.util.EffectRenderer.Gradient
- Gravity - Class in tripleplay.particle.effect
-
Applies uniform gravity to particles.
- Gravity() - Constructor for class tripleplay.particle.effect.Gravity
-
Creates a gravity effector with earth equivalent gravity.
- Gravity(float) - Constructor for class tripleplay.particle.effect.Gravity
-
Creates a gravity effector.
- GRAY - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- greedy() - Method in interface tripleplay.gesture.Gesture
-
Returns whether this gesture will be greedy.
- greedy() - Method in class tripleplay.gesture.GestureBase
- greedy(boolean) - Method in interface tripleplay.gesture.Gesture
-
Sets whether this gesture should be greedy or not.
- greedy(boolean) - Method in class tripleplay.gesture.GestureBase
-
Greedy gestures will dispatch both a
GestureBase.started()
andGestureBase.completed()
event, and are considered greedy because once their start conditions have been met, they will prevent other gestures from further consideration for dispatch. - GREEDY - Enum constant in enum class tripleplay.gesture.Gesture.State
-
A greedy gesture has had its minimum requirements met and is therefore considered to be actively being performed by the user.
- greedyGesture() - Method in class tripleplay.gesture.GestureDirector
- GREEN - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- GREEN_BLUE - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the green + blue tint in the particle buffer.
- group(Layer...) - Static method in class tripleplay.util.Layers
-
Creates a new group with the given children.
- Group - Class in tripleplay.ui
-
A grouping element that contains other elements and lays them out according to a layout policy.
- Group(Layout) - Constructor for class tripleplay.ui.Group
-
Creates a group with the specified layout.
- Group(Layout, Style.Binding<?>...) - Constructor for class tripleplay.ui.Group
-
Creates a group with the specified layout and styles (in the DEFAULT mode).
- Group(Layout, Styles) - Constructor for class tripleplay.ui.Group
-
Creates a group with the specified layout and styles.
H
- halign(Style.HAlign) - Method in class tripleplay.ui.util.BoxPoint
-
Creates a new box point that is equivalent to this one except with the given x alignment.
- HALIGN - Static variable in class tripleplay.ui.Style
-
The horizontal alignment of an element.
- handle() - Method in class tripleplay.anim.Animation
-
Returns a handle on this collection of animations which can be used to cancel the animation.
- has(Component) - Method in class tripleplay.entity.Entity
-
Returns true if this entity has the component
comp
, false otherwise. - hasDescendant(Element<?>) - Method in class tripleplay.ui.util.Hierarchy
-
Tests if the given element is a proper descendant contained in this hierarchy, or is the root.
- hashCode() - Method in class tripleplay.util.EffectRenderer.Gradient
- hashCode() - Method in class tripleplay.util.EffectRenderer.PixelOutline
- hashCode() - Method in class tripleplay.util.EffectRenderer.Shadow
- hashCode() - Method in class tripleplay.util.EffectRenderer.VectorOutline
- hashCode() - Method in class tripleplay.util.StyledText.Block
- hashCode() - Method in class tripleplay.util.StyledText.Plain
- hashCode() - Method in class tripleplay.util.TextStyle
- hasHorizontal() - Method in enum class tripleplay.ui.Scroller.Behavior
- hasNative() - Static method in class tripleplay.ui.Field
-
Checks if the platform has native text fields.
- hasNativeTextFields() - Method in class tripleplay.platform.TPPlatform
-
Returns true if this platform supports native text fields.
- hasNext() - Method in class tripleplay.ui.util.Hierarchy.Ancestors
- hasUnsyncedChanges() - Method in class tripleplay.syncdb.SyncDB
-
Returns true if this database contains changes that have not been synced.
- hasVertical() - Method in enum class tripleplay.ui.Scroller.Behavior
- height() - Method in interface tripleplay.ui.Icon
-
Returns the height of this icon.
- height() - Method in class tripleplay.ui.Icons.Aggregated
- height() - Method in class tripleplay.ui.ModalShadow
- height() - Method in class tripleplay.ui.util.Insets
-
Returns this total adjustment to height.
- height() - Method in interface tripleplay.util.Frames
-
Returns the height of a logical frame.
- height() - Method in class tripleplay.util.PackedFrames
- height() - Method in class tripleplay.util.SimpleFrames
- height() - Method in class tripleplay.util.StyledText.Block
- height() - Method in class tripleplay.util.StyledText
-
The height of this styled text when rendered.
- height() - Method in class tripleplay.util.StyledText.Span
- hgap - Variable in class tripleplay.ui.layout.BorderLayout
-
The horizontal gap between components.
- hideNativeOverlays(IRectangle) - Method in class tripleplay.platform.TPPlatform
-
Hides the native widgets under the given screen area, using platform clipping if supported.
- hideText() - Method in class tripleplay.ui.MenuItem
-
Sets the menu item to only use an icon and no tex.
- hideTextWhenInactive() - Method in class tripleplay.ui.MenuItem
-
Sets the menu item to show its text when the item is selected
- hideTransitionStarted() - Method in class tripleplay.game.ScreenStack.Screen
-
Called when this screen's transition out of view has started.
- Hierarchy - Class in tripleplay.ui.util
-
A view for the hierarchical structure of an
Element
. - Hierarchy(Element<?>) - Constructor for class tripleplay.ui.util.Hierarchy
-
Creates a new view focused on the given element.
- Hierarchy.Ancestors - Class in tripleplay.ui.util
-
Iterates over the ancestors of an element.
- hierarchyChanged() - Method in class tripleplay.ui.Element
-
Returns a signal that will dispatch when this element is added or removed from the hierarchy.
- highlight(Tabs.Tab, boolean) - Method in interface tripleplay.ui.Tabs.Highlighter
-
Sets the highlight state of the given tab.
- HIGHLIGHT - Static variable in class tripleplay.ui.Style
-
The highlight color for an element.
- highlighter() - Method in class tripleplay.ui.Tabs
-
Gets our highlighter.
- HIGHLIGHTER - Static variable in class tripleplay.ui.Tabs
-
Style for highlighting a tab.
- HistoryGroup<T,
W extends Element<?>> - Class in tripleplay.ui -
A scrolling vertical display, optimized for showing potentially very long lists such as a chat log.
- HistoryGroup.Labels - Class in tripleplay.ui
-
History group of just labels.
- HistoryGroup.RenderableLabel - Class in tripleplay.ui
-
A label that exposes the width hint and preferred size.
- horizComp() - Method in class tripleplay.game.ScreenSpace.Dir
-
Returns the horizontal motion of this direction: 1, 0 or -1.
- horizontal() - Static method in class tripleplay.ui.layout.AxisLayout
-
Creates a horizontal axis layout with default gap (5), and off-axis sizing policy (preferred size).
- horizontal() - Method in enum class tripleplay.ui.Style.Pos
-
Tests if this position is left or right.
- Horizontal() - Constructor for class tripleplay.ui.layout.AxisLayout.Horizontal
- HORIZONTAL - Enum constant in enum class tripleplay.ui.Scroller.Behavior
- HOVER_LIMIT - Static variable in class tripleplay.ui.Behavior.Track
-
A distance, in event coordinates, used to decide if tracking should be temporarily cancelled.
- hrange - Variable in class tripleplay.ui.Scroller
-
Scroll ranges.
- Hud - Class in tripleplay.util
-
Maintains a (usually debugging) HUD with textual information displayed in one or two columns.
- Hud(SceneGame) - Constructor for class tripleplay.util.Hud
- Hud.Stock - Class in tripleplay.util
-
A stock HUD that provides a bunch of standard PlayN performance info and handles once-per-second updating.
I
- icon - Variable in class tripleplay.ui.AbstractTextButton
-
The icon displayed by this button, or null.
- icon - Variable in class tripleplay.ui.Icons.Aggregated
-
Icon that is deferred to.
- icon - Variable in class tripleplay.ui.Label
-
The icon displayed by this widget, or null.
- icon - Variable in class tripleplay.ui.MenuItem
-
The icon shown.
- Icon - Interface in tripleplay.ui
-
An interface for icons.
- ICON_CUDDLE - Static variable in class tripleplay.ui.Style
-
If true, the icon is cuddled to the text, with extra space between icon and border, if false, the icon is placed next to the border with extra space between icon and label.
- ICON_EFFECT - Static variable in class tripleplay.ui.Style
-
The effect to apply to the icon.
- ICON_GAP - Static variable in class tripleplay.ui.Style
-
The gap between the icon and text in labels, buttons, etc.
- ICON_POS - Static variable in class tripleplay.ui.Style
-
The position relative to the text to render an icon for labels, buttons, etc.
- IconEffect - Class in tripleplay.ui
-
Used to apply effects to an Icon.
- IconEffect() - Constructor for class tripleplay.ui.IconEffect
- Icons - Class in tripleplay.ui
-
Contains icon related utility classes and methods, mostly basic icon factories.
- Icons() - Constructor for class tripleplay.ui.Icons
- Icons.Aggregated - Class in tripleplay.ui
-
Defers to another icon.
- id - Variable in class tripleplay.entity.Entity
-
This entity's unique id.
- id - Variable in class tripleplay.flump.LibraryData.MovieData
- identity() - Static method in class tripleplay.particle.init.Transform
-
Returns an initialize that configures a particle to the identity transform.
- iface - Variable in class tripleplay.game.ScreenSpace.UIScreen
-
Manages the main UI elements for this screen.
- iface - Variable in class tripleplay.game.ScreenStack.UIScreen
-
Manages the main UI elements for this screen.
- iface - Variable in class tripleplay.ui.MenuHost
-
The interface we use to create the menu's root and do animation.
- iface - Variable in class tripleplay.ui.Root
-
The interface of which this root is a part.
- Ignore(T) - Constructor for class tripleplay.ui.Behavior.Ignore
- image() - Method in interface tripleplay.platform.ImageOverlay
-
Gets the image.
- image(TileSource) - Static method in class tripleplay.ui.Background
-
Creates a background with the specified source.
- image(TileSource) - Static method in class tripleplay.ui.Icons
-
Creates an icon using the supplied texture tile
source
. - ImageButton - Class in tripleplay.ui
-
A button that uses images for its different states.
- ImageButton(TileSource) - Constructor for class tripleplay.ui.ImageButton
-
Creates a button with the supplied image for use in up and down states.
- ImageButton(TileSource, TileSource) - Constructor for class tripleplay.ui.ImageButton
-
Creates a button with the supplied up and down images.
- ImageOverlay - Interface in tripleplay.platform
-
A native overlay that simply draws an playn image.
- IMask(World) - Constructor for class tripleplay.entity.Component.IMask
- impulse(int) - Static method in class tripleplay.particle.Generator
-
Returns a generator that emits the specified number of particles all at once, and is then immediately exhausted.
- in(float) - Method in class tripleplay.anim.Animation.Interped
-
Configures the duration for this animation (in milliseconds).
- IN - Static variable in class tripleplay.game.ScreenSpace
- increment() - Method in class tripleplay.ui.Slider
-
Getter for the slider increment value.
- increment(float, float) - Static method in class tripleplay.particle.init.Velocity
-
Returns an initializer that increments the previously assigned velocity by the specified amounts.
- increment(Value<Integer>, int) - Method in class tripleplay.anim.AnimBuilder
-
Increments (or decrements if
amount
is negative} an int value. - incrementPage(int) - Method in class tripleplay.ui.PagedMenu
-
Gets a slot that will increment the page by the given delta when emitted.
- index - Variable in class tripleplay.flump.KeyframeData
- index() - Method in class tripleplay.ui.Tabs.Tab
- inElement(Element<?>) - Method in class tripleplay.ui.MenuHost.Pop
-
Optionally confines the menu area to the given element.
- Inflater - Class in tripleplay.util
-
Inflates data encoded by
Deflater
. - Inflater(String) - Constructor for class tripleplay.util.Inflater
- info(String, Object...) - Method in class tripleplay.util.Logger
-
Logs an info message.
- INFO - Enum constant in enum class tripleplay.util.Logger.Level
- inherited - Variable in class tripleplay.ui.Style
-
Indicates whether or not this style property is inherited.
- init() - Method in class tripleplay.game.ScreenSpace.Screen
-
Called when this screen is first added to the screen space.
- init(int, float[], int) - Method in class tripleplay.particle.Initializer
-
Applies this initializer to the
index
th particle in the supplied buffer. - init(Platform, ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.ScreenStack.Transition
-
Allows the transition to pre-compute useful values.
- init(Platform, ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.trans.AbstractTransition
- init(Platform, ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.trans.FadeTransition
- init(Platform, ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.trans.FlipTransition
- init(Platform, ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.trans.PageTurnTransition
- init(Platform, ScreenStack.Screen, ScreenStack.Screen) - Method in class tripleplay.game.trans.SlideTransition
- init(ScreenSpace.Screen, ScreenSpace.Screen) - Method in class tripleplay.game.ScreenSpace.Dir
-
Prepares
oscreen
andnscreen
to be transitioned. - initAdd(ScreenSpace.Screen, ScreenSpace.Dir) - Method in class tripleplay.game.ScreenSpace
-
Adds
screen
to this space but does not activate or wake it. - initial() - Method in interface tripleplay.anim.Animation.Value
-
Returns the initial value.
- INITIAL_DELAY - Static variable in class tripleplay.ui.Behavior.RapidFire
-
Milliseconds after the first click that the second click is dispatched.
- Initializer - Class in tripleplay.particle
-
Used to initialize a new particle.
- Initializer() - Constructor for class tripleplay.particle.Initializer
- initialX() - Method in interface tripleplay.anim.Animation.XYValue
-
Returns the initial x value.
- initialY() - Method in interface tripleplay.anim.Animation.XYValue
-
Returns the initial y value.
- initters - Variable in class tripleplay.particle.Emitter
-
The initializers used by this emitter.
- inScreenArea(IRectangle) - Method in class tripleplay.ui.MenuHost.Pop
-
Optionally confines the menu area to the given screen area.
- insert(String) - Method in interface tripleplay.platform.NativeTextField
-
Inserts the given text at the current caret position, or if there is a selected region, replaces the region with the given text.
- inset(float) - Method in class tripleplay.ui.Background
-
Configures uniform insets on this background.
- inset(float, float) - Method in class tripleplay.ui.Background
-
Configures horizontal and vertical insets on this background.
- inset(float, float, float, float) - Method in class tripleplay.ui.Background
-
Configures non-uniform insets on this background.
- insetBottom(float) - Method in class tripleplay.ui.Background
-
Sets the bottom inset for this background.
- insetLeft(float) - Method in class tripleplay.ui.Background
-
Sets the left inset for this background.
- insetRight(float) - Method in class tripleplay.ui.Background
-
Sets the right inset for this background.
- insets - Variable in class tripleplay.ui.Background
-
The insets of this background, added to get the overall Element size.
- insets(Insets) - Method in class tripleplay.ui.Background
-
Configures insets on this background.
- Insets - Class in tripleplay.ui.util
-
Corresponds to the distances that some rectangular object's edges will be offset when, for example, it is contained in another rectangle.
- Insets(float, float, float, float) - Constructor for class tripleplay.ui.util.Insets
-
Creates new insets.
- Insets.Mutable - Class in tripleplay.ui.util
-
Insets with changeable values.
- insetTop(float) - Method in class tripleplay.ui.Background
-
Sets the top inset for this background.
- instance() - Static method in class tripleplay.platform.TPPlatform
-
Returns the currently registered TPPlatform instance.
- Instance - Interface in tripleplay.flump
-
A created instance of a Flump symbol.
- Instances - Class in tripleplay.flump
-
Provides utility functions for dealing with Instances
- Instances() - Constructor for class tripleplay.flump.Instances
- Instances.Op - Interface in tripleplay.flump
- instantiate(Background, IDimension) - Static method in class tripleplay.ui.Background
-
Instantiates a background at the supplied size.
- INT - Static variable in class tripleplay.syncdb.Codec
-
A codec for ints.
- IntBag - Class in tripleplay.entity
-
An unordered bag of ints.
- IntBag() - Constructor for class tripleplay.entity.IntBag
- Interface - Class in tripleplay.ui
-
The main class that integrates the Triple Play UI with a PlayN game.
- Interface(Platform, Signal<Clock>) - Constructor for class tripleplay.ui.Interface
-
Creates an interface for
plat
. - interp(Interpolator) - Method in class tripleplay.game.trans.InterpedTransition
- interp(Interpolator) - Method in class tripleplay.ui.Box.Trans
-
Configures the interpolator to use for the transition.
- Interped() - Constructor for class tripleplay.anim.Animation.Interped
- InterpedTransition<T extends InterpedTransition<T>> - Class in tripleplay.game.trans
-
Handles shared code for transitions that use an interpolation.
- InterpedTransition() - Constructor for class tripleplay.game.trans.InterpedTransition
- Interpolator - Class in tripleplay.util
-
Abstracts the process of interpolation between two values.
- Interpolator() - Constructor for class tripleplay.util.Interpolator
- INTERSECTION - Static variable in interface tripleplay.syncdb.SetResolver
-
Uses the intersection of the client and server sets.
- INTMAX - Static variable in interface tripleplay.syncdb.Resolver
-
Uses the largest of the client and server integral numbers.
- INTMIN - Static variable in interface tripleplay.syncdb.Resolver
-
Uses the smallest of the client and server integral numbers.
- INTS - Static variable in class tripleplay.syncdb.Codec
-
A codec for int arrays.
- is(EffectRenderer) - Method in class tripleplay.ui.Style.TextEffectStyle
- is(V) - Method in class tripleplay.ui.Style
-
Returns a
Style.Binding
with this style bound to the specified value. - isAdded() - Method in class tripleplay.ui.Element
-
Returns true if this element is part of an interface heirarchy.
- isAlive(int) - Method in class tripleplay.particle.ParticleBuffer
-
Returns true if the specified particle is alive.
- IScalar(World) - Constructor for class tripleplay.entity.Component.IScalar
- isDisposed() - Method in class tripleplay.entity.Entity
-
Returns whether this entity has been disposed.
- isEmpty() - Method in class tripleplay.entity.IntBag
- isEmpty() - Method in class tripleplay.util.Bag
-
Returns whether this bag is empty.
- isEnabled() - Method in class tripleplay.entity.Entity
-
Returns whether this entity is currently enabled.
- isEnabled() - Method in class tripleplay.ui.Element
-
Returns whether this element is enabled.
- isFull() - Method in class tripleplay.particle.ParticleBuffer
- isPlaying() - Method in class tripleplay.sound.Clip.Silence
- isPlaying() - Method in class tripleplay.sound.Loop.Silence
- isPlaying() - Method in interface tripleplay.sound.Playable
-
Returns true if this playable is currently playing, false otherwise.
- isSet(int) - Method in class tripleplay.util.BitVec
-
Returns whether the
value
th bit it set. - isSet(int, int) - Method in class tripleplay.entity.Component.IMask
-
Returns whether
flag
is set in this mask. - isShowing() - Method in class tripleplay.ui.Element
-
Returns true only if this element and all its parents'
Element.isVisible()
return true. - isShowing() - Method in class tripleplay.ui.Root
- isTransiting() - Method in class tripleplay.game.ScreenSpace
-
Returns true if we're transitioning between two screens at this instant.
- isTransiting() - Method in class tripleplay.game.ScreenStack
-
Returns true if we're currently transitioning between screens.
- isValid(String) - Method in class tripleplay.ui.Field.MaxLength
- isValid(String) - Method in class tripleplay.ui.Field.Native
-
Tests if the proposed text is valid.
- isValid(String) - Method in interface tripleplay.ui.Field.Validator
-
Return false if the keypress causing this text should be blocked.
- isVisible() - Method in class tripleplay.ui.Element
-
Returns whether this element is visible.
- isVisible() - Method in class tripleplay.ui.Tabs.Tab
- itemsPerPage - Variable in class tripleplay.ui.PagedMenu
-
Number of items on a page is constant.
- itemTriggered() - Method in class tripleplay.ui.Menu
-
Gets the signal that is dispatched when a menu item is selected.
- iterator() - Method in class tripleplay.entity.World
- iterator() - Method in class tripleplay.game.ScreenSpace
- iterator() - Method in class tripleplay.ui.Box
- iterator() - Method in class tripleplay.ui.Composite
- iterator() - Method in class tripleplay.ui.Container
-
Returns an unmodifiable iterator over the children of this Container.
- iterator() - Method in class tripleplay.ui.Elements
- iterator() - Method in class tripleplay.util.Bag
J
- JsonLoader - Class in tripleplay.flump
- JsonLoader() - Constructor for class tripleplay.flump.JsonLoader
- JsonUtil - Class in tripleplay.util
-
Facilities for parsing JSON data
- JsonUtil() - Constructor for class tripleplay.util.JsonUtil
K
- keyboardActivity() - Method in class tripleplay.platform.TPPlatform
-
Signal emitted when the user interacts with a native text field.
- KeyboardFocusController - Interface in tripleplay.platform
-
Defines application hooks into controlling focus on native text fields.
- KeyframeData - Class in tripleplay.flump
- KeyframeData(int, int, String, IPoint, IPoint, IPoint, IPoint, boolean, float, boolean, float, String) - Constructor for class tripleplay.flump.KeyframeData
- KeyframeData(DataInputStream) - Constructor for class tripleplay.flump.LibraryData.KeyframeData
- KeyframeData(Json.Object) - Constructor for class tripleplay.flump.LibraryData.KeyframeData
- keyframes - Variable in class tripleplay.flump.LayerData
-
The keyframes in this layer.
- keyframes - Variable in class tripleplay.flump.LibraryData.LayerData
L
- label - Variable in class tripleplay.flump.KeyframeData
- label - Variable in class tripleplay.flump.LibraryData.KeyframeData
- Label - Class in tripleplay.ui
-
A widget that displays one or more lines of text and/or an icon image.
- Label() - Constructor for class tripleplay.ui.Label
-
Creates a label with no text or icon.
- Label(String) - Constructor for class tripleplay.ui.Label
-
Creates a label with the supplied text.
- Label(String, Icon) - Constructor for class tripleplay.ui.Label
-
Creates a label with the supplied text and icon.
- Label(ValueView<?>) - Constructor for class tripleplay.ui.Label
-
Creates a label and calls
Label.bindText(react.ValueView<?>)
withtext
. - Label(Icon) - Constructor for class tripleplay.ui.Label
-
Creates a label with the supplied icon.
- labelPassed - Variable in class tripleplay.flump.Movie
- Labels() - Constructor for class tripleplay.ui.HistoryGroup.Labels
- layer - Variable in class tripleplay.game.ScreenSpace.Screen
-
Contains the scene graph root for this screen.
- layer - Variable in class tripleplay.game.ScreenStack.Screen
-
The layer on which all of this screen's UI must be placed.
- layer - Variable in class tripleplay.particle.Emitter
-
The layer to which this emitter is attached.
- layer - Variable in class tripleplay.ui.Element
-
The layer associated with this element.
- layer - Variable in class tripleplay.util.Hud
-
The layer that contains this HUD.
- layer() - Method in interface tripleplay.flump.Instance
-
The layer that displays this instance.
- layer() - Method in class tripleplay.flump.Movie
- layer() - Method in class tripleplay.flump.MoviePlayer
-
The layer the movies are placed on.
- layer() - Method in class tripleplay.flump.Texture
- layer() - Method in class tripleplay.ui.Scroller.Bars
-
Gets the layer to display the scroll bars.
- layer() - Method in class tripleplay.ui.Scroller.TouchBars
- layer() - Method in class tripleplay.util.Glyph
-
Returns the layer that contains our glyph image.
- layer(Layer) - Static method in class tripleplay.particle.init.Transform
-
Returns an initializer that configures a particle with the same transform (scale, rotation, position) as the supplied layer.
- LayerData - Class in tripleplay.flump
- LayerData(DataInputStream) - Constructor for class tripleplay.flump.LibraryData.LayerData
- LayerData(String, List<KeyframeData>) - Constructor for class tripleplay.flump.LayerData
- LayerData(Json.Object) - Constructor for class tripleplay.flump.LibraryData.LayerData
- layers - Variable in class tripleplay.flump.LibraryData.MovieData
- layers - Variable in class tripleplay.flump.Movie.Symbol
-
The layers in this movie.
- Layers - Class in tripleplay.util
-
Provides utility functions for dealing with Layers
- Layers() - Constructor for class tripleplay.util.Layers
- layout() - Method in class tripleplay.ui.Behavior.Click
- layout() - Method in class tripleplay.ui.Behavior
-
Called when our owner is laid out.
- layout() - Method in class tripleplay.ui.Behavior.RapidFire
- layout() - Method in class tripleplay.ui.Behavior.Track
- layout() - Method in class tripleplay.ui.CapturedRoot
- layout(Container<?>, float, float, float, float) - Method in class tripleplay.ui.layout.AbsoluteLayout
- layout(Container<?>, float, float, float, float) - Method in class tripleplay.ui.layout.AxisLayout.Horizontal
- layout(Container<?>, float, float, float, float) - Method in class tripleplay.ui.layout.AxisLayout.Vertical
- layout(Container<?>, float, float, float, float) - Method in class tripleplay.ui.layout.BorderLayout
- layout(Container<?>, float, float, float, float) - Method in class tripleplay.ui.layout.FlowLayout
- layout(Container<?>, float, float, float, float) - Method in class tripleplay.ui.Layout
-
Lays out the supplied elements into a region of the specified dimensions.
- layout(Container<?>, float, float, float, float) - Method in class tripleplay.ui.layout.TableLayout
- Layout - Class in tripleplay.ui
-
Defines the interface to layouts, which implement a particular layout policy.
- Layout() - Constructor for class tripleplay.ui.Layout
- Layout.Constraint - Class in tripleplay.ui
-
An abstract base class for all layout constraints.
- left - Variable in class tripleplay.ui.Style.HAlignStyle
- left - Variable in class tripleplay.ui.Style.PosStyle
- left() - Method in class tripleplay.game.trans.SlideTransition
- left() - Method in class tripleplay.ui.util.BoxPoint
-
Creates a new box point that is equivalent to this one except with an x coordinate that will resolve to the left edge of the box.
- left() - Method in class tripleplay.ui.util.Insets
-
Gets the left inset.
- left(float) - Method in class tripleplay.ui.util.Insets.Mutable
-
Sets the left edge and returns
this
for chaining. - LEFT - Enum constant in enum class tripleplay.game.ScreenStack.Transition.Dir
- LEFT - Enum constant in enum class tripleplay.gesture.Gesture.Direction
- LEFT - Enum constant in enum class tripleplay.ui.Style.HAlign
- LEFT - Enum constant in enum class tripleplay.ui.Style.Pos
- LEFT - Static variable in class tripleplay.game.ScreenSpace
- level(String) - Method in class tripleplay.util.Logger.Levels
-
Returns the current log level for the specified identifier, or null if no level is configured for that identifier.
- levels - Static variable in class tripleplay.util.Logger
-
Log levels can be configured via this instance.
- Levels() - Constructor for class tripleplay.util.Logger.Levels
- Library - Class in tripleplay.flump
- Library(float, Iterable<Movie.Symbol>, Iterable<Texture.Symbol>) - Constructor for class tripleplay.flump.Library
- LibraryData - Class in tripleplay.flump
-
Captures the data of a flump library.
- LibraryData(DataInputStream) - Constructor for class tripleplay.flump.LibraryData
- LibraryData(ByteBuffer) - Constructor for class tripleplay.flump.LibraryData
- LibraryData(Json.Object) - Constructor for class tripleplay.flump.LibraryData
- LibraryData.AtlasData - Class in tripleplay.flump
- LibraryData.KeyframeData - Class in tripleplay.flump
- LibraryData.LayerData - Class in tripleplay.flump
- LibraryData.MovieData - Class in tripleplay.flump
- LibraryData.TextureData - Class in tripleplay.flump
- Lifespan - Class in tripleplay.particle.init
-
Initializers for a particle's lifespan.
- Lifespan() - Constructor for class tripleplay.particle.init.Lifespan
- LIFESPAN - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the lifespan in the particle buffer.
- LIGHT_GRAY - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- LINE_SPACING - Static variable in class tripleplay.ui.Style
-
The line spacing to use when rendering multiline text.
- linear() - Method in class tripleplay.anim.Animation.Interped
-
Uses a linear interpolator for this animation.
- linear() - Method in class tripleplay.game.trans.InterpedTransition
- LINEAR - Static variable in class tripleplay.util.Interpolator
-
A linear interpolator.
- lineSpacing - Variable in class tripleplay.util.StyledText.Block
-
Additional space to be added (or subtracted) from the default line spacing.
- loadLibrary(Platform, String) - Static method in class tripleplay.flump.BinaryFlumpLoader
-
Loads a binary encoded library via PlayN assets.
- loadLibrary(Platform, String) - Static method in class tripleplay.flump.JsonLoader
-
Loads a JSON encoded library.
- loadLibrarySync(Platform, String) - Static method in class tripleplay.flump.BinaryFlumpLoader
-
Loads a binary encoded library synchronously via PlayN assets.
- loadLibrarySync(Platform, String) - Static method in class tripleplay.flump.JsonLoader
-
Loads a JSON encoded library synchronously.
- loc - Variable in class tripleplay.flump.KeyframeData
- loc - Variable in class tripleplay.flump.LibraryData.KeyframeData
- location - Variable in class tripleplay.gesture.GestureNode
-
The local location of the touch event in this node.
- location(Point) - Method in class tripleplay.ui.Element
-
Writes the location of this element (relative to its parent) into the supplied point.
- log(Logger.Level, String, String, Throwable) - Method in interface tripleplay.util.Logger.Impl
-
Logs the supplied message at the supplied level.
- log(Logger.Level, String, String, Throwable) - Method in class tripleplay.util.Logger.PlayNImpl
- Logger - Class in tripleplay.util
-
Provides logging services that are routed to the appropriate logging destination on the client or server.
- Logger(String) - Constructor for class tripleplay.util.Logger
-
Creates a logger with the specified ident string.
- Logger.Impl - Interface in tripleplay.util
-
Wires the logging front-end to the logging back-end.
- Logger.Level - Enum Class in tripleplay.util
-
Tags a log message with a particular severity level.
- Logger.Levels - Class in tripleplay.util
-
Manages the target log levels for a given ident.
- Logger.PlayNImpl - Class in tripleplay.util
-
A logging back-end that writes to PlayN.
- LONG - Static variable in class tripleplay.syncdb.Codec
-
A codec for longs.
- LONG_PRESS_INTERVAL - Static variable in class tripleplay.ui.LongPressButton
-
An interval (in milliseconds) after which pressing and holding on a button will be interpreted as a "long press" and fire a clicked event.
- longPress() - Method in class tripleplay.ui.LongPressButton
-
Programmatically triggers a long press of this button.
- LongPressButton - Class in tripleplay.ui
-
A button that supports an action on a "long press".
- LongPressButton() - Constructor for class tripleplay.ui.LongPressButton
-
Creates a button with no text or icon.
- LongPressButton(String) - Constructor for class tripleplay.ui.LongPressButton
-
Creates a button with the supplied text.
- LongPressButton(String, Icon) - Constructor for class tripleplay.ui.LongPressButton
-
Creates a button with the supplied text and icon.
- LongPressButton(Icon) - Constructor for class tripleplay.ui.LongPressButton
-
Creates a button with the supplied icon.
- longPressed() - Method in class tripleplay.ui.LongPressButton
-
A signal that is emitted when this button is long pressed.
- loop(String) - Method in class tripleplay.flump.MoviePlayer
- loop(String, boolean) - Method in class tripleplay.flump.MoviePlayer
-
Shows a movie that loops forever.
- Loop - Interface in tripleplay.sound
-
Represents a looped sound (i.e.
- Loop.Silence - Class in tripleplay.sound
-
A noop loop.
- looping() - Method in class tripleplay.flump.MoviePlayer
-
Whether the current movie is being looped.
- lostFocus() - Method in class tripleplay.game.ScreenSpace.Screen
-
Called when some other screen is about to become the active screen.
M
- M00 - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the m00 transform element in the particle buffer.
- M01 - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the m01 transform element in the particle buffer.
- M10 - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the m10 transform element in the particle buffer.
- M11 - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the m11 transform element in the particle buffer.
- MAGENTA - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- make(Style.Binding<?>...) - Static method in class tripleplay.ui.Styles
-
Creates a styles instance with the supplied style bindings in the DEFAULT mode.
- makeVisible(Element<?>) - Static method in class tripleplay.ui.Scroller
-
Attempts to scroll the given element into view.
- MAP_KEY_SEP - Static variable in class tripleplay.syncdb.DBUtil
-
The separator used in a map key.
- mapKey(String, K, Codec<K>) - Static method in class tripleplay.syncdb.DBUtil
-
Computes the storage (fully qualified) key for the supplied map key.
- max - Variable in class tripleplay.anim.Flicker
-
This flicker's bounds.
- max - Variable in class tripleplay.ui.Field.MaxLength
-
The maximum length accepted.
- max - Variable in class tripleplay.ui.Slider.Range
- max() - Method in class tripleplay.ui.Scroller.Range
-
Returns the maximum value that this range can have, in content offset coordinates.
- max() - Method in class tripleplay.ui.Slider
-
Returns our maximum allowed value.
- MAX - Enum constant in enum class tripleplay.ui.Element.Take
-
Uses the maximum of the preferred size and original.
- maxClickDelta - Variable in class tripleplay.ui.util.XYFlicker
-
The maximum distance (in pixels) the pointer is allowed to travel while pressed and still register as a click.
- maxDistanceSq - Variable in class tripleplay.ui.Behavior.Track.State
-
How far the pointer strayed from the starting point, squared.
- maxFlickSpeed - Variable in class tripleplay.ui.util.XYFlicker
-
The maximum flick speed that will be transfered to the entity; limits the actual flick speed at time of release.
- maxHeight(float) - Static method in class tripleplay.ui.Constraints
-
Returns a layout constraint that forces the widget's preferred height to be no more than the specified value.
- maxLength(int) - Static method in class tripleplay.ui.Field
-
Creates a style binding for the given maximum length.
- MaxLength(int) - Constructor for class tripleplay.ui.Field.MaxLength
- maxSize(float, float) - Static method in class tripleplay.ui.Constraints
-
Returns a layout constraint that forces the widget's preferred width height to be no more than the specified values.
- maxTapDistSq - Variable in class tripleplay.util.Tapper
-
Square of the threshold distance for this tapper, defaults to
Tapper.DEFAULT_TAP_DIST_SQ
. - maxWidth(float) - Static method in class tripleplay.ui.Constraints
-
Returns a layout constraint that forces the widget's preferred width to be no more than the specified value.
- menu - Variable in class tripleplay.ui.MenuHost.Pop
-
The menu to show.
- Menu - Class in tripleplay.ui
-
Holds a collection of
MenuItem
s, dispatching aMenu.itemTriggered()
signal when one is selected and triggered. - Menu(Layout) - Constructor for class tripleplay.ui.Menu
-
Creates a new menu using the given layout for its elements.
- Menu(Layout, Style.Binding<?>...) - Constructor for class tripleplay.ui.Menu
-
Creates a new menu using the given layout and style bindings.
- Menu(Layout, Styles) - Constructor for class tripleplay.ui.Menu
-
Creates a new menu using the given layout and styles.
- Menu.AnimFn - Interface in tripleplay.ui
-
Produces an animation for a menu.
- MenuHost - Class in tripleplay.ui
-
Provides a context for popping up a menu.
- MenuHost(Interface, GroupLayer) - Constructor for class tripleplay.ui.MenuHost
-
Creates a new menu host using the given values.
- MenuHost(Interface, Elements<?>) - Constructor for class tripleplay.ui.MenuHost
-
Creates a menu host using the given values.
- MenuHost.Pop - Class in tripleplay.ui
-
An event type for triggering a menu popup.
- MenuHost.TriggerPoint - Interface in tripleplay.ui
-
Defines how to obtain the point on a trigger where a menu popup originates.
- MenuItem - Class in tripleplay.ui
-
An item in a menu.
- MenuItem(String) - Constructor for class tripleplay.ui.MenuItem
-
Creates a new menu item with the given label.
- MenuItem(String, Icon) - Constructor for class tripleplay.ui.MenuItem
-
Creates a new menu item with the given label and icon.
- MenuItem.ShowText - Enum Class in tripleplay.ui
-
Modes of text display.
- merge(Styles) - Method in class tripleplay.ui.Styles
-
Returns a new styles instance which merges these styles with the supplied styles.
- Metrics() - Constructor for class tripleplay.ui.layout.FlowLayout.Metrics
- min - Variable in class tripleplay.anim.Flicker
-
This flicker's bounds.
- min - Variable in class tripleplay.ui.Slider.Range
- min() - Method in class tripleplay.ui.Slider
-
Returns our minimum allowed value.
- MIN - Enum constant in enum class tripleplay.ui.Element.Take
-
Uses the minimum of the preferred size and original.
- MIN_FONT_SIZE - Static variable in class tripleplay.ui.Style
-
If
Style.AUTO_SHRINK
is enabled, the minimum font size to use when shrinking. - minHeight(float) - Static method in class tripleplay.ui.Constraints
-
Returns a layout constraint that forces the widget's preferred height to be no less than the specified value.
- minRowHeight(float) - Method in class tripleplay.ui.layout.TableLayout
-
Configures the minimum row height.
- minSize(float, float) - Static method in class tripleplay.ui.Constraints
-
Returns a layout constraint that forces the widget's preferred width height to be no less than the specified values.
- minSize(Graphics, String) - Static method in class tripleplay.ui.Constraints
-
Returns a layout constriant that forces the widget's preferred size to be no less than what is needed to accommodate the supplied template text string.
- minWidth(float) - Static method in class tripleplay.ui.Constraints
-
Returns a layout constraint that forces the widget's preferred width to be no less than the specified value.
- minWidth(float) - Method in class tripleplay.ui.layout.TableLayout.Column
-
Configures the minimum width.
- ModalShadow - Class in tripleplay.ui
-
A layer that fills a region with shadow and absorbs all pointer, mouse and touch interactions that land on it.
- ModalShadow(float, float) - Constructor for class tripleplay.ui.ModalShadow
- ModalShadow(IDimension) - Constructor for class tripleplay.ui.ModalShadow
- Move - Class in tripleplay.particle.effect
-
Moves particles based on their velocity.
- Move() - Constructor for class tripleplay.particle.effect.Move
- MOVE - Enum constant in enum class tripleplay.gesture.GestureNode.Type
- movie - Variable in class tripleplay.flump.MoviePlayer
-
The currently playing movie, if any.
- movie() - Method in class tripleplay.flump.MoviePlayer
- Movie - Class in tripleplay.flump
- Movie.Symbol - Class in tripleplay.flump
- MovieData(DataInputStream) - Constructor for class tripleplay.flump.LibraryData.MovieData
- MovieData(Json.Object) - Constructor for class tripleplay.flump.LibraryData.MovieData
- MoviePlayer - Class in tripleplay.flump
-
A convenient controller to play though multiple different movies.
- MoviePlayer(Library) - Constructor for class tripleplay.flump.MoviePlayer
- MoviePlayer(Library, GroupLayer) - Constructor for class tripleplay.flump.MoviePlayer
- movies - Variable in class tripleplay.flump.LibraryData
- MultiClip - Class in tripleplay.sound
-
Provides a sound clip that can be played multiple times.
- MultiClip(SoundBoard, String, int, float) - Constructor for class tripleplay.sound.MultiClip
-
Creates a multiclip with the supplied configuration.
- MultiClip.Copy - Interface in tripleplay.sound
-
A handle on a copy of a clip.
- MULTILINE - Static variable in class tripleplay.ui.Field
-
Sets the field to allow the return key to insert a line break in the text.
- multiply(float[], int, float, float, float, float, float, float) - Static method in class tripleplay.particle.ParticleBuffer
-
Multiplies the specified particle's transform with the supplied matrix.
- mutable() - Method in class tripleplay.ui.util.Insets
-
Gets or creates a copy of these insets that can be mutated.
- mutable() - Method in class tripleplay.ui.util.Insets.Mutable
- Mutable() - Constructor for class tripleplay.ui.Container.Mutable
- muted - Variable in class tripleplay.sound.SoundBoard
-
Controls whether this sound board is muted.
N
- name - Variable in class tripleplay.flump.LayerData
-
The authored name of this layer.
- name - Variable in class tripleplay.flump.LibraryData.LayerData
- name() - Method in class tripleplay.flump.Movie.Symbol
- name() - Method in interface tripleplay.flump.Symbol
-
The exported name of this symbol.
- name() - Method in class tripleplay.flump.Texture.Symbol
- name() - Method in class tripleplay.ui.Tabs.Tab
-
Gets the displayed name of the tab.
- namedLayers() - Method in class tripleplay.flump.Movie
-
Retrieves all named layers.
- Native() - Constructor for class tripleplay.ui.Field.Native
- NativeOverlay - Interface in tripleplay.platform
-
A platform element that draws on top of the main playn root layer.
- NativeTextField - Interface in tripleplay.platform
-
Provides access to a platform-native text field, which can be overlaid onto a PlayN game.
- NetServer(Net) - Constructor for class tripleplay.syncdb.Protocol.NetServer
-
Creates a net server instance with the supplied Net service and sync URL.
- NEVER - Enum constant in enum class tripleplay.ui.MenuItem.ShowText
- newFlag(boolean, boolean) - Static method in class tripleplay.ui.Style
-
Creates a boolean style identifier with the supplied properties.
- newSheet(Graphics) - Static method in class tripleplay.ui.SimpleStyles
-
Creates and returns a simple default stylesheet.
- newSheetBuilder(Graphics) - Static method in class tripleplay.ui.SimpleStyles
-
Creates and returns a stylesheet builder configured with some useful default styles.
- newStyle(boolean, V) - Static method in class tripleplay.ui.Style
-
Creates a style identifier with the supplied properties.
- next() - Method in class tripleplay.ui.util.Hierarchy.Ancestors
- NO_PROPAGATE - Static variable in class tripleplay.util.Layers
-
Prevents parent handling for pointer events.
- none - Variable in class tripleplay.ui.Style.TextEffectStyle
- none() - Static method in class tripleplay.ui.Styles
-
Returns the empty styles instance.
- NONE - Enum constant in enum class tripleplay.ui.Style.TextEffect
-
No text effect.
- NONE - Static variable in class tripleplay.ui.IconEffect
-
Leaves well enough alone.
- NONE - Static variable in class tripleplay.util.EffectRenderer
-
An "effect" that just renders the text normally.
- NOOP - Static variable in class tripleplay.game.ScreenStack
-
Simply puts the new screen in place and removes the old screen.
- NOOP - Static variable in class tripleplay.particle.Generator
-
A generator that emits no particles and is never exhausted.
- NOOP - Static variable in class tripleplay.util.Interpolator
-
An interpolator that always returns the starting position.
- NOOP_HIGHLIGHTER - Static variable in class tripleplay.ui.Tabs
-
A no-op highlighter to use if you want to make highlighting do nothing.
- normal(Font, int) - Static method in class tripleplay.util.TextStyle
-
Creates a text style with the specified configuration using default anti-aliasing, no effect and no underline.
- normal(Font, int, EffectRenderer) - Static method in class tripleplay.util.TextStyle
-
Creates a text style with the specified configuration using default anti-aliasing (true) and no underline.
- NORTH - Static variable in class tripleplay.ui.layout.BorderLayout
-
Constraint to position an element along the top edge of its parent.
- noteSync(int, Map<String, Integer>) - Method in class tripleplay.syncdb.SyncDB
-
Notes that we synced cleanly with the server.
- NUM_FIELDS - Static variable in class tripleplay.particle.ParticleBuffer
-
The total number of fields per particle.
- numPages() - Method in class tripleplay.ui.PagedMenu
-
Gets a view of the number of pages value.
- nx - Variable in class tripleplay.ui.util.BoxPoint
-
Normalized x, y coordinates.
- nx(float) - Method in class tripleplay.ui.util.BoxPoint
-
Creates a new box point that is equivalent to this one except with the given normalized x coordinate.
- ny - Variable in class tripleplay.ui.util.BoxPoint
-
Normalized x, y coordinates.
- ny(float) - Method in class tripleplay.ui.util.BoxPoint
-
Creates a new box point that is equivalent to this one except with the given normalized y coordinate.
O
- Objects - Class in tripleplay.util
-
Utilities that apply to all objects.
- Objects() - Constructor for class tripleplay.util.Objects
- of(Element<?>) - Static method in class tripleplay.ui.util.Hierarchy
-
Create a new view of the given element.
- off - Variable in class tripleplay.ui.Style.Flag
- OFF - Enum constant in enum class tripleplay.util.Logger.Level
- offAxisTolerance(int) - Method in class tripleplay.gesture.Swipe
-
A swipe is not qualified if the user moves outside of a region defined by lines that are parallel to the line that goes through the start touch point along the direction axis.
- offConstrain() - Method in class tripleplay.ui.layout.AxisLayout
-
Configures this layout to constrain elements to the size of this container on the off-axis, leaving their size alone if it is smaller.
- offEqualize() - Method in class tripleplay.ui.layout.AxisLayout
-
Configures this layout to stretch all elements to the size of the largest element on the off-axis.
- offPolicy(AxisLayout.Policy) - Method in class tripleplay.ui.layout.AxisLayout
-
Configures the off-axis sizing policy for this layout.
- offset - Variable in class tripleplay.util.PackedFrames.Frame
- offset(float, float) - Method in enum class tripleplay.ui.Style.HAlign
- offset(float, float) - Method in enum class tripleplay.ui.Style.VAlign
- offset(float, float) - Method in class tripleplay.ui.util.BoxPoint
-
Creates a new box point that is equivalent to this one except with given offset coordinates.
- offset(int) - Method in interface tripleplay.util.Frames
-
Returns the offset (into the logical bounds) of the specified frame.
- offset(int) - Method in class tripleplay.util.PackedFrames
- offset(int) - Method in class tripleplay.util.SimpleFrames
- offset(Icon, float, float) - Static method in class tripleplay.ui.Icons
-
Creates an icon that nests and offsets the given icon by the given translation.
- offsetX() - Method in class tripleplay.util.EffectRenderer
- offsetY() - Method in class tripleplay.util.EffectRenderer
- offStretch() - Method in class tripleplay.ui.layout.AxisLayout
-
Configures this layout to stretch all elements to the available size on the off-axis.
- on - Variable in class tripleplay.ui.Style.Flag
- onAxisThreshold(int) - Method in class tripleplay.gesture.Swipe
-
The distance on the Swipe's Direction axis that a touch must move to qualify the Swipe for completion.
- onCancel(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Capturing
- onCancel(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Ignore
- onCancel(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Select
- onCancel(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Toggle
- onCancel(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Track
- onCancel(Pointer.Interaction) - Method in class tripleplay.ui.util.XYFlicker
- onCancel(Pointer.Interaction) - Method in class tripleplay.util.Tapper
- onCancel(Touch.Interaction) - Method in class tripleplay.gesture.GestureDirector
- onCancel(Touch.Interaction) - Method in class tripleplay.gesture.GestureRegionDirector
- onClick(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Click
- onClick(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Ignore
- onClick(Pointer.Interaction) - Method in class tripleplay.ui.Behavior
-
Called when the pointer is released and the subclass decides that it is a click, i.e.
- onClick(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Select
- onClick(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Toggle
- onClick(SignalView.Listener<? super Button>) - Method in class tripleplay.ui.Button
-
A convenience method for registering a click handler.
- onClick(SignalView.Listener<? super ImageButton>) - Method in class tripleplay.ui.ImageButton
-
A convenience method for registering a click handler.
- onComplete(Runnable) - Method in class tripleplay.game.trans.AbstractTransition
-
Configures an action to be executed when this transition completes.
- onDoubleTap() - Method in class tripleplay.util.DoubleTapper
-
Called when a double tap occurs.
- onDoubleTap(Event.XY) - Method in class tripleplay.util.DoubleTapper
-
Called when a double tap occurs.
- onDrag(Pointer.Interaction) - Method in class tripleplay.anim.Flicker
- onDrag(Pointer.Interaction) - Method in class tripleplay.ui.Behavior
- onDrag(Pointer.Interaction) - Method in class tripleplay.ui.util.XYFlicker
- onDrag(Pointer.Interaction) - Method in class tripleplay.util.Tapper
- One(Animation.Value) - Constructor for class tripleplay.anim.Animation.One
- onEmit(Clock) - Method in class tripleplay.ui.Box.Trans
- onEmit(Platform) - Method in class tripleplay.util.Timer
- onEmpty - Variable in class tripleplay.particle.Emitter
-
A signal emitted when this emitter has no live particles and no generator.
- onEnd(Pointer.Interaction) - Method in class tripleplay.anim.Flicker
- onEnd(Pointer.Interaction) - Method in class tripleplay.ui.Behavior
- onEnd(Pointer.Interaction) - Method in class tripleplay.ui.util.XYFlicker
- onEnd(Pointer.Interaction) - Method in class tripleplay.util.Tapper
- onEnd(Touch.Interaction) - Method in class tripleplay.gesture.GestureDirector
- onEnd(Touch.Interaction) - Method in class tripleplay.gesture.GestureRegionDirector
- onExhausted - Variable in class tripleplay.particle.Emitter
-
A signal emitted when the generator for this emitter is exhausted.
- onHover(Pointer.Interaction, boolean) - Method in class tripleplay.ui.Behavior.Ignore
- onHover(Pointer.Interaction, boolean) - Method in class tripleplay.ui.Behavior
-
Called as the user drags the pointer around after pressing.
- onHover(Pointer.Interaction, boolean) - Method in class tripleplay.ui.Behavior.RapidFire
- onHover(Pointer.Interaction, boolean) - Method in class tripleplay.ui.Behavior.Select
- onHover(Pointer.Interaction, boolean) - Method in class tripleplay.ui.Behavior.Toggle
- onHover(Pointer.Interaction, boolean) - Method in class tripleplay.ui.Behavior.Track
- onLongPress(SignalView.Listener<? super Button>) - Method in class tripleplay.ui.LongPressButton
-
A convenience method for registering a long press handler.
- onMove(Touch.Interaction) - Method in class tripleplay.gesture.GestureDirector
- onMove(Touch.Interaction) - Method in class tripleplay.gesture.GestureRegionDirector
- onPaint - Variable in class tripleplay.anim.Animator
-
Performs per-frame animation processing.
- onPaint - Variable in class tripleplay.anim.Flicker
-
This must be connected to a paint signal.
- onPress(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Capturing
- onPress(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Click
- onPress(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Ignore
- onPress(Pointer.Interaction) - Method in class tripleplay.ui.Behavior
-
Called when the pointer is pressed down on our element.
- onPress(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.RapidFire
- onPress(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Select
- onPress(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Toggle
- onPress(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Track
- onRelease(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Capturing
- onRelease(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Ignore
- onRelease(Pointer.Interaction) - Method in class tripleplay.ui.Behavior
-
Called when the pointer is released after having been pressed on this widget.
- onRelease(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Select
- onRelease(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Toggle
- onRelease(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Track
- onStart(Runnable) - Method in class tripleplay.game.trans.AbstractTransition
-
Configures an action to be executed when this transition starts.
- onStart(Pointer.Interaction) - Method in class tripleplay.anim.Flicker
- onStart(Pointer.Interaction) - Method in class tripleplay.ui.Behavior
- onStart(Pointer.Interaction) - Method in class tripleplay.ui.util.XYFlicker
- onStart(Pointer.Interaction) - Method in class tripleplay.util.Tapper
- onStart(Touch.Interaction) - Method in class tripleplay.gesture.GestureDirector
- onStart(Touch.Interaction) - Method in class tripleplay.gesture.GestureRegionDirector
- onTap() - Method in class tripleplay.util.Tapper
-
Called when a tap occurs.
- onTap(Event.XY) - Method in class tripleplay.util.DoubleTapper
- onTap(Event.XY) - Method in class tripleplay.util.Tapper
-
Called when a tap occurs.
- onVisit(String, Instance, int) - Method in interface tripleplay.flump.Instances.Op
- OPENER - Static variable in class tripleplay.ui.Menu
-
The opening animation function for the menu.
- ORANGE - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- origin - Variable in class tripleplay.flump.LibraryData.TextureData
- origin - Variable in class tripleplay.flump.Texture.Symbol
- origin - Variable in class tripleplay.ui.layout.AbsoluteLayout.Constraint
- originX - Variable in class tripleplay.game.ScreenStack
-
The x-coordinate at which screens are located.
- originY - Variable in class tripleplay.game.ScreenStack
-
The y-coordinate at which screens are located.
- OUT - Static variable in class tripleplay.game.ScreenSpace
- OUTLINE_CAP - Static variable in class tripleplay.ui.Style
-
The line cap for the outline, when using a vector outline.
- OUTLINE_JOIN - Static variable in class tripleplay.ui.Style
-
The line join for the outline, when using a vector outline.
- OUTLINE_WIDTH - Static variable in class tripleplay.ui.Style
-
The stroke width of the outline, when using a vector outline.
- outlineCap - Variable in class tripleplay.util.EffectRenderer.VectorOutline
- outlineColor - Variable in class tripleplay.util.EffectRenderer.PixelOutline
- outlineColor - Variable in class tripleplay.util.EffectRenderer.VectorOutline
- outlineJoin - Variable in class tripleplay.util.EffectRenderer.VectorOutline
- outlineWidth - Variable in class tripleplay.util.EffectRenderer.VectorOutline
- owner() - Method in class tripleplay.ui.Background.Instance
-
Returns the background that created this instance.
- ox - Variable in class tripleplay.ui.util.BoxPoint
-
Absolute x, y offsets.
- oy - Variable in class tripleplay.ui.util.BoxPoint
-
Absolute x, y offsets.
P
- pack() - Method in class tripleplay.ui.Root
-
Sizes this root element to its preferred size.
- pack(float, float) - Method in class tripleplay.ui.Root
-
Sizes this element to its preferred size, computed using the supplied hints.
- pack(Graphics, QuadBatch) - Method in class tripleplay.util.TexturePacker
-
Pack all images into as few atlases as possible.
- pack(Graphics, QuadBatch, Collection<Library>) - Static method in class tripleplay.flump.Library
-
Pack multiple libraries into a single group of atlases.
- PackedFrames - Class in tripleplay.util
-
A frames implementation that uses a packed texture atlas and metadata generated by the
FramePacker
. - PackedFrames(TileSource, float[][]) - Constructor for class tripleplay.util.PackedFrames
- PackedFrames(TileSource, float, float, PackedFrames.Frame[]) - Constructor for class tripleplay.util.PackedFrames
- PackedFrames(TileSource, Json.Object) - Constructor for class tripleplay.util.PackedFrames
- PackedFrames.Frame - Class in tripleplay.util
- packToHeight(float) - Method in class tripleplay.ui.Root
-
Sizes this root element to the specified height and its preferred width.
- packToWidth(float) - Method in class tripleplay.ui.Root
-
Sizes this root element to the specified width and its preferred height.
- page() - Method in class tripleplay.ui.PagedMenu
-
Gets a view of the current page value.
- PagedMenu - Class in tripleplay.ui
-
A menu that is also capable of showing one page of its items at a time.
- PagedMenu(Layout, int) - Constructor for class tripleplay.ui.PagedMenu
-
Creates a new paged menu with the given layout and number of items per page.
- pageSlot() - Method in class tripleplay.ui.PagedMenu
-
Gets a slot that will update the page when emitted.
- pageTurn() - Method in class tripleplay.game.ScreenStack
-
Creates a page turn transition.
- PageTurnTransition - Class in tripleplay.game.trans
-
Opens the current screen like the page of a book, revealing the new screen beneath.
- PageTurnTransition() - Constructor for class tripleplay.game.trans.PageTurnTransition
- paint - Variable in class tripleplay.game.ScreenSpace.Screen
-
A signal emitted on every frame, while this screen is showing.
- paint - Variable in class tripleplay.game.ScreenStack.Screen
-
A signal emitted on every frame, while this screen is showing.
- paint(float) - Method in interface tripleplay.flump.Instance
-
Notifies this instance that time has passed, for animation.
- paint(float) - Method in class tripleplay.flump.Movie
- paint(float) - Method in class tripleplay.flump.Texture
- paint(Clock) - Method in class tripleplay.entity.World
-
Paints all of the
System
s in this world. - paint(Clock) - Method in class tripleplay.flump.Movie
- paint(Clock) - Method in class tripleplay.flump.MoviePlayer
-
Drives this movie player with the supplied clock.
- parent() - Method in class tripleplay.ui.Element
-
Returns the parent of this element, or null.
- parent() - Method in class tripleplay.ui.Tabs.Tab
- ParticleBatch - Class in tripleplay.particle
-
A custom batch designed for shading particles.
- ParticleBatch(GL20) - Constructor for class tripleplay.particle.ParticleBatch
- ParticleBuffer - Class in tripleplay.particle
-
Contains the basic metadata for an array of particles: position, velocity, scale, rotation, birth time, lifespan.
- ParticleBuffer(int) - Constructor for class tripleplay.particle.ParticleBuffer
-
Creates a particle buffer that can hold up to
maxParticles
particles. - PASSIVE - Enum constant in enum class tripleplay.gesture.Gesture.State
-
For a gesture to be passive, the user interaction thus far has qualified toward completing this gesture, but has not yet met a minimum requirement, or the gesture is not greedy by nature.
- PAUSE - Enum constant in enum class tripleplay.gesture.GestureNode.Type
- pauseDelay() - Method in class tripleplay.gesture.GestureDirector
-
Returns the number of milliseconds to wait after the last touch event to transition the current gestures to PAUSE.
- payload() - Method in class tripleplay.syncdb.Protocol.PayloadWriter
- PayloadReader(String) - Constructor for class tripleplay.syncdb.Protocol.PayloadReader
- PayloadWriter() - Constructor for class tripleplay.syncdb.Protocol.PayloadWriter
- pick(Iterable<? extends T>, T) - Method in class tripleplay.util.Randoms
-
Pick a random element from the specified Iterable, or return
ifEmpty
if it is empty. - pick(Iterator<? extends T>, T) - Method in class tripleplay.util.Randoms
-
Pick a random element from the specified Iterator, or return
ifEmpty
if it is empty. - pick(Map<? extends T, ? extends Number>, T) - Method in class tripleplay.util.Randoms
-
Pick a random key from the specified mapping of weight values, or return
ifEmpty
if no mapping has a weight greater than0
. - PINK - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- pivot - Variable in class tripleplay.flump.KeyframeData
- pivot - Variable in class tripleplay.flump.LibraryData.KeyframeData
- PIXEL_OUTLINE - Enum constant in enum class tripleplay.ui.Style.TextEffect
-
Outlines the text in the highlight color.
- pixelOutline - Variable in class tripleplay.ui.Style.TextEffectStyle
- PixelOutline(int) - Constructor for class tripleplay.util.EffectRenderer.PixelOutline
- plat - Variable in class tripleplay.sound.SoundBoard
-
The platform on which this sound board is operating.
- plat - Variable in class tripleplay.ui.Interface
-
The platform in which this interface is operating.
- play() - Method in class tripleplay.sound.Clip.Silence
- play() - Method in class tripleplay.sound.Loop.Silence
- play() - Method in interface tripleplay.sound.MultiClip.Copy
-
Plays this copy of the sound and then releases it.
- play() - Method in interface tripleplay.sound.Playable
-
Starts this clip or loop playing.
- play(String) - Method in class tripleplay.flump.MoviePlayer
- play(String, boolean) - Method in class tripleplay.flump.MoviePlayer
-
Shows a movie that plays once.
- play(Sound) - Method in class tripleplay.anim.AnimBuilder
-
Plays the supplied sound.
- play(Playable) - Method in class tripleplay.anim.AnimBuilder
-
Plays the supplied clip or loop.
- Playable - Interface in tripleplay.sound
-
Shared controls for clips and loops.
- PlayMovie - Class in tripleplay.flump
-
Plays a movie until it ends.
- PlayMovie(Movie) - Constructor for class tripleplay.flump.PlayMovie
- PlayNImpl(Platform) - Constructor for class tripleplay.util.Logger.PlayNImpl
- pluck(Iterable<? extends T>, T) - Method in class tripleplay.util.Randoms
-
Pluck (remove) a random element from the specified Iterable, or return
ifEmpty
if it is empty. - pointer - Variable in class tripleplay.ui.MenuHost.Pop
-
The position of the pointer, if given during construction, otherwise null.
- pointer() - Static method in class tripleplay.ui.MenuHost
-
Gets a trigger point exactly under the pointer position.
- pop(ScreenSpace.Screen) - Method in class tripleplay.game.ScreenSpace
-
Removes
screen
from this space. - Pop(Element<?>, Menu) - Constructor for class tripleplay.ui.MenuHost.Pop
-
Creates a new event and initializes
MenuHost.Pop.trigger
andMenuHost.Pop.menu
. - Pop(Element<?>, Menu, Event.XY) - Constructor for class tripleplay.ui.MenuHost.Pop
-
Creates a new event and initializes
MenuHost.Pop.trigger
andMenuHost.Pop.menu
. - popBitVec() - Method in class tripleplay.util.Inflater
- popBool() - Method in class tripleplay.util.Inflater
- popByte() - Method in class tripleplay.util.Inflater
- popChar() - Method in class tripleplay.util.Inflater
- popEnum(Class<E>) - Method in class tripleplay.util.Inflater
- popFLString(int) - Method in class tripleplay.util.Inflater
- popInt() - Method in class tripleplay.util.Inflater
- popNibble() - Method in class tripleplay.util.Inflater
- popShort() - Method in class tripleplay.util.Inflater
- popString() - Method in class tripleplay.util.Inflater
- popTo(ScreenSpace.Screen) - Method in class tripleplay.game.ScreenSpace
-
Removes all screens from the space until
screen
is reached. - popTo(ScreenStack.Screen) - Method in class tripleplay.game.ScreenStack
-
ScreenStack.popTo(Screen,Transition)
with the default transition. - popTo(ScreenStack.Screen, ScreenStack.Transition) - Method in class tripleplay.game.ScreenStack
-
Pops the top screen from the stack until the specified screen has become the topmost/visible screen.
- popup() - Method in class tripleplay.ui.MenuHost.Pop
-
Pops up this instance on the trigger's root's menu host.
- popup(MenuHost.Pop) - Method in class tripleplay.ui.MenuHost
-
Displays the menu specified by the given pop, incorporating all the configured attributes therein.
- POPUP_ORIGIN - Static variable in class tripleplay.ui.MenuHost
-
The point on the menu that should be placed directly on top of the trigger point, subject to bounding constraints.
- popVarInt() - Method in class tripleplay.util.Inflater
- popVarLong() - Method in class tripleplay.util.Inflater
- pos(float, float, IDimension) - Method in class tripleplay.ui.layout.AbsoluteLayout.Constraint
- position - Variable in class tripleplay.anim.Flicker
-
The current position value.
- position - Variable in class tripleplay.ui.layout.AbsoluteLayout.Constraint
- position() - Method in class tripleplay.flump.Movie
-
The playback position, in milliseconds.
- position() - Method in class tripleplay.ui.util.XYFlicker
-
Gets the current position.
- positionChanged(float, float) - Method in interface tripleplay.ui.Scroller.Listener
-
Notifies this listener of changes to the content offset.
- positionChanged(float, float) - Method in class tripleplay.ui.util.XYFlicker
-
Sets the flicker position, in the case of a programmatic change.
- posValue() - Method in class tripleplay.anim.Flicker
-
Returns the position of this flicker as an animation value.
- PREFERRED_IF_SET - Enum constant in enum class tripleplay.ui.Element.Take
-
Uses the preferred size if non-zero, otherwise the original.
- preferredSize - Variable in class tripleplay.ui.SizableGroup
-
The preferred size of this widget.
- preferredSize - Variable in class tripleplay.ui.SizableWidget
-
The preferred size of this widget.
- preferredSize(float, float) - Method in class tripleplay.ui.Root
-
Computes the preferred size of this root.
- preload() - Method in interface tripleplay.sound.Clip
-
Preloads this clip's underlying audio data.
- preload() - Method in class tripleplay.sound.Clip.Silence
- prepare(Graphics, float, float) - Method in class tripleplay.util.Glyph
-
Ensures that the canvas image is at least the specified dimensions and cleared to all transparent pixels.
- prepare(Graphics, IDimension) - Method in class tripleplay.util.Glyph
-
Ensures that the canvas image is at least the specified dimensions and cleared to all transparent pixels.
- prepare(Tile, int) - Method in class tripleplay.particle.ParticleBatch
- preparedHeight() - Method in class tripleplay.util.Glyph
-
Returns the height of the last call to
Glyph.prepare(playn.core.Graphics, pythagoras.f.IDimension)
, or zero if the glyph is not prepared. - preparedWidth() - Method in class tripleplay.util.Glyph
-
Returns the width of the last call to
Glyph.prepare(playn.core.Graphics, pythagoras.f.IDimension)
, or zero if the glyph is not prepared. - prepareToMeld() - Method in class tripleplay.syncdb.SyncDB
-
Prepares this database to be melded into a pre-existing database.
- press - Variable in class tripleplay.ui.Behavior.Track.State
-
The press and drag positions.
- pressTime - Variable in class tripleplay.ui.Behavior.Track.State
-
Time the press started.
- preventDeselection() - Method in class tripleplay.ui.Selector
-
Prevent a deselection (null
Selector.selected
.get()) occurring as a result of toggling the currently selected button off. - processPurges() - Method in class tripleplay.syncdb.SyncDB
-
Processes any subdbs that have been queued for purging.
- Protocol - Class in tripleplay.syncdb
-
Handles the process of syncing a databse with the server.
- Protocol() - Constructor for class tripleplay.syncdb.Protocol
- Protocol.NetServer - Class in tripleplay.syncdb
-
A
Protocol.Server
implementation that delivers deltas to the server viaNet
. - Protocol.PayloadReader - Class in tripleplay.syncdb
-
Used to decode ints and strings from one big compact string.
- Protocol.PayloadWriter - Class in tripleplay.syncdb
-
Used to encode ints and strings in one big compact string.
- Protocol.Request - Class in tripleplay.syncdb
-
Encapsulates a sync request from the client.
- Protocol.Response - Class in tripleplay.syncdb
-
Encapsualtes a response from the server.
- Protocol.Server - Interface in tripleplay.syncdb
-
Abstracts away the sending of a sync request to the server.
- Protocol.Session - Class in tripleplay.syncdb
-
Encapsulates a syncing session with the server.
- protocolVersion - Variable in class tripleplay.syncdb.Protocol.Request
-
The version of
Protocol
in use by the client. - protocolVersion - Variable in class tripleplay.syncdb.Protocol.Response
-
The version of
Protocol
in use by the client. - protocolVersion() - Static method in class tripleplay.syncdb.Protocol
-
Returns the current version of the protocol code.
- pruneOld(int) - Method in class tripleplay.ui.HistoryGroup
-
Prunes the given number of entries from the beginning of the history.
- psize(AbsoluteLayout, Element<?>) - Method in class tripleplay.ui.layout.AbsoluteLayout.Constraint
- push(Iterable<? extends ScreenStack.Screen>) - Method in class tripleplay.game.ScreenStack
-
ScreenStack.push(Iterable,Transition)
with the default transition. - push(Iterable<? extends ScreenStack.Screen>, ScreenStack.Transition) - Method in class tripleplay.game.ScreenStack
-
Pushes the supplied set of screens onto the stack, in order.
- push(ScreenStack.Screen) - Method in class tripleplay.game.ScreenStack
-
ScreenStack.push(Screen,Transition)
with the default transition. - push(ScreenStack.Screen, ScreenStack.Transition) - Method in class tripleplay.game.ScreenStack
-
Pushes the supplied screen onto the stack, making it the visible screen.
Q
- queueScroll(float, float) - Method in class tripleplay.ui.Scroller
-
Sets the left and top of the view area relative to that of the content the next time the container is laid out.
R
- random(Randoms, float, float) - Static method in class tripleplay.particle.init.Lifespan
-
Returns an initializer that provides a random lifespan between
min
andmax
. - randomCircle(Randoms, float) - Static method in class tripleplay.particle.init.Velocity
-
Returns an initializer that provides a velocity in a random direction with the specified maximum magnitude.
- randomCircle(Randoms, float, float) - Static method in class tripleplay.particle.init.Velocity
-
Returns an initializer that provides a velocity in a random direction with the specified minimum and maximum magnitude.
- randomNormal(Randoms, float, float) - Static method in class tripleplay.particle.init.Velocity
-
Returns an initializer that provides a normally distributed random velocity with the specified mean and standard deviation parameters.
- randomNormal(Randoms, float, float, float, float) - Static method in class tripleplay.particle.init.Velocity
-
Returns an initializer that provides a normally distributed random velocity with the specified mean and standard deviation parameters.
- randomOffset(Randoms, float) - Static method in class tripleplay.particle.init.Transform
-
Returns an initializer that adjusts the particle's position randomly from its current location by up to
noise
units in both x and y. - randomPos(Randoms, float, float, float, float) - Static method in class tripleplay.particle.init.Transform
-
Returns an initializer that configures a particle's position in a random region.
- Randoms - Class in tripleplay.util
-
Provides utility routines to simplify obtaining randomized values.
- randomScale(Randoms, float, float) - Static method in class tripleplay.particle.init.Transform
-
Returns an initializer that scales its previously assigned transform by an evenly distributed random amount within the specified range.
- randomSquare(Randoms, float, float) - Static method in class tripleplay.particle.init.Velocity
-
Returns an initializer that provides a uniformly distributed random velocity.
- randomSquare(Randoms, float, float, float, float) - Static method in class tripleplay.particle.init.Velocity
-
Returns an initializer that provides a uniformly distribted random velocity in the range
minX
tomaxX
and similarly for the y direction. - range - Variable in class tripleplay.ui.Slider
-
The range of the slider.
- range - Variable in class tripleplay.ui.Slider.Range
- Range() - Constructor for class tripleplay.ui.Scroller.Range
- Range(float, float) - Constructor for class tripleplay.ui.Slider.Range
- RapidFire(T) - Constructor for class tripleplay.ui.Behavior.RapidFire
-
Creates a new rapid fire behavior for the given owner.
- readInt() - Method in class tripleplay.syncdb.Protocol.PayloadReader
- readString() - Method in class tripleplay.syncdb.Protocol.PayloadReader
- rect - Variable in class tripleplay.flump.LibraryData.TextureData
- RED - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- ref - Variable in class tripleplay.flump.LibraryData.KeyframeData
- Ref<T> - Class in tripleplay.util
-
Maintains a reference to a resource.
- Ref() - Constructor for class tripleplay.util.Ref
- refresh(NativeTextField) - Method in class tripleplay.platform.TPPlatform
-
Refreshes a native text field to match the current styles of its associated field instance.
- refreshBounds() - Method in class tripleplay.ui.Field.Native
-
Refreshes the bounds of this field's native field.
- refreshNativeBounds() - Method in class tripleplay.platform.TPPlatform
-
Updates the bounds of all known native fields.
- relative(BoxPoint) - Static method in class tripleplay.ui.MenuHost
-
Gets a trigger point relative to an element using the given box point.
- relayEvents(Layer) - Method in class tripleplay.ui.MenuHost.Pop
-
Causes the menu to handle further events on the given layer.
- relayEvents(Layer, Menu) - Static method in class tripleplay.ui.MenuHost
- release() - Method in class tripleplay.sound.Clip.Silence
- release() - Method in class tripleplay.sound.Loop.Silence
- release() - Method in interface tripleplay.sound.MultiClip.Copy
-
Releases this copy of the sound without playing it.
- release() - Method in class tripleplay.sound.MultiClip
-
Releases all of the clips obtained by this multiclip, freeing their audio resources.
- release() - Method in interface tripleplay.sound.Playable
-
Releases this playable when it is no longer needed.
- remove() - Method in class tripleplay.gesture.GestureRegionDirector
- remove() - Method in interface tripleplay.platform.NativeOverlay
-
Removes the native overlay from the display.
- remove() - Method in class tripleplay.ui.util.Hierarchy.Ancestors
- remove(int) - Method in class tripleplay.entity.IntBag
- remove(E) - Method in class tripleplay.util.Bag
-
Removes the first occurrance of
elem
from the bag. - remove(String) - Method in class tripleplay.util.TypedStorage
-
Removes the specified key (and its value) from storage.
- remove(Component) - Method in class tripleplay.entity.Entity
-
Removes the specified component from this entity.
- remove(ScreenStack.Predicate) - Method in class tripleplay.game.ScreenStack
-
ScreenStack.remove(Predicate,Transition)
with the default transition. - remove(ScreenStack.Predicate, ScreenStack.Transition) - Method in class tripleplay.game.ScreenStack
-
Removes all screens that match the supplied predicate, from lowest in the stack to highest.
- remove(ScreenStack.Screen) - Method in class tripleplay.game.ScreenStack
-
ScreenStack.remove(Screen,Transition)
with the default transition. - remove(ScreenStack.Screen, ScreenStack.Transition) - Method in class tripleplay.game.ScreenStack
-
Removes the specified screen from the stack.
- remove(Gesture<?>) - Method in class tripleplay.gesture.GestureDirector
-
Removes the given gesture from the set considered during each user interaction.
- remove(Element<?>) - Method in class tripleplay.ui.Box
- remove(Element<?>) - Method in class tripleplay.ui.Container.Mutable
-
Removes the specified child from this container.
- remove(Element<?>) - Method in class tripleplay.ui.Elements
- remove(Element<?>, Element<?>...) - Method in class tripleplay.ui.Selector
-
Stops tracking one or more elements.
- remove(Elements<?>) - Method in class tripleplay.ui.Selector
-
Stops tracking the children of
elements
for setting the selection. - removeAll() - Method in class tripleplay.entity.IntBag
- removeAll() - Method in class tripleplay.ui.Box
- removeAll() - Method in class tripleplay.ui.Container.Mutable
-
Removes all children from this container.
- removeAll() - Method in class tripleplay.ui.Elements
- removeAll() - Method in class tripleplay.util.Bag
-
Removes all elements from this bag.
- removeAt(int) - Method in class tripleplay.entity.IntBag
- removeAt(int) - Method in class tripleplay.ui.Box
- removeAt(int) - Method in class tripleplay.ui.Container.Mutable
-
Removes the child at the specified index from this container.
- removeAt(int) - Method in class tripleplay.ui.Elements
- removeAt(int) - Method in class tripleplay.util.Bag
-
Removes the element at the specified index.
- removeFromParent(Element<?>, boolean) - Static method in class tripleplay.ui.Container
-
Removes and optionally destroys the given element from its parent, if the parent is a mutable container.
- removeLast() - Method in class tripleplay.entity.IntBag
- removeLast() - Method in class tripleplay.util.Bag
-
Removes and returns the last element of the bag.
- removeListener(Scroller.Listener) - Method in class tripleplay.ui.Scroller
-
Removes a previously added listener from this scroller.
- removeRoot(Root) - Method in class tripleplay.ui.Interface
-
Removes the supplied root element from this interface, iff it's currently added.
- removeWhere(Function<E, Boolean>) - Method in class tripleplay.util.Bag
-
Removes all elements that match
pred
. - render() - Method in class tripleplay.ui.GlyphWidget
-
Redraws this widget's glyph if the widget is visible and laid out.
- render() - Method in interface tripleplay.ui.Icon
-
Creates a new layer for displaying this icon.
- render() - Method in class tripleplay.ui.Icons.Aggregated
- render(Canvas, float, float) - Method in class tripleplay.util.StyledText.Block
- render(Canvas, float, float) - Method in class tripleplay.util.StyledText
-
Renders this styled text into the supplied canvas at the specified offset.
- render(Canvas, float, float) - Method in class tripleplay.util.StyledText.Span
- render(Canvas, TextLayout, int, boolean, float, float) - Method in class tripleplay.util.EffectRenderer.Gradient
- render(Canvas, TextLayout, int, boolean, float, float) - Method in class tripleplay.util.EffectRenderer.PixelOutline
- render(Canvas, TextLayout, int, boolean, float, float) - Method in class tripleplay.util.EffectRenderer
- render(Canvas, TextLayout, int, boolean, float, float) - Method in class tripleplay.util.EffectRenderer.Shadow
- render(Canvas, TextLayout, int, boolean, float, float) - Method in class tripleplay.util.EffectRenderer.VectorOutline
- render(Surface, float, float, float, float) - Method in interface tripleplay.util.TexturePacker.Renderer
- render(ParticleBatch, float, float) - Method in class tripleplay.particle.ParticleBuffer
-
Renders the particles to the supplied shader.
- RenderableLabel(String) - Constructor for class tripleplay.ui.HistoryGroup.RenderableLabel
-
Creates a new label.
- renderText(Graphics, StyledText.Plain) - Method in class tripleplay.util.Glyph
-
Prepares the canvas and renders the supplied text at 0, 0 using the given config.
- renderText(Graphics, StyledText.Plain, int, int) - Method in class tripleplay.util.Glyph
-
Prepares the canvas and renders the supplied text at
x, y
using the given config. - repaint() - Method in interface tripleplay.platform.ImageOverlay
-
Queues up a repaint.
- reparent(GroupLayer, Layer) - Method in class tripleplay.anim.AnimBuilder
-
Reparents the supplied child to the supplied new parent.
- reparent(Layer, GroupLayer) - Static method in class tripleplay.util.Layers
-
Removes
layer
from its current parent and adds it totarget
, modifying its transform in the process so that it stays in the same position on the screen. - repeat(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Returns a builder which can be used to construct an animation that will be repeated until the supplied layer has been removed from its parent.
- Repeat(Layer) - Constructor for class tripleplay.anim.Animation.Repeat
- REPEAT_DELAY - Static variable in class tripleplay.ui.Behavior.RapidFire
-
Milliseconds between repeated click dispatches.
- replace(ScreenSpace.Screen) - Method in class tripleplay.game.ScreenSpace
-
Adds
screen
to this space, replacing the current top-level screen. - replace(ScreenStack.Screen) - Method in class tripleplay.game.ScreenStack
-
ScreenStack.replace(Screen,Transition)
with the default transition. - replace(ScreenStack.Screen, ScreenStack.Transition) - Method in class tripleplay.game.ScreenStack
-
Pops the current screen from the top of the stack and pushes the supplied screen on as its replacement.
- repositionTab(Tabs.Tab, int) - Method in class tripleplay.ui.Tabs
-
Moves the given tab into the given position.
- Request(int, Map<String, String>) - Constructor for class tripleplay.syncdb.Protocol.Request
-
Creates a request with the supplied data.
- requireArray(Json.Object, String) - Static method in class tripleplay.util.JsonUtil
- requireBoolean(Json.Object, String) - Static method in class tripleplay.util.JsonUtil
- requireEnum(Json.Object, String, Class<T>) - Static method in class tripleplay.util.JsonUtil
- requireFloat(Json.Object, String) - Static method in class tripleplay.util.JsonUtil
- requireInt(Json.Object, String) - Static method in class tripleplay.util.JsonUtil
- requireNumber(Json.Object, String) - Static method in class tripleplay.util.JsonUtil
- requireObject(Json.Object, String) - Static method in class tripleplay.util.JsonUtil
- requireString(Json.Object, String) - Static method in class tripleplay.util.JsonUtil
- reserve() - Method in class tripleplay.sound.MultiClip
-
Obtains a copy of the sound (from the reserves if possible or loaded from storage if not).
- reset() - Method in class tripleplay.util.Deflater
- reset(float, float) - Method in class tripleplay.ui.util.XYFlicker
-
Resets the flicker to the given maximum values.
- resize(float) - Method in class tripleplay.util.StyledText.Block
- resize(float) - Method in class tripleplay.util.StyledText.Plain
-
Creates a new instance equivalent to this one excepting that the font size is adjusted to
size
. - resize(float) - Method in class tripleplay.util.StyledText.Span
- resize(int, float) - Method in class tripleplay.ui.util.Scale9.Axis
-
Sets the size of the given chunk, shifting neighbors.
- resolve(float, float, float, float, Point) - Method in class tripleplay.ui.util.BoxPoint
-
Finds the coordinates of the point, using the box defined by the given coordinates.
- resolve(Set<V>, Set<V>) - Method in interface tripleplay.syncdb.SetResolver
-
Resolves a conflict between a client and server set.
- resolve(IDimension, Point) - Method in class tripleplay.ui.util.BoxPoint
-
Finds the coordinates of the point, using the box with top left of 0, 0 and the given dimension.
- resolve(Element<?>, Point) - Method in class tripleplay.ui.util.BoxPoint
-
Finds the screen coordinates of the point, using the given element as the box.
- resolve(V, V) - Method in interface tripleplay.syncdb.Resolver
-
Resolves a conflict between a client and server value.
- Resolver<T> - Interface in tripleplay.syncdb
-
Provides a mechanism for resolving conflict between two conflicting values in a sync db.
- resolveStyle(Element<?>, Style<V>) - Static method in class tripleplay.ui.Styles
-
Resolves the current value of
style
onelement
. - resolveStyle(Style<T>) - Method in class tripleplay.ui.Field.Native
-
Resolves the given style for the field.
- Response(int) - Constructor for class tripleplay.syncdb.Protocol.Response
-
Creates a response that represents a clean sync.
- Response(int, Map<String, String>) - Constructor for class tripleplay.syncdb.Protocol.Response
-
Creates a (non-clean-sync) response with the supplied version and delta.
- restore(int, BitVec) - Method in class tripleplay.entity.World
-
Creates an entity with the specified id and component bitvec.
- retainMenu() - Method in class tripleplay.ui.MenuHost.Pop
-
Flags this
Pop
event so that the menu will not be destroyed automatically when it is deactivated. - RETURN_KEY_LABEL - Static variable in class tripleplay.ui.Field
-
Sets the label used on the "return" key of the virtual keyboard on native keyboards.
- reverseDepth() - Method in class tripleplay.ui.bgs.CompositeBackground
-
Reverses the usual depth of the constituent backgrounds' layers.
- right - Variable in class tripleplay.ui.Style.HAlignStyle
- right - Variable in class tripleplay.ui.Style.PosStyle
- right() - Method in class tripleplay.game.trans.SlideTransition
- right() - Method in class tripleplay.ui.util.BoxPoint
-
Creates a new box point that is equivalent to this one except with an x coordinate that will resolve to the right edge of the box.
- right() - Method in class tripleplay.ui.util.Insets
-
Gets the right inset.
- right(float) - Method in class tripleplay.ui.util.Insets.Mutable
-
Sets the right edge and returns
this
for chaining. - RIGHT - Enum constant in enum class tripleplay.game.ScreenStack.Transition.Dir
- RIGHT - Enum constant in enum class tripleplay.gesture.Gesture.Direction
- RIGHT - Enum constant in enum class tripleplay.ui.Style.HAlign
- RIGHT - Enum constant in enum class tripleplay.ui.Style.Pos
- RIGHT - Static variable in class tripleplay.game.ScreenSpace
- Root - Class in tripleplay.ui
-
The root of a display hierarchy.
- Root(Interface, Layout, Stylesheet) - Constructor for class tripleplay.ui.Root
-
Creates a new root with the provided layout and stylesheet.
- rootLayer - Variable in class tripleplay.ui.MenuHost
-
The root layer that will contain all menus that pop up.
- roots() - Method in class tripleplay.ui.Interface
-
Returns an iterable over the current roots.
- RotateYBatch - Class in tripleplay.shaders
-
Rotates the view through a 3D transform around the Y axis.
- RotateYBatch(GL20, float, float, float) - Constructor for class tripleplay.shaders.RotateYBatch
- roundRect(Graphics, int, float) - Static method in class tripleplay.ui.Background
-
Creates a round rect background with the specified color and corner radius.
- roundRect(Graphics, int, float, int, float) - Static method in class tripleplay.ui.Background
-
Creates a round rect background with the specified parameters.
- RoundRectBackground - Class in tripleplay.ui.bgs
-
Draws a rounded rectangle with optional border as a background.
- RoundRectBackground(Graphics, int, float) - Constructor for class tripleplay.ui.bgs.RoundRectBackground
- RoundRectBackground(Graphics, int, float, int, float) - Constructor for class tripleplay.ui.bgs.RoundRectBackground
- RoundRectBackground(Graphics, int, float, int, float, float) - Constructor for class tripleplay.ui.bgs.RoundRectBackground
- rowBreaks - Variable in class tripleplay.ui.layout.FlowLayout.Metrics
- rows - Variable in class tripleplay.ui.layout.FlowLayout.Metrics
S
- scale - Variable in class tripleplay.flump.KeyframeData
- scale - Variable in class tripleplay.flump.LibraryData.KeyframeData
- scale(float) - Static method in class tripleplay.particle.init.Transform
-
Returns an initializer that scales its previously assigned transform.
- scale9() - Method in class tripleplay.ui.bgs.Scale9Background
-
Returns the scale 9 instance for mutation.
- scale9(Tile) - Static method in class tripleplay.ui.Background
-
Creates a scale9 background with the specified texture tile.
- Scale9 - Class in tripleplay.ui.util
-
Facilitates the rendering of "scale-9" images, that is, images that are designed as a 3x3 grid such that each of the 9 pieces is fixed or stretched in one or both directions to fit a designated area.
- Scale9(float, float) - Constructor for class tripleplay.ui.util.Scale9
-
Creates a new scale to match the given width and height.
- Scale9(float, float, Scale9) - Constructor for class tripleplay.ui.util.Scale9
-
Creates a new scale to render the given scale onto a target of the given width and height.
- Scale9.Axis - Class in tripleplay.ui.util
-
A horizontal or vertical axis, broken up into 3 chunks.
- Scale9Background - Class in tripleplay.ui.bgs
-
A background constructed by scaling the parts of a source image to fit the target width and height.
- Scale9Background(Tile) - Constructor for class tripleplay.ui.bgs.Scale9Background
-
Creates a new background using the given texture.
- scaled(Icon, float) - Static method in class tripleplay.ui.Icons
-
Creates an icon that applies the given scale to the given icon.
- screen(int) - Method in class tripleplay.game.ScreenSpace
-
Returns the screen at
index
. - Screen(Game) - Constructor for class tripleplay.game.ScreenSpace.Screen
- screenCount() - Method in class tripleplay.game.ScreenSpace
-
Returns the number of screens in the space.
- ScreenSpace - Class in tripleplay.game
-
Maintains a 2D layout of
ScreenSpace.Screen
s. - ScreenSpace(Game, GroupLayer) - Constructor for class tripleplay.game.ScreenSpace
-
Creates a screen space which will manage screens for
game
. - ScreenSpace.Dir - Class in tripleplay.game
-
The directions in which a new screen can be added.
- ScreenSpace.Screen - Class in tripleplay.game
-
A screen that integrates with
ScreenSpace
. - ScreenSpace.UIScreen - Class in tripleplay.game
-
A
ScreenSpace.Screen
that takes care of basic UI setup for you. - ScreenStack - Class in tripleplay.game
-
Manages a stack of screens.
- ScreenStack(Game, GroupLayer) - Constructor for class tripleplay.game.ScreenStack
-
Creates a screen stack that manages screens for
game
onrootLayer
. - ScreenStack.Predicate - Interface in tripleplay.game
-
Used to operate on screens.
- ScreenStack.Screen - Class in tripleplay.game
-
Displays and manages the lifecycle for a single game screen.
- ScreenStack.Transition - Class in tripleplay.game
-
Implements a particular screen transition.
- ScreenStack.Transition.Dir - Enum Class in tripleplay.game
-
Direction constants, used by transitions.
- ScreenStack.UIScreen - Class in tripleplay.game
-
A
ScreenStack.Screen
with anInterface
for doing UI stuff. - scroll(float, float) - Method in class tripleplay.ui.Scroller
-
Sets the left and top of the view area relative to that of the content.
- Scroller - Class in tripleplay.ui
-
A composite element that manages horizontal and vertical scrolling of a single content element.
- Scroller(Element<?>) - Constructor for class tripleplay.ui.Scroller
-
Creates a new scroller containing the given content and with
Scroller.Behavior.BOTH
. - Scroller.Bars - Class in tripleplay.ui
-
Handles the appearance and animation of scroll bars.
- Scroller.BarType - Class in tripleplay.ui
-
Handles creating the scroll bars.
- Scroller.Behavior - Enum Class in tripleplay.ui
-
Defines the directions available for scrolling.
- Scroller.Clippable - Interface in tripleplay.ui
-
Interface for customizing how content is clipped and translated.
- Scroller.Listener - Interface in tripleplay.ui
-
Listens for changes to the scrolling area or offset.
- Scroller.Range - Class in tripleplay.ui
-
A range along an axis for representing scroll bars.
- Scroller.TouchBars - Class in tripleplay.ui
-
Plain rectangle scroll bars that overlay the content area, consume no additional screen space, and fade out after inactivity.
- scrollToBottom() - Method in class tripleplay.ui.HistoryGroup
-
Issues a request to scroll to the bottom of the list of history elements.
- scrollX(float) - Method in class tripleplay.ui.Scroller
-
Sets the left edge of the view area relative to that of the content.
- scrollY(float) - Method in class tripleplay.ui.Scroller
-
Sets the top edge of the view area relative to that of the content.
- SECURE_TEXT_ENTRY - Static variable in class tripleplay.ui.Field
-
Controls secure text entry on native text fields: typically this will mean dots or asterix displayed instead of the typed character.
- select() - Method in class tripleplay.ui.Tabs.Tab
-
Selects this tab.
- select(boolean) - Method in class tripleplay.ui.CheckBox
-
Updates the selected state of this checkbox.
- Select(T) - Constructor for class tripleplay.ui.Behavior.Select
- selected - Variable in class tripleplay.ui.Behavior.Toggle
-
Indicates whether our owner is selected.
- selected - Variable in class tripleplay.ui.Selector
-
The selected item.
- selected - Variable in enum class tripleplay.ui.Style.Mode
-
Whether the element is selected in this mode.
- selected - Variable in class tripleplay.ui.Tabs
-
The value containing the currently selected tab.
- selected() - Method in class tripleplay.ui.CheckBox
- selected() - Method in class tripleplay.ui.MenuItem
- selected() - Method in interface tripleplay.ui.Togglable
-
A value that reflects the current selection state and is updated when said state changes.
- selected() - Method in class tripleplay.ui.ToggleButton
- SELECTED - Enum constant in enum class tripleplay.ui.Style.Mode
- Selector - Class in tripleplay.ui
-
Maintains a single selected item among a specified set of
Element
instances. - Selector() - Constructor for class tripleplay.ui.Selector
-
Create a selector with a null initial selection.
- Selector(Elements<?>, Element<?>) - Constructor for class tripleplay.ui.Selector
-
Creates a selector containing the children of elements with initialSelection selected.
- sendSync(int, Map<String, String>) - Method in class tripleplay.syncdb.Protocol.NetServer
- sendSync(int, Map<String, String>) - Method in interface tripleplay.syncdb.Protocol.Server
-
Sends a sync request to the server, provides response via future.
- SERVER - Static variable in interface tripleplay.syncdb.Resolver
-
Uses the server value, ignoring the client value.
- SERVER - Static variable in interface tripleplay.syncdb.SetResolver
-
Uses the server set, ignoring all elements in the client set.
- Session(Protocol.Server) - Constructor for class tripleplay.syncdb.Protocol.Session
- set(float) - Method in interface tripleplay.anim.Animation.Value
-
Updates the value.
- set(float, float) - Method in interface tripleplay.anim.Animation.XYValue
-
Updates the x/y value.
- set(int) - Method in class tripleplay.util.BitVec
-
Sets the
value
th bit. - set(int, float) - Method in class tripleplay.entity.Component.FScalar
-
Updates the value of this component for
entityId
. - set(int, float, float) - Method in class tripleplay.entity.Component.XY
-
Updates the x/y components of the point for
entityId
. - set(int, float, float) - Method in class tripleplay.ui.util.Scale9.Axis
-
Sets the size and location of the given chunk, 0 - 2.
- set(int, int) - Method in class tripleplay.entity.Component.IMask
-
Updates the entire mask for
entityId
. - set(int, int) - Method in class tripleplay.entity.Component.IScalar
-
Updates the value of this component for
entityId
. - set(int, XY) - Method in class tripleplay.entity.Component.XY
-
Updates the x/y components of the point for
entityId
. - set(int, T) - Method in class tripleplay.entity.Component.Generic
-
Updates the value of this component for
entityId
. - set(int, Component.XY) - Method in class tripleplay.entity.Component.XY
-
Copies the value of
other
forentityId
to this component. - set(String, boolean) - Method in class tripleplay.util.TypedStorage
-
Sets the specified property to the supplied boolean value.
- set(String, double) - Method in class tripleplay.util.TypedStorage
-
Sets the specified property to the supplied double value.
- set(String, int) - Method in class tripleplay.util.TypedStorage
-
Sets the specified property to the supplied int value.
- set(String, long) - Method in class tripleplay.util.TypedStorage
-
Sets the specified property to the supplied long value.
- set(String, Enum<?>) - Method in class tripleplay.util.TypedStorage
-
Sets the specified property to the supplied enum value.
- set(String, String) - Method in class tripleplay.util.TypedStorage
-
Sets the specified property to the supplied string value.
- set(String, Logger.Level) - Method in class tripleplay.util.Logger.Levels
-
Configures the log level for messages with the supplied identifier.
- set(T) - Method in class tripleplay.util.Ref
-
Sets the current value of this reference, clearing any previously referenced object.
- set(Element<?>) - Method in class tripleplay.ui.Box
-
Updates the box's contents.
- set(BitVec) - Method in class tripleplay.util.BitVec
-
Copies the contents of
other
to this bit vector. - set(Logger, Logger.Level) - Method in class tripleplay.util.Logger.Levels
-
Configures the log level for messages from the supplied logger.
- setAbsorbsClicks(boolean) - Method in class tripleplay.ui.Root
-
By default, all clicks that fall within a root's bounds are dispatched to the root's layer if they do not land on an interactive child element.
- setAlive(int, boolean) - Method in class tripleplay.particle.ParticleBuffer
-
Sets the particle in question to alive or not.
- setAnd(int, int) - Method in class tripleplay.entity.Component.IMask
-
Sets the mask for
entityId
tocurrent & mask
. - setBehavior(Scroller.Behavior) - Method in class tripleplay.ui.Scroller
-
Sets the behavior of this scroller.
- setBounds(float, float, float, float) - Method in class tripleplay.ui.Root
-
Sets the size of this root element and its translation from its parent.
- setBounds(IRectangle) - Method in interface tripleplay.platform.NativeOverlay
-
Sets the bounds of the overlay, in root coordinates.
- setColor(int, float) - Method in class tripleplay.ui.ModalShadow
- setColors(int, int) - Method in class tripleplay.util.Hud
-
Configures the foreground and background colors.
- setConstraint(Layout.Constraint) - Method in class tripleplay.ui.Element
-
Configures the layout constraint on this element.
- setDefault(Logger.Level) - Method in class tripleplay.util.Logger.Levels
-
Configures the default log level.
- setDepth(Layer, float) - Method in class tripleplay.anim.AnimBuilder
-
Sets the specified layer's depth to the specified value.
- setDown(TileSource) - Method in class tripleplay.ui.ImageButton
-
Configures the image used in our down state.
- setElement(Element<?>) - Method in class tripleplay.ui.Layout.Constraint
-
Called by an element when it is configured with a constraint.
- setEnabled(boolean) - Method in class tripleplay.entity.Entity
-
Enables or disables this entity.
- setEnabled(boolean) - Method in class tripleplay.entity.System
-
Enables or disables this system.
- setEnabled(boolean) - Method in interface tripleplay.platform.NativeTextField
-
Sets the enabled state of the field.
- setEnabled(boolean) - Method in class tripleplay.ui.Element
-
Enables or disables this element.
- setEnabled(boolean) - Static method in class tripleplay.ui.util.ElementOp
-
Returns an element operation that enables or disables its elements.
- setFlag(int, int) - Method in class tripleplay.entity.Component.IMask
-
Sets
flag
in the mask forentityId
. - setFont(Font) - Method in class tripleplay.util.Hud
-
Configures the font used to display the HUD.
- setFor(String, Function<String, E>, Function<E, String>) - Method in class tripleplay.util.TypedStorage
-
Exposes the specified property as an
RSet
. - setFor(String, Function<String, E>, Function<E, String>, Set<E>) - Method in class tripleplay.util.TypedStorage
-
Exposes the specified property as an
RSet
usingimpl
as the concrete set implementation. - setIcon(Icon) - Method in class tripleplay.ui.AbstractTextButton
-
Updates the icon displayed by this button.
- setIcon(Icon) - Method in class tripleplay.ui.Label
-
Updates the icon displayed by this label.
- setImpl(Logger.Impl) - Static method in class tripleplay.util.Logger
-
Configures the logging back-end.
- setIncrement(float) - Method in class tripleplay.ui.Slider
-
Constrains the possible slider values to the given increment.
- setKeyboardFocusController(KeyboardFocusController) - Method in class tripleplay.platform.TPPlatform
-
Sets the instance of KeyboardFocusController to use for keyboard focus management, or null for none.
- setLayer(Layer, IRectangle) - Method in class tripleplay.gesture.GestureRegionDirector
- setLibrary(Library) - Method in class tripleplay.flump.MoviePlayer
-
Sets the library all further movies we load will come from.
- setLocation(float, float) - Method in class tripleplay.ui.Root
-
Configures the location of this root, relative to its parent layer.
- setMenuHost(MenuHost) - Method in class tripleplay.ui.Root
-
Sets this Root's menu host, allowing an application to more manage multiple roots with a single menu host.
- setNamedLayer(String, Instance) - Method in class tripleplay.flump.Movie
-
Replaces the instance on a named layer.
- setOr(int, int) - Method in class tripleplay.entity.Component.IMask
-
Sets the mask for
entityId
tocurrent | mask
. - setPage(int) - Method in class tripleplay.ui.PagedMenu
-
Sets the current page.
- setPauseDelay(int) - Method in class tripleplay.gesture.GestureDirector
-
Sets the number of milliseconds to wait after the last touch even to transition the current guestures to PAUSE.
- setPopupLabel(String) - Method in class tripleplay.ui.Field
-
Configures the label to be displayed when text is requested via a popup.
- setPosition(float) - Method in class tripleplay.flump.Movie
-
Changes the playback position.
- setPosition(float, float) - Method in interface tripleplay.ui.Scroller.Clippable
-
Sets the translation of the content, based on scroll bar positions.
- setPreferredSize(float, float) - Method in class tripleplay.ui.MenuItem
-
Sets the preferred size of the menu item.
- setRepeatAlignment(Style.HAlign) - Method in class tripleplay.ui.bgs.Scale9Background
-
Defines how the repeated parts are aligned horizontally when the repeatMode is turned on.
- setRepeatAlignment(Style.VAlign) - Method in class tripleplay.ui.bgs.Scale9Background
-
Defines how the repeated parts are aligned vertically when the repeatMode is turned on.
- setRepeatMode(boolean) - Method in class tripleplay.ui.bgs.Scale9Background
-
Controls wether the the extended parts are scaled or repeated.
- SetResolver - Interface in tripleplay.syncdb
-
Provides a mechanism for resolving conflict between two conflicting sets in a sync db.
- setScreenArea(IRectangle) - Method in class tripleplay.ui.MenuHost
-
Sets the area to which menus should be confined when there isn't any other associated bounds.
- setSize(float, float) - Method in class tripleplay.ui.CapturedRoot
- setSize(float, float) - Method in class tripleplay.ui.Root
-
Sets the size of this root element.
- setSize(IDimension) - Method in class tripleplay.ui.Root
-
Sets the size of this root element.
- setSource(Tile) - Method in class tripleplay.flump.Texture.Symbol
- setSpeed(float) - Method in class tripleplay.flump.Movie
-
Changes the playback speed multiplier.
- setStyles(Style.Binding<?>...) - Method in class tripleplay.ui.Element
-
Configures styles for this element (in the DEFAULT mode).
- setStyles(Styles) - Method in class tripleplay.ui.Element
-
Configures the styles for this element.
- setStylesheet(Stylesheet) - Method in class tripleplay.ui.Composite
-
Sets the stylesheet of this composite.
- setStylesheet(Stylesheet) - Method in class tripleplay.ui.Elements
-
Configures the stylesheet to be used by this group.
- setStylesheet(Stylesheet) - Method in class tripleplay.ui.MenuHost
-
Sets the stylesheet for menus popped by this host.
- setText(String) - Method in class tripleplay.ui.AbstractTextButton
-
Updates the text displayed by this button.
- setText(String) - Method in class tripleplay.ui.Label
-
Updates the text displayed by this label.
- setTint(int) - Method in class tripleplay.ui.bgs.Scale9Background
-
Sets the tint for this background, as
ARGB
. - setUp(TileSource) - Method in class tripleplay.ui.ImageButton
-
Configures the image used in our up state.
- setValue(Value<T>, T) - Method in class tripleplay.anim.AnimBuilder
-
Sets a value to the supplied constant.
- setVerticalGap(int) - Method in class tripleplay.ui.HistoryGroup
-
Sets the vertical gap between history elements.
- setViewArea(float, float) - Method in interface tripleplay.ui.Scroller.Clippable
-
Sets the size of the area the content should clip to.
- setVisible(boolean) - Method in class tripleplay.ui.Element
-
Configures whether this element is visible.
- setVisible(boolean) - Method in class tripleplay.ui.Field
- setVisible(boolean) - Method in class tripleplay.ui.Tabs.Tab
- setVisible(Layer, boolean) - Method in class tripleplay.anim.AnimBuilder
-
Sets the specified layer to visible or not.
- setVolume(float) - Method in class tripleplay.sound.Clip.Silence
- setVolume(float) - Method in class tripleplay.sound.Loop.Silence
- setVolume(float) - Method in interface tripleplay.sound.Playable
-
Configures the volume for this clip to a value between 0 and 1.
- setX(int, float) - Method in class tripleplay.entity.Component.XY
-
Updates the x component of the point for
entityId
. - setY(int, float) - Method in class tripleplay.entity.Component.XY
-
Updates the y component of the point for
entityId
. - ShaderUtil - Class in tripleplay.shaders
-
Shader related utility methods.
- ShaderUtil() - Constructor for class tripleplay.shaders.ShaderUtil
- shadow - Variable in class tripleplay.ui.Style.TextEffectStyle
- Shadow(int, float, float) - Constructor for class tripleplay.util.EffectRenderer.Shadow
- SHADOW - Enum constant in enum class tripleplay.ui.Style.TextEffect
-
Draws a shadow below and to the right of the text in the shadow color.
- SHADOW - Static variable in class tripleplay.ui.Style
-
The shadow color for an element.
- SHADOW_X - Static variable in class tripleplay.ui.Style
-
The shadow offset in pixels.
- SHADOW_Y - Static variable in class tripleplay.ui.Style
-
The shadow offset in pixels.
- shadowColor - Variable in class tripleplay.util.EffectRenderer.Shadow
- shadowX - Variable in class tripleplay.util.EffectRenderer.Shadow
- shadowY - Variable in class tripleplay.util.EffectRenderer.Shadow
- shake(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Creates a shake animation on the specified layer.
- Shake(Layer) - Constructor for class tripleplay.anim.Animation.Shake
- Shim - Class in tripleplay.ui
-
An invisible widget that simply requests a fixed amount of space.
- Shim(float, float) - Constructor for class tripleplay.ui.Shim
- Shim(IDimension) - Constructor for class tripleplay.ui.Shim
- shouldLog(Logger.Level) - Method in class tripleplay.util.Logger
-
Tests if this logger will output messages of the given level.
- shouldLog(Logger.Level, String) - Method in class tripleplay.util.Logger.Levels
-
Returns true if a message with the specified level and ident should be logged.
- showText(MenuItem.ShowText) - Method in class tripleplay.ui.MenuItem
-
Sets the text display mode for this menu item.
- showTransitionCompleted() - Method in class tripleplay.game.ScreenStack.Screen
-
Called when this screen's transition into view has completed.
- shuffle(List<T>) - Method in class tripleplay.util.Randoms
-
Shuffle the specified list using our Random.
- Silence() - Constructor for class tripleplay.sound.Clip.Silence
- Silence() - Constructor for class tripleplay.sound.Loop.Silence
- SimpleFrames - Class in tripleplay.util
-
A simple implementation of
Frames
that uses an untrimmed horizontal strip image. - SimpleFrames(Tile, float) - Constructor for class tripleplay.util.SimpleFrames
-
Creates an instance with the supplied source texture.
- SimpleFrames(Tile, float, float) - Constructor for class tripleplay.util.SimpleFrames
-
Creates an instance with the supplied source texture.
- SimpleFrames(TileSource, float, float, int) - Constructor for class tripleplay.util.SimpleFrames
-
Creates an instance with the supplied tile source.
- SimpleStyles - Class in tripleplay.ui
-
Provides a simple style sheet that is useful for development and testing.
- SimpleStyles() - Constructor for class tripleplay.ui.SimpleStyles
- SizableGroup - Class in tripleplay.ui
-
A group that allows configuring its preferred size.
- SizableGroup(Layout) - Constructor for class tripleplay.ui.SizableGroup
-
Creates the sizable group with preferred width and height of 0.
- SizableGroup(Layout, float, float) - Constructor for class tripleplay.ui.SizableGroup
-
Creates the sizable group with preferred width and height.
- SizableGroup(Layout, IDimension) - Constructor for class tripleplay.ui.SizableGroup
-
Creates the sizable group with the given preferred size.
- SizableWidget<T extends SizableWidget<T>> - Class in tripleplay.ui
-
A widget that allows configuring its preferred size.
- SizableWidget() - Constructor for class tripleplay.ui.SizableWidget
-
Creates the sizable widget with preferred width and height of 0.
- SizableWidget(float, float) - Constructor for class tripleplay.ui.SizableWidget
-
Creates the sizable widget with preferred width and height.
- SizableWidget(IDimension) - Constructor for class tripleplay.ui.SizableWidget
-
Creates the sizable widget with the given preferred size.
- size - Variable in class tripleplay.ui.Background.Instance
-
The size at which this instance was prepared.
- size - Variable in class tripleplay.ui.layout.AbsoluteLayout.Constraint
- size - Variable in class tripleplay.ui.layout.FlowLayout.Metrics
- size() - Method in class tripleplay.entity.IntBag
- size() - Method in interface tripleplay.entity.System.Entities
-
Returns the size of the active entities set.
- size() - Method in class tripleplay.game.ScreenSpace.Screen
-
Returns the size of this screen, for use by transitions.
- size() - Method in class tripleplay.game.ScreenStack.Screen
-
Returns the size of this screen.
- size() - Method in class tripleplay.game.ScreenStack
-
Returns the number of screens on the stack.
- size() - Method in class tripleplay.ui.Element
-
Returns the width and height of this element's bounds.
- size() - Method in class tripleplay.ui.Scroller.Bars
-
Space consumed by active scroll bars.
- size() - Method in class tripleplay.util.Bag
-
Returns the number of elements in this bag.
- size(int) - Method in class tripleplay.ui.util.Scale9.Axis
-
Returns the size of the given chunk, 0 - 2.
- sizeValue() - Method in class tripleplay.game.ScreenSpace.Screen
-
The size of this screen as a reactive value.
- sizeValue() - Method in class tripleplay.game.ScreenStack.Screen
-
The size of this screen as a reactive value.
- skew - Variable in class tripleplay.flump.KeyframeData
- skew - Variable in class tripleplay.flump.LibraryData.KeyframeData
- sleep() - Method in class tripleplay.game.ScreenSpace.Screen
-
Called when this screen is no longer at risk of being seen by the user.
- sleep() - Method in class tripleplay.game.ScreenSpace.UIScreen
- slide() - Method in class tripleplay.game.ScreenStack
-
Creates a slide transition.
- Slider - Class in tripleplay.ui
-
Displays a bar and a thumb that can be slid along the bar, representing a floating point value between some minimum and maximum.
- Slider() - Constructor for class tripleplay.ui.Slider
-
Constructs a new slider with empty range and zero value.
- Slider(float, float, float) - Constructor for class tripleplay.ui.Slider
- Slider.Range - Class in tripleplay.ui
-
Holds the minimum and maximum values for the slider.
- SlideTransition - Class in tripleplay.game.trans
-
Slides the old screen off, and the new screen on right behind.
- SlideTransition(ScreenStack) - Constructor for class tripleplay.game.trans.SlideTransition
- solid(int) - Static method in class tripleplay.ui.Background
-
Creates a solid background of the specified color.
- solid(int, float) - Static method in class tripleplay.ui.Icons
-
Creates a solid square icon of the given size.
- solid(int, float, float) - Static method in class tripleplay.util.Layers
-
Creates a layer that renders a simple rectangle of the given color, width and height.
- soundAction() - Method in class tripleplay.ui.Behavior
-
Emits the action sound for our owner, if one is configured.
- SoundBoard - Class in tripleplay.sound
-
Manages sound clips (sfx) and loops (music).
- SoundBoard(Platform, Signal<Clock>) - Constructor for class tripleplay.sound.SoundBoard
-
Creates a sound board which will play sounds via
plat
and connect topaint
to receive per-frame updates. - SOUTH - Static variable in class tripleplay.ui.layout.BorderLayout
-
Constraint to position an element along the bottom edge of its parent.
- span(Graphics, String, TextStyle) - Static method in class tripleplay.util.StyledText
-
Creates a uniformly formatted single-line of text.
- Span(Graphics, String, TextStyle) - Constructor for class tripleplay.util.StyledText.Span
- speed() - Method in class tripleplay.flump.Movie
-
The playback speed multiplier, defaults to 1.
- start() - Method in interface tripleplay.gesture.Gesture
-
Called at the start of a new user interaction, forcibly puts this gesture into the PASSIVE state.
- start() - Method in class tripleplay.gesture.GestureBase
- START - Enum constant in enum class tripleplay.gesture.GestureNode.Type
- started() - Method in interface tripleplay.gesture.Gesture
-
Dispatched if this gesture goes GREEDY.
- started() - Method in class tripleplay.gesture.GestureBase
- state() - Method in interface tripleplay.gesture.Gesture
-
Return the current gesture state.
- state() - Method in class tripleplay.gesture.GestureBase
- state() - Method in interface tripleplay.ui.Icon
-
A future which is completed when this icon has loaded.
- state() - Method in class tripleplay.ui.Icons.Aggregated
- State(Pointer.Interaction) - Constructor for class tripleplay.ui.Behavior.Track.State
-
Creates a new tracking state with the given starting press event.
- Stock(SceneGame) - Constructor for class tripleplay.util.Hud.Stock
- stop() - Method in class tripleplay.anim.Flicker
-
Stops any active movement of this flicker.
- stop() - Method in class tripleplay.sound.Clip.Silence
- stop() - Method in class tripleplay.sound.Loop.Silence
- stop() - Method in interface tripleplay.sound.Playable
-
Stops this clip or loop (fading it out over one second).
- stop(Sound) - Method in class tripleplay.anim.AnimBuilder
-
Stops the supplied sound from playing.
- stop(Playable) - Method in class tripleplay.anim.AnimBuilder
-
Stops the supplied clip or loop.
- stretch - Variable in class tripleplay.ui.layout.AxisLayout.Constraint
- stretch() - Method in class tripleplay.ui.layout.FlowLayout
-
Stretch elements vertically to the maximum height of other elements in the same row.
- stretch() - Method in class tripleplay.ui.layout.TableLayout.Column
-
Sets column to stretch the width of its elements to the column width.
- stretch(T) - Static method in class tripleplay.ui.layout.AxisLayout
-
Configures the supplied element with a
AxisLayout.stretched()
constraint. - stretch(T, float) - Static method in class tripleplay.ui.layout.AxisLayout
-
Configures the supplied element with a weighted
AxisLayout.stretched(float)
constraint. - STRETCH - Enum constant in enum class tripleplay.ui.layout.AxisLayout.Policy
- stretchByDefault() - Method in class tripleplay.ui.layout.AxisLayout
-
Configures the default constraint for elements added to this layout to be stretched.
- stretched() - Static method in class tripleplay.ui.layout.AxisLayout
-
Returns a layout constraint indicating that the associated element should be stretched to consume extra space, with weight 1.
- stretched() - Method in class tripleplay.ui.layout.BorderLayout.Constraint
-
Returns a new constraint specifying the same position as this, and with stretching.
- stretched(float) - Static method in class tripleplay.ui.layout.AxisLayout
-
Returns a layout constraint indicating that the associated element should be stretched to consume extra space, with the specified weight.
- STRING - Static variable in class tripleplay.syncdb.Codec
-
A codec for strings.
- style - Variable in class tripleplay.ui.Style.Binding
-
The style being configured.
- style - Variable in class tripleplay.util.StyledText.Plain
-
The stylings applied to this text.
- Style<V> - Class in tripleplay.ui
-
Defines style properties for interface elements.
- Style.Binding<V> - Class in tripleplay.ui
-
Used to configure
Styles
instances. - Style.EffectFactory - Interface in tripleplay.ui
-
Used to create text effects.
- Style.Flag - Class in tripleplay.ui
-
A Boolean style, with convenient members for on and off bindings.
- Style.GradientTypeStyle - Class in tripleplay.ui
- Style.HAlign - Enum Class in tripleplay.ui
-
Defines horizontal alignment choices.
- Style.HAlignStyle - Class in tripleplay.ui
-
Used to provide concise HAlign style declarations.
- Style.Mode - Enum Class in tripleplay.ui
-
Defines element modes which can be used to modify an element's styles.
- Style.Pos - Enum Class in tripleplay.ui
-
Defines icon position choices.
- Style.PosStyle - Class in tripleplay.ui
-
Used to provide concise Pos style declarations.
- Style.TextEffect - Enum Class in tripleplay.ui
-
Defines supported text effects.
- Style.TextEffectStyle - Class in tripleplay.ui
-
Used to provide concise TextEffect style declarations.
- Style.VAlign - Enum Class in tripleplay.ui
-
Defines vertical alignment choices.
- Style.VAlignStyle - Class in tripleplay.ui
-
Used to provide concise VAlign style declarations.
- StyledText - Class in tripleplay.util
-
Manages styled text.
- StyledText.Block - Class in tripleplay.util
-
Multiple lines of plain (uniformly styled) text.
- StyledText.Plain - Class in tripleplay.util
-
A shared base class for single- and multi-line plain text.
- StyledText.Span - Class in tripleplay.util
-
A single line of plain (uniformly styled) text.
- styles() - Method in class tripleplay.ui.Element
-
Returns the styles configured on this element.
- Styles - Class in tripleplay.ui
-
An immutable collection of styles.
- stylesheet() - Method in class tripleplay.ui.Box
- stylesheet() - Method in class tripleplay.ui.Composite
- stylesheet() - Method in class tripleplay.ui.Container
-
Returns the stylesheet associated with this container, or null.
- stylesheet() - Method in class tripleplay.ui.Elements
-
Returns the stylesheet configured for this group, or null.
- Stylesheet - Class in tripleplay.ui
-
Provides style defaults per element type for a sub-tree of the interface hierarchy.
- Stylesheet.Builder - Class in tripleplay.ui
-
Builds stylesheets, obtain via
Stylesheet.builder()
. - subDB(String) - Static method in class tripleplay.syncdb.DBUtil
-
Extracts and returns the subdb prefix from the supplied fully-qualified key.
- SUBDB_KEY_SEP - Static variable in class tripleplay.syncdb.DBUtil
-
The separator used in a subdb key.
- subDBKey(String, String) - Static method in class tripleplay.syncdb.DBUtil
-
Computes the storage (fully qualified) key for the supplied subdb property key.
- subtractFrom(Dimension) - Method in class tripleplay.ui.util.Insets
-
Adds these insets from the supplied dimensions.
- Supplier - Class in tripleplay.ui.util
-
Supplies elements.
- Supplier() - Constructor for class tripleplay.ui.util.Supplier
- Swipe - Class in tripleplay.gesture
-
A simple swipe gesture in a given cardinal direction.
- Swipe(int, Gesture.Direction) - Constructor for class tripleplay.gesture.Swipe
- Swipe(Gesture.Direction) - Constructor for class tripleplay.gesture.Swipe
- symbol - Variable in class tripleplay.flump.LibraryData.TextureData
- symbol() - Method in class tripleplay.flump.KeyframeData
-
The symbol on this keyframe, if any.
- symbol() - Method in class tripleplay.flump.Movie
- symbol() - Method in class tripleplay.flump.Texture
- Symbol - Interface in tripleplay.flump
-
Defines a Flump symbol.
- Symbol(String, IPoint, Tile) - Constructor for class tripleplay.flump.Texture.Symbol
- symbols - Variable in class tripleplay.flump.Library
-
The symbols defined in this library.
- symmetric(float, float) - Static method in class tripleplay.ui.util.Insets
-
Returns a read-only instance with left and right set to one value and top and bottom set to another.
- sync(SyncDB) - Method in class tripleplay.syncdb.Protocol.Session
-
Syncs the supplied database with this session's server.
- SyncDB - Class in tripleplay.syncdb
-
A database of key/value pairs that is synced (via a server) across multiple devices.
- System - Class in tripleplay.entity
-
Handles a single concern in an entity-based game.
- System.Entities - Interface in tripleplay.entity
-
Provides a way to iterate over this system's active entities.
T
- Tab(ToggleButton, Supplier) - Constructor for class tripleplay.ui.Tabs.Tab
-
Creates a new tab with the supplied fields.
- tabAt(int) - Method in class tripleplay.ui.Tabs
-
Gets the tab at the given index, or null if the index is out of range.
- tabCount() - Method in class tripleplay.ui.Tabs
-
Gets the number of tabs.
- TableLayout - Class in tripleplay.ui.layout
-
Lays out elements in a simple tabular form, where each row has uniform height.
- TableLayout(int) - Constructor for class tripleplay.ui.layout.TableLayout
-
Creates a table layout with the specified number of columns, each with the default configuration.
- TableLayout(TableLayout.Column...) - Constructor for class tripleplay.ui.layout.TableLayout
-
Creates a table layout with the specified columns.
- TableLayout.Colspan - Class in tripleplay.ui.layout
-
Defines a colspan constraint.
- TableLayout.Column - Class in tripleplay.ui.layout
-
A configurator for a table column.
- Tabs - Class in tripleplay.ui
-
A
Composite
that implements tabbing. - Tabs() - Constructor for class tripleplay.ui.Tabs
-
Creates a new tabbed container.
- Tabs.Highlighter - Interface in tripleplay.ui
-
Defines the highlighting of a tab.
- Tabs.Tab - Class in tripleplay.ui
-
Represents a tab: button and content.
- Tap - Class in tripleplay.gesture
-
A simple touch gesture.
- Tap() - Constructor for class tripleplay.gesture.Tap
- Tap(int) - Constructor for class tripleplay.gesture.Tap
- Tapper - Class in tripleplay.util
-
Detects taps on a layer.
- Tapper() - Constructor for class tripleplay.util.Tapper
- target() - Method in class tripleplay.game.ScreenSpace
-
Returns the target screen in the current transition, or null.
- text - Variable in class tripleplay.ui.AbstractTextButton
-
The text displayed by this button, or null.
- text - Variable in class tripleplay.ui.Field
-
The text displayed by this widget.
- text - Variable in class tripleplay.ui.Label
-
The text displayed by this widget, or null.
- text - Variable in class tripleplay.ui.MenuItem
-
The text shown.
- text - Variable in class tripleplay.ui.ValueLabel
-
Deprecated.The source for the text of this label.
- text - Variable in class tripleplay.util.StyledText.Plain
-
The text being rendered.
- TEXT_EFFECT - Static variable in class tripleplay.ui.Style
-
The effect to use when rendering text, if any.
- TEXT_TYPE - Static variable in class tripleplay.ui.Field
-
Sets the Keyboard.TextType in use by this Field.
- TEXT_WRAP - Static variable in class tripleplay.ui.Style
-
Whether or not to allow text to wrap.
- textColor - Variable in class tripleplay.util.TextStyle
-
The color used to render the text.
- textColorHighlighter(int, int) - Static method in class tripleplay.ui.Tabs
-
Creates a highlighter that will simply change the button's text color.
- TextConstraint() - Constructor for class tripleplay.ui.Constraints.TextConstraint
- TextStyle - Class in tripleplay.util
-
Describes everything needed to style a particular run of text.
- TextStyle(Font, boolean, int, EffectRenderer, boolean) - Constructor for class tripleplay.util.TextStyle
-
Creates a text style with the specified configuration.
- texture() - Method in class tripleplay.ui.CapturedRoot
-
Gets the texture into which the root is rendered.
- Texture - Class in tripleplay.flump
- Texture.Symbol - Class in tripleplay.flump
- TextureData(DataInputStream) - Constructor for class tripleplay.flump.LibraryData.TextureData
- TextureData(Json.Object) - Constructor for class tripleplay.flump.LibraryData.TextureData
- TexturePacker - Class in tripleplay.util
-
A runtime texture packer.
- TexturePacker() - Constructor for class tripleplay.util.TexturePacker
- TexturePacker.Renderer - Interface in tripleplay.util
- textures - Variable in class tripleplay.flump.LibraryData.AtlasData
- TextWidget<T extends TextWidget<T>> - Class in tripleplay.ui
-
An abstract base class for widgets that contain text.
- TextWidget() - Constructor for class tripleplay.ui.TextWidget
- then() - Method in class tripleplay.anim.Animation.Repeat
- then() - Method in class tripleplay.anim.Animation
-
Returns a builder for constructing an animation that will be queued up for execution when the current animation completes.
- THUMB_IMAGE - Static variable in class tripleplay.ui.Slider
-
The image to use for the slider thumb.
- THUMB_ORIGIN - Static variable in class tripleplay.ui.Slider
-
The origin of the thumb image (used to center the thumb image over the tray).
- tile - Variable in class tripleplay.flump.Texture.Symbol
- tiled(Texture) - Static method in class tripleplay.ui.Background
-
Creates a tiled background with the specified texture.
- Timer - Class in tripleplay.util
-
Handles execution of actions after a specified delay.
- Timer() - Constructor for class tripleplay.util.Timer
-
Creates a timer instance that can be used to schedule actions.
- Timer.Handle - Interface in tripleplay.util
-
A handle on registered actions that can be used to cancel them.
- timestamp - Variable in class tripleplay.gesture.GestureNode
-
A timestamp for this node.
- TL - Static variable in class tripleplay.ui.util.BoxPoint
-
The top left corner.
- to(float) - Method in class tripleplay.anim.Animation.One
-
Configures the ending value.
- to(float, float) - Method in class tripleplay.anim.Animation.Two
-
Configures the ending values.
- to(XY) - Method in class tripleplay.anim.Animation.Two
-
Configures the ending values.
- toAnim() - Method in class tripleplay.anim.AnimGroup
-
Returns a single animation that will execute all of the animations in this group to completion (in parallel) and will report itself as complete when the final animation in the group is complete.
- toCanvas() - Method in class tripleplay.util.StyledText
-
Creates a canvas large enough to accommodate this styled text, and renders it therein.
- Togglable<T extends Element<?>> - Interface in tripleplay.ui
-
Implemented by
Element
s that expose a selected state and can be clicked. - Toggle(T) - Constructor for class tripleplay.ui.Behavior.Toggle
- ToggleButton - Class in tripleplay.ui
-
A toggle button that displays text, or an icon, or both.
- ToggleButton() - Constructor for class tripleplay.ui.ToggleButton
-
Creates a button with no text or icon.
- ToggleButton(String) - Constructor for class tripleplay.ui.ToggleButton
-
Creates a button with the supplied text.
- ToggleButton(String, Icon) - Constructor for class tripleplay.ui.ToggleButton
-
Creates a button with the supplied text and icon.
- ToggleButton(Icon) - Constructor for class tripleplay.ui.ToggleButton
-
Creates a button with the supplied icon.
- toJson(Json) - Method in class tripleplay.flump.LibraryData.AtlasData
- toJson(Json) - Method in class tripleplay.flump.LibraryData.KeyframeData
- toJson(Json) - Method in class tripleplay.flump.LibraryData.LayerData
- toJson(Json) - Method in class tripleplay.flump.LibraryData.MovieData
- toJson(Json) - Method in class tripleplay.flump.LibraryData.TextureData
- toJson(Json) - Method in class tripleplay.flump.LibraryData
- toLayer() - Method in class tripleplay.util.StyledText
-
Creates an image large enough to accommodate this styled text, renders it therein and returns an image layer with its translation adjusted per the effect renderer.
- toLayer(ImageLayer) - Method in class tripleplay.util.StyledText.Plain
- toLayer(ImageLayer) - Method in class tripleplay.util.StyledText
-
Creates an image large enough to accommodate this styled text, renders it therein and applies it to
layer
, adjusting its translation per the effect renderer. - top - Variable in class tripleplay.ui.Style.GradientTypeStyle
- top - Variable in class tripleplay.ui.Style.VAlignStyle
- top() - Method in class tripleplay.game.ScreenStack
-
Returns the top screen on the stack, or null if the stack contains no screens.
- top() - Method in class tripleplay.ui.util.BoxPoint
-
Creates a new box point that is equivalent to this one except with a y coordinate that will resolve to the top edge of the box.
- top() - Method in class tripleplay.ui.util.Insets
-
Gets the top inset.
- top(float) - Method in class tripleplay.ui.util.Insets.Mutable
-
Sets the top edge and returns
this
for chaining. - TOP - Enum constant in enum class tripleplay.ui.Style.VAlign
- TOP - Enum constant in enum class tripleplay.util.EffectRenderer.Gradient.Type
-
Gradient color on top.
- toString() - Method in class tripleplay.anim.Animation.One
- toString() - Method in class tripleplay.anim.Animation
- toString() - Method in class tripleplay.entity.Component
- toString() - Method in class tripleplay.entity.Entity
- toString() - Method in class tripleplay.entity.IntBag
- toString() - Method in class tripleplay.game.ScreenSpace.Screen
- toString() - Method in class tripleplay.ui.Button
- toString() - Method in class tripleplay.ui.CheckBox
- toString() - Method in class tripleplay.ui.ImageButton
- toString() - Method in class tripleplay.ui.Label
- toString() - Method in class tripleplay.ui.ToggleButton
- toString() - Method in class tripleplay.ui.util.Insets
- toString() - Method in class tripleplay.ui.ValueLabel
-
Deprecated.
- toString() - Method in class tripleplay.util.Bag
- toString() - Method in class tripleplay.util.BitVec
- toString() - Method in class tripleplay.util.StyledText.Block
- toString() - Method in class tripleplay.util.StyledText.Span
- toString(Platform, Json.Object, boolean) - Static method in class tripleplay.util.JsonUtil
- totalBounds(Layer) - Static method in class tripleplay.util.Layers
-
Computes the total bounds of the layer hierarchy rooted at
root
. - touch - Variable in class tripleplay.gesture.GestureNode
-
The touch event for this node.
- TouchBars(Scroller, int, float, float, float) - Constructor for class tripleplay.ui.Scroller.TouchBars
- touchInBounds(Touch.Interaction) - Method in class tripleplay.gesture.GestureDirector
- TPPlatform - Class in tripleplay.platform
-
The entry point for per-platform services made available by TriplePlay.
- TPPlatform() - Constructor for class tripleplay.platform.TPPlatform
- TR - Static variable in class tripleplay.ui.util.BoxPoint
-
The top right corner.
- trackingTouch(Touch.Event) - Method in class tripleplay.gesture.GestureDirector
- transform(String) - Method in class tripleplay.ui.Field.Native
-
Transforms the given text.
- transform(String) - Method in interface tripleplay.ui.Field.Transformer
-
Transform the specified text.
- transform(IPoint, Layer, Layer) - Static method in class tripleplay.util.Layers
-
Transforms a point from one Layer's coordinate system to another's.
- transform(IPoint, Layer, Layer, Point) - Static method in class tripleplay.util.Layers
-
Transforms a point from one Layer's coordinate system to another's.
- Transform - Class in tripleplay.particle.init
-
Initializers for a particle's transform (scale, rotation and position).
- Transform() - Constructor for class tripleplay.particle.init.Transform
- TRANSFORMER - Static variable in class tripleplay.ui.Field
-
Sets the transformner to use when updating native text fields while being typed into.
- transiting() - Method in class tripleplay.game.ScreenSpace.Screen
-
Returns true when this screen is in-transition.
- transition(Element<?>, Box.Trans) - Method in class tripleplay.ui.Box
-
Performs an animated transition from the box's current contents to
contents
. - Transition() - Constructor for class tripleplay.game.ScreenStack.Transition
- transitionTime() - Method in class tripleplay.game.ScreenSpace.Dir
-
Returns the duration of this transition (in millis).
- transPct() - Method in class tripleplay.game.ScreenSpace
-
Returns the degree of completeness (
[0,1]
) of any in-progress transition, or 0. - trigger - Variable in class tripleplay.ui.MenuHost.Pop
-
The element that triggered the popup.
- TRIGGER_POINT - Static variable in class tripleplay.ui.MenuHost
-
The point on an element where menus should be placed, subject to boundary constraints.
- triggered() - Method in class tripleplay.ui.MenuItem
-
Gets the signal that dispatches when a menu item is triggered.
- tripleplay.anim - package tripleplay.anim
- tripleplay.entity - package tripleplay.entity
- tripleplay.flump - package tripleplay.flump
- tripleplay.game - package tripleplay.game
- tripleplay.game.trans - package tripleplay.game.trans
- tripleplay.gesture - package tripleplay.gesture
- tripleplay.particle - package tripleplay.particle
- tripleplay.particle.effect - package tripleplay.particle.effect
- tripleplay.particle.init - package tripleplay.particle.init
- tripleplay.platform - package tripleplay.platform
- tripleplay.shaders - package tripleplay.shaders
- tripleplay.sound - package tripleplay.sound
- tripleplay.syncdb - package tripleplay.syncdb
- tripleplay.ui - package tripleplay.ui
- tripleplay.ui.bgs - package tripleplay.ui.bgs
- tripleplay.ui.layout - package tripleplay.ui.layout
- tripleplay.ui.util - package tripleplay.ui.util
- tripleplay.util - package tripleplay.util
- TRUE - Static variable in interface tripleplay.syncdb.Resolver
-
Uses whichever of the client or server is true.
- tween(Animation.Value) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween using the supplied custom value.
- tween(Animation.XYValue) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween using the supplied custom X/Y value.
- tweenAlpha(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween on the supplied layer's transparency.
- tweened - Variable in class tripleplay.flump.KeyframeData
- tweened - Variable in class tripleplay.flump.LibraryData.KeyframeData
- tweenOrigin(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween on the supplied layer's origin.
- tweenRotation(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween on the supplied layer's rotation.
- tweenScale(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween on the supplied layer's x/y-scale.
- tweenScaleX(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween on the supplied layer's x-scale.
- tweenScaleXY(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween on the supplied layer's x/y-scale.
- tweenScaleY(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween on the supplied layer's y-scale.
- tweenTranslation(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween on the supplied layer's x/y-translation.
- tweenVolume(Sound) - Method in class tripleplay.anim.AnimBuilder
-
Tweens the volume of the supplied sound.
- tweenVolume(Playable) - Method in class tripleplay.anim.AnimBuilder
-
Tweens the volume of the supplied playable.
- tweenX(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween on the supplied layer's x-translation.
- tweenXY(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween on the supplied layer's x/y-translation.
- tweenY(Layer) - Method in class tripleplay.anim.AnimBuilder
-
Starts a tween on the supplied layer's y-translation.
- Two(Animation.XYValue) - Constructor for class tripleplay.anim.Animation.Two
- TX - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the tx transform element in the particle buffer.
- TY - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the ty transform element in the particle buffer.
- type - Variable in class tripleplay.gesture.GestureNode
-
The state change that caused the registration of this node.
- TypedStorage - Class in tripleplay.util
-
Makes using PlayN
Storage
more civilized. - TypedStorage(Log, Storage) - Constructor for class tripleplay.util.TypedStorage
U
- UIScreen(Game) - Constructor for class tripleplay.game.ScreenStack.UIScreen
- UNDERLINE - Static variable in class tripleplay.ui.Style
-
Whether or not to underline text.
- underlined - Variable in class tripleplay.util.TextStyle
-
Whether or not the text is underlined.
- unflip() - Method in class tripleplay.game.trans.FlipTransition
-
Reverses this transition, making it flip the other direction.
- unfocusForEnter() - Method in interface tripleplay.platform.KeyboardFocusController
-
Called each time a field has the return key pressed.
- unfocusForLocation(Point) - Method in interface tripleplay.platform.KeyboardFocusController
-
Return true if the keyboard focus should be relinquished for a pointer that starts at the given location.
- uniform(float) - Static method in class tripleplay.ui.util.Insets
-
Returns a read-only instance with all edges set to the same value.
- uniform(BoxPoint) - Static method in class tripleplay.ui.layout.AbsoluteLayout
-
Creates a constraint to position an element uniformly.
- UNION - Static variable in interface tripleplay.syncdb.SetResolver
-
Uses the union of the client and server sets.
- UNQUALIFIED - Enum constant in enum class tripleplay.gesture.Gesture.State
-
The current user action does not trigger this gesture, or a greedy gesture has superceded this gesture's evaluation.
- unstretched() - Method in class tripleplay.ui.layout.BorderLayout.Constraint
-
Returns a new constraint specifying the same position as this, and with no stretching.
- untransDir() - Method in class tripleplay.game.ScreenSpace.Dir
-
Returns the direction to use when untransing from this dir.
- up() - Method in class tripleplay.game.trans.SlideTransition
- UP - Enum constant in enum class tripleplay.game.ScreenStack.Transition.Dir
- UP - Enum constant in enum class tripleplay.gesture.Gesture.Direction
- UP - Static variable in class tripleplay.game.ScreenSpace
- update - Variable in class tripleplay.game.ScreenSpace.Screen
-
A signal emitted on every simulation update, while this screen is showing.
- update - Variable in class tripleplay.game.ScreenStack.Screen
-
A signal emitted on every simulation update, while this screen is showing.
- update() - Method in class tripleplay.util.Hud
-
Updates the HUDs rendered image.
- update(float) - Method in class tripleplay.ui.Scroller.Bars
-
Updates the scroll bars' time based animation, if any, after the given time delta.
- update(float) - Method in class tripleplay.ui.Scroller.TouchBars
- update(float) - Method in class tripleplay.ui.util.XYFlicker
- update(float, float) - Method in class tripleplay.util.DimensionValue
-
Updates the value to a new dimension of the given width and height.
- update(Clock) - Method in class tripleplay.entity.World
-
Updates all of the
System
s in this world. - update(Pointer.Interaction) - Method in class tripleplay.ui.Behavior.Track.State
-
Updates the state to the current event value and called
Behavior.Track.onTrack(pythagoras.f.Point, pythagoras.f.Point)
. - update(ScreenSpace.Screen, ScreenSpace.Screen, float) - Method in class tripleplay.game.ScreenSpace.Dir
-
Updates the position of
oscreen
andnscreen
based onpct
. - update(ScreenStack.Screen, ScreenStack.Screen, float) - Method in class tripleplay.game.ScreenStack.Transition
-
Called every frame to update the transition
- update(ScreenStack.Screen, ScreenStack.Screen, float) - Method in class tripleplay.game.trans.FadeTransition
- update(ScreenStack.Screen, ScreenStack.Screen, float) - Method in class tripleplay.game.trans.FlipTransition
- update(ScreenStack.Screen, ScreenStack.Screen, float) - Method in class tripleplay.game.trans.PageTurnTransition
- update(ScreenStack.Screen, ScreenStack.Screen, float) - Method in class tripleplay.game.trans.SlideTransition
- updateHeight(float) - Method in class tripleplay.util.DimensionValue
-
Updates the value to a new dimension with the current width and the given height.
- updateNativeFieldBounds() - Method in class tripleplay.ui.Field
-
Forcibly notify the NativeTextField backing this field that its screen position has changed.
- updatePosition() - Method in class tripleplay.ui.Scroller.Bars
-
Updates the scroll bars' positions.
- updatePosition() - Method in class tripleplay.ui.Scroller.TouchBars
- updateView() - Method in class tripleplay.ui.Scroller.Bars
-
Updates the scroll bars to match the current view and content size.
- updateWidth(float) - Method in class tripleplay.util.DimensionValue
-
Updates the value to a new dimension with the current height and the given width.
- using(Interpolator) - Method in class tripleplay.anim.Animation.Interped
-
Uses the supplied interpolator for this animation.
V
- validate() - Method in class tripleplay.ui.Root
-
Applies the root size to all descendants.
- validated - Variable in class tripleplay.ui.Root
-
A signal emitted when this root is validated.
- VALIDATOR - Static variable in class tripleplay.ui.Field
-
Sets the validator to use when censoring keypresses into native text fields.
- valign(Style.VAlign) - Method in class tripleplay.ui.util.BoxPoint
-
Creates a new box point that is equivalent to this one except with the given y alignment.
- VALIGN - Static variable in class tripleplay.ui.Style
-
The vertical alignment of an element.
- value - Variable in class tripleplay.ui.Slider
-
The value of the slider.
- value - Variable in class tripleplay.ui.Style.Binding
-
The value to be bound for the style.
- valueFor(String, boolean) - Method in class tripleplay.util.TypedStorage
-
Exposes the specified property as a
Value
. - valueFor(String, double) - Method in class tripleplay.util.TypedStorage
-
Exposes the specified property as a
Value
. - valueFor(String, int) - Method in class tripleplay.util.TypedStorage
-
Exposes the specified property as an
IntValue
. - valueFor(String, long) - Method in class tripleplay.util.TypedStorage
-
Exposes the specified property as a
Value
. - valueFor(String, E) - Method in class tripleplay.util.TypedStorage
-
Exposes the specified property as a
Value
. - valueFor(String, String) - Method in class tripleplay.util.TypedStorage
-
Exposes the specified property as a
Value
. - ValueLabel - Class in tripleplay.ui
-
Deprecated.
- ValueLabel(ValueView<?>) - Constructor for class tripleplay.ui.ValueLabel
-
Deprecated.Creates a label with the supplied value.
- valueOf(String) - Static method in enum class tripleplay.game.ScreenStack.Transition.Dir
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.gesture.Gesture.Direction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.gesture.Gesture.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.gesture.GestureNode.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.ui.Element.Take
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.ui.layout.AxisLayout.Policy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.ui.MenuItem.ShowText
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.ui.Scroller.Behavior
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.ui.Style.HAlign
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.ui.Style.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.ui.Style.Pos
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.ui.Style.TextEffect
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.ui.Style.VAlign
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.util.EffectRenderer.Gradient.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tripleplay.util.Logger.Level
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class tripleplay.game.ScreenStack.Transition.Dir
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.gesture.Gesture.Direction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.gesture.Gesture.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.gesture.GestureNode.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.ui.Element.Take
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.ui.layout.AxisLayout.Policy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.ui.MenuItem.ShowText
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.ui.Scroller.Behavior
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.ui.Style.HAlign
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.ui.Style.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.ui.Style.Pos
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.ui.Style.TextEffect
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.ui.Style.VAlign
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.util.EffectRenderer.Gradient.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tripleplay.util.Logger.Level
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VECTOR_OUTLINE - Enum constant in enum class tripleplay.ui.Style.TextEffect
-
Outlines the text in the highlight color.
- vectorOutline - Variable in class tripleplay.ui.Style.TextEffectStyle
- VectorOutline(int, float) - Constructor for class tripleplay.util.EffectRenderer.VectorOutline
- VectorOutline(int, float, Canvas.LineCap, Canvas.LineJoin) - Constructor for class tripleplay.util.EffectRenderer.VectorOutline
- VEL_X - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the x coordinate of the velocity in the particle buffer.
- VEL_Y - Static variable in class tripleplay.particle.ParticleBuffer
-
The offset of the y coordinate of the velocity in the particle buffer.
- Velocity - Class in tripleplay.particle.init
-
Initializers for a particle's velocity.
- Velocity() - Constructor for class tripleplay.particle.init.Velocity
- version - Variable in class tripleplay.syncdb.Protocol.Request
-
The latest version with which the client has synced.
- version - Variable in class tripleplay.syncdb.Protocol.Response
-
The latest server version.
- version() - Method in class tripleplay.syncdb.SyncDB
-
Returns the version at which this database was last synced.
- vertComp() - Method in class tripleplay.game.ScreenSpace.Dir
-
Returns the vertical motion of this direction: 1, 0 or -1.
- vertical() - Static method in class tripleplay.ui.layout.AxisLayout
-
Creates a vertical axis layout with default gap (5), and off-axis sizing policy (preferred size).
- Vertical() - Constructor for class tripleplay.ui.layout.AxisLayout.Vertical
- VERTICAL - Enum constant in enum class tripleplay.ui.Scroller.Behavior
- vgap - Variable in class tripleplay.ui.layout.BorderLayout
-
The vertical gap between components.
- viewChanged(IDimension, IDimension) - Method in interface tripleplay.ui.Scroller.Listener
-
Notifies this listener of changes to the content size or scroll size.
- viewSize() - Method in class tripleplay.ui.Scroller.Range
-
Gets the size of the view along this scroll bar's axis.
- viewSize() - Method in class tripleplay.ui.Scroller
-
Gets the size of the view which renders some portion of the content.
- visible - Variable in class tripleplay.flump.KeyframeData
- visible - Variable in class tripleplay.flump.LibraryData.KeyframeData
- visibleSlot() - Method in class tripleplay.ui.Element
-
Returns a slot which can be used to wire the visible status of this element to a
Signal
orValue
. - volume - Variable in class tripleplay.sound.SoundBoard
-
Controls the volume of this sound board.
- volume() - Method in class tripleplay.sound.Clip.Silence
- volume() - Method in class tripleplay.sound.Loop.Silence
- volume() - Method in interface tripleplay.sound.Playable
-
Returns the current volume configured for this clip.
- vrange - Variable in class tripleplay.ui.Scroller
-
Scroll ranges.
W
- wake() - Method in class tripleplay.game.ScreenSpace.Screen
-
Called when this screen will potentially be shown.
- wake() - Method in class tripleplay.game.ScreenSpace.UIScreen
- warning(String, Object...) - Method in class tripleplay.util.Logger
-
Logs a warning message.
- WARNING - Enum constant in enum class tripleplay.util.Logger.Level
- wasAdded() - Method in class tripleplay.game.ScreenStack.Screen
-
Called when a screen is added to the screen stack for the first time.
- wasHidden() - Method in class tripleplay.game.ScreenStack.Screen
-
Called when a screen is no longer the top screen (having either been pushed down by another screen, or popped off the stack).
- wasHidden() - Method in class tripleplay.game.ScreenStack.UIScreen
- wasRemoved() - Method in class tripleplay.game.ScreenStack.Screen
-
Called when a screen has been removed from the stack.
- wasShown() - Method in class tripleplay.game.ScreenStack.Screen
-
Called when a screen becomes the top screen, and is therefore made visible.
- weight - Variable in class tripleplay.ui.layout.AxisLayout.Constraint
- WEST - Static variable in class tripleplay.ui.layout.BorderLayout
-
Constraint to position an element along the right edge of its parent.
- WHEN_ACTIVE - Enum constant in enum class tripleplay.ui.MenuItem.ShowText
- WHITE - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- Widget<T extends Widget<T>> - Class in tripleplay.ui
-
The base class for all user interface widgets.
- width() - Method in interface tripleplay.ui.Icon
-
Returns the width of this icon.
- width() - Method in class tripleplay.ui.Icons.Aggregated
- width() - Method in class tripleplay.ui.ModalShadow
- width() - Method in class tripleplay.ui.util.Insets
-
Returns the total adjustment to width.
- width() - Method in interface tripleplay.util.Frames
-
Returns the width of a logical frame.
- width() - Method in class tripleplay.util.PackedFrames
- width() - Method in class tripleplay.util.SimpleFrames
- width() - Method in class tripleplay.util.StyledText.Block
- width() - Method in class tripleplay.util.StyledText.Span
- width() - Method in class tripleplay.util.StyledText
-
The width of this styled text when rendered.
- willInit(int) - Method in class tripleplay.particle.Initializer
-
Called just before an initializer is used to initialize one or more particles.
- with(Random) - Static method in class tripleplay.util.Randoms
-
A factory to create a new Randoms object.
- withAntialias(boolean) - Method in class tripleplay.util.TextStyle
- withDispose(Supplier) - Static method in class tripleplay.ui.util.Supplier
-
Creates a supplier that wraps another supplier and on dispose also disposes the created element, if it implements
Closeable
. - withEffect(EffectRenderer) - Method in class tripleplay.util.TextStyle
-
Returns a copy of this text style with the effect configured as
effect
. - withFont(Font) - Method in class tripleplay.util.TextStyle
- withOutline(int) - Method in class tripleplay.util.TextStyle
-
Returns a copy of this text style with a pixel outline text effect.
- withOutline(int, float) - Method in class tripleplay.util.TextStyle
-
Returns a copy of this text style with a vector outline text effect.
- withShadow(int, float, float) - Method in class tripleplay.util.TextStyle
-
Returns a copy of this text style with a shadow text effect.
- withTextColor(int) - Method in class tripleplay.util.TextStyle
-
Returns a copy of this text style with the color configured as
textColor
. - withUnderline(boolean) - Method in class tripleplay.util.TextStyle
-
Returns a copy of this text style with (or without) underlining.
- world - Variable in class tripleplay.entity.Component
-
The world in which this component exists.
- world - Variable in class tripleplay.entity.Entity
-
The world to which this entity belongs.
- world - Variable in class tripleplay.entity.System
-
The world of which this system is a part.
- World - Class in tripleplay.entity
-
A collection of entities and systems.
- World() - Constructor for class tripleplay.entity.World
- wrap - Variable in class tripleplay.util.StyledText.Block
-
The text wrap configuration, unused if not wrapping.
- wrapAt(float) - Method in class tripleplay.ui.layout.FlowLayout
-
Sets the maximum width of a row of elements.
- write(DataOutputStream) - Method in class tripleplay.flump.LibraryData.AtlasData
- write(DataOutputStream) - Method in class tripleplay.flump.LibraryData.KeyframeData
- write(DataOutputStream) - Method in class tripleplay.flump.LibraryData.LayerData
- write(DataOutputStream) - Method in class tripleplay.flump.LibraryData.MovieData
- write(DataOutputStream) - Method in class tripleplay.flump.LibraryData.TextureData
- write(DataOutputStream) - Method in class tripleplay.flump.LibraryData
- writeInt(int) - Method in class tripleplay.syncdb.Protocol.PayloadWriter
- writeString(String) - Method in class tripleplay.syncdb.Protocol.PayloadWriter
X
- x() - Method in class tripleplay.ui.Element
-
Returns this element's x offset relative to its parent.
- xaxis - Variable in class tripleplay.ui.util.Scale9
-
The axes of the 3x3 grid.
- xborder(float) - Method in class tripleplay.ui.bgs.Scale9Background
-
Sets the width of the left and right edges of the source axes to the given value.
- xpos() - Method in class tripleplay.ui.Scroller
-
Returns the offset of the left edge of the view area relative to that of the content.
- XY(World) - Constructor for class tripleplay.entity.Component.XY
- XYFlicker - Class in tripleplay.ui.util
-
Translates pointer input on a layer into an x, y offset.
- XYFlicker(Layer) - Constructor for class tripleplay.ui.util.XYFlicker
Y
- y() - Method in class tripleplay.ui.Element
-
Returns this element's y offset relative to its parent.
- yaxis - Variable in class tripleplay.ui.util.Scale9
-
The axes of the 3x3 grid.
- yborder(float) - Method in class tripleplay.ui.bgs.Scale9Background
-
Sets the height of the top and bottom edges of the source axes to the given value.
- YELLOW - Static variable in class tripleplay.util.Colors
-
Named versions of commonly used colors.
- ypos() - Method in class tripleplay.ui.Scroller
-
Returns the offset of the top edge of the view area relative to that of the content.
Z
- ZERO - Static variable in class tripleplay.ui.util.Insets
-
Read-only instance with zero for all edges.
All Classes and Interfaces|All Packages|Constant Field Values
Label(ValueView)
.