|
PulpCore | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Sprite | |
|---|---|
| pulpcore | Provides basic classes necessary for PulpCore apps, including input, asset management, and scene management. |
| pulpcore.animation | Provides classes for properties, property animation, and timelines. |
| pulpcore.animation.event | Provides classes for timeline events. |
| pulpcore.math | Provides classes for arithmetic and geometry. |
| pulpcore.scene | Provides the Scene class and a few Scene implementations. |
| pulpcore.sprite | Provides the Sprite class, the ImageSprite class, and a few Sprite-based widgets. |
| Uses of Sprite in pulpcore |
|---|
| Methods in pulpcore that return Sprite | |
|---|---|
static Sprite |
Stage.getInfoOverlay()
|
| Uses of Sprite in pulpcore.animation |
|---|
| Methods in pulpcore.animation with parameters of type Sprite | |
|---|---|
void |
Timeline.move(Sprite sprite,
double x1,
double y1,
double x2,
double y2,
int duration)
|
void |
Timeline.move(Sprite sprite,
double x1,
double y1,
double x2,
double y2,
int duration,
Easing easing)
|
void |
Timeline.move(Sprite sprite,
double x1,
double y1,
double x2,
double y2,
int duration,
Easing easing,
int startDelay)
|
void |
Timeline.move(Sprite sprite,
int x1,
int y1,
int x2,
int y2,
int duration)
|
void |
Timeline.move(Sprite sprite,
int x1,
int y1,
int x2,
int y2,
int duration,
Easing easing)
|
void |
Timeline.move(Sprite sprite,
int x1,
int y1,
int x2,
int y2,
int duration,
Easing easing,
int startDelay)
|
void |
Timeline.move(Sprite sprite,
Path path,
double startP,
double endP,
int duration)
|
void |
Timeline.move(Sprite sprite,
Path path,
double startP,
double endP,
int duration,
Easing easing)
|
void |
Timeline.move(Sprite sprite,
Path path,
double startP,
double endP,
int duration,
Easing easing,
int startDelay)
|
void |
Timeline.moveAndRotate(Sprite sprite,
Path path,
double startP,
double endP,
int duration)
|
void |
Timeline.moveAndRotate(Sprite sprite,
Path path,
double startP,
double endP,
int duration,
Easing easing)
|
void |
Timeline.moveAndRotate(Sprite sprite,
Path path,
double startP,
double endP,
int duration,
Easing easing,
int startDelay)
|
void |
Timeline.moveTo(Sprite sprite,
double x,
double y,
int duration)
|
void |
Timeline.moveTo(Sprite sprite,
double x,
double y,
int duration,
Easing easing)
|
void |
Timeline.moveTo(Sprite sprite,
double x,
double y,
int duration,
Easing easing,
int startDelay)
|
void |
Timeline.moveTo(Sprite sprite,
int x,
int y,
int duration)
|
void |
Timeline.moveTo(Sprite sprite,
int x,
int y,
int duration,
Easing easing)
|
void |
Timeline.moveTo(Sprite sprite,
int x,
int y,
int duration,
Easing easing,
int startDelay)
|
void |
Timeline.scale(Sprite sprite,
double width1,
double height1,
double width2,
double height2,
int duration)
|
void |
Timeline.scale(Sprite sprite,
double width1,
double height1,
double width2,
double height2,
int duration,
Easing easing)
|
void |
Timeline.scale(Sprite sprite,
double width1,
double height1,
double width2,
double height2,
int duration,
Easing easing,
int startDelay)
|
void |
Timeline.scale(Sprite sprite,
int width1,
int height1,
int width2,
int height2,
int duration)
|
void |
Timeline.scale(Sprite sprite,
int width1,
int height1,
int width2,
int height2,
int duration,
Easing easing)
|
void |
Timeline.scale(Sprite sprite,
int width1,
int height1,
int width2,
int height2,
int duration,
Easing easing,
int startDelay)
|
void |
Timeline.scaleTo(Sprite sprite,
double width,
double height,
int duration)
|
void |
Timeline.scaleTo(Sprite sprite,
double width,
double height,
int duration,
Easing easing)
|
void |
Timeline.scaleTo(Sprite sprite,
double width,
double height,
int duration,
Easing easing,
int startDelay)
|
void |
Timeline.scaleTo(Sprite sprite,
int width,
int height,
int duration)
|
void |
Timeline.scaleTo(Sprite sprite,
int width,
int height,
int duration,
Easing easing)
|
void |
Timeline.scaleTo(Sprite sprite,
int width,
int height,
int duration,
Easing easing,
int startDelay)
|
void |
Timeline.setLocation(Sprite sprite,
double x,
double y)
|
void |
Timeline.setLocation(Sprite sprite,
double x,
double y,
int delay)
|
void |
Timeline.setLocation(Sprite sprite,
int x,
int y)
|
void |
Timeline.setLocation(Sprite sprite,
int x,
int y,
int delay)
|
void |
Timeline.setSize(Sprite sprite,
double width,
double height)
|
void |
Timeline.setSize(Sprite sprite,
double width,
double height,
int delay)
|
void |
Timeline.setSize(Sprite sprite,
int width,
int height)
|
void |
Timeline.setSize(Sprite sprite,
int width,
int height,
int delay)
|
| Uses of Sprite in pulpcore.animation.event |
|---|
| Constructors in pulpcore.animation.event with parameters of type Sprite | |
|---|---|
AddSpriteEvent(Group group,
Sprite sprite,
int delay)
|
|
RemoveSpriteEvent(Group group,
Sprite sprite,
int delay)
Removes the specified sprite from the specified group after the delay. |
|
RemoveSpriteEvent(Sprite sprite,
int delay)
Removes the specified sprite from its parent after the delay. |
|
| Uses of Sprite in pulpcore.math |
|---|
| Methods in pulpcore.math with parameters of type Sprite | |
|---|---|
void |
Path.guide(Timeline timeline,
Sprite sprite,
double startP,
double endP,
int duration)
Deprecated. |
void |
Path.guide(Timeline timeline,
Sprite sprite,
double startP,
double endP,
int duration,
Easing easing)
Deprecated. |
void |
Path.guide(Timeline timeline,
Sprite sprite,
double startP,
double endP,
int duration,
Easing easing,
int startDelay)
Deprecated. |
void |
Path.guide(Timeline timeline,
Sprite sprite,
int duration)
Deprecated. |
void |
Path.guide(Timeline timeline,
Sprite sprite,
int duration,
Easing easing)
Deprecated. |
void |
Path.guide(Timeline timeline,
Sprite sprite,
int duration,
Easing easing,
int startDelay)
Deprecated. |
void |
Path.guideBackwards(Timeline timeline,
Sprite sprite,
int duration)
Deprecated. |
void |
Path.guideBackwards(Timeline timeline,
Sprite sprite,
int duration,
Easing easing)
Deprecated. |
void |
Path.guideBackwards(Timeline timeline,
Sprite sprite,
int duration,
Easing easing,
int startDelay)
Deprecated. |
void |
Path.move(Sprite sprite,
double startP,
double endP,
int duration)
Moves a sprite along this path. |
void |
Path.move(Sprite sprite,
double startP,
double endP,
int duration,
Easing easing)
Moves a sprite along this path. |
void |
Path.move(Sprite sprite,
double startP,
double endP,
int duration,
Easing easing,
int startDelay)
Moves a sprite along this path. |
void |
Path.moveAndRotate(Sprite sprite,
double startP,
double endP,
int duration)
Moves a sprite along this path, rotating the sprite so that it is tangent to the path at all times. |
void |
Path.moveAndRotate(Sprite sprite,
double startP,
double endP,
int duration,
Easing easing)
Moves a sprite along this path, rotating the sprite so that it is tangent to the path at all times. |
void |
Path.moveAndRotate(Sprite sprite,
double startP,
double endP,
int duration,
Easing easing,
int startDelay)
Moves a sprite along this path, rotating the sprite so that it is tangent to the path at all times. |
void |
Path.moveAndRotateOnTimeline(Timeline timeline,
Sprite sprite,
double startP,
double endP,
int duration,
Easing easing,
int startDelay)
Moves a sprite along this path, rotating the sprite so that it is tangent to the path at all times. |
void |
Path.moveOnTimeline(Timeline timeline,
Sprite sprite,
double startP,
double endP,
int duration,
Easing easing,
int startDelay)
Moves a sprite along this path. |
void |
Path.place(Sprite sprite,
double p)
Places a Sprite at a position along the path. |
| Uses of Sprite in pulpcore.scene |
|---|
| Methods in pulpcore.scene with parameters of type Sprite | |
|---|---|
void |
Scene2D.add(Sprite sprite)
Adds a sprite to the main (bottom) layer. |
void |
Scene2D.remove(Sprite sprite)
Removes a sprite from the main (bottom) layer. |
| Uses of Sprite in pulpcore.sprite |
|---|
| Subclasses of Sprite in pulpcore.sprite | |
|---|---|
class |
Button
The Button is a Sprite that behaves like a common UI push button. |
class |
FilledSprite
Solid-colored rectangular shaped sprite. |
class |
Group
A container of Sprites. |
class |
ImageSprite
An image-based sprite. |
class |
Label
The Label is a Sprite that displays text. |
class |
ScrollPane
A ScrollPane is a Viewport with scroll bars that appear as needed. |
class |
Slider
A Slider is a widget that lets the user select a value by sliding a knob. |
class |
StretchableSprite
Stretchable sprites are sprites that, when scaled, draw the "static" sections normally and scale the "stretchable" sections. |
class |
TextField
The TextField is a Sprite that behaves like a common UI text input field. |
class |
Viewport
A Viewport is a Group whose contents can scroll, and the contents outside the
bounds of the Group are not visible. |
| Methods in pulpcore.sprite that return Sprite | |
|---|---|
Sprite |
Group.findWithTag(Object tag)
Finds the Sprite whose tag is equal to the specified tag (using tag.equals(sprite.getTag()). |
Sprite |
Group.get(int index)
Returns the sprite at the specified position in this group. |
Sprite |
Group.pick(int viewX,
int viewY)
Finds the top-most sprite at the specified location, or null if none is found. |
Sprite |
Group.pickEnabledAndVisible(int viewX,
int viewY)
Finds the top-most sprite that is enabled and visible at the specified location, or null if none is found. |
| Methods in pulpcore.sprite with parameters of type Sprite | |
|---|---|
void |
Viewport.add(int index,
Sprite sprite)
Calls getContentPane().add(index, sprite);. |
void |
ScrollPane.add(int index,
Sprite sprite)
Calls add(index, sprite) on the internal Viewport. |
void |
Group.add(int index,
Sprite sprite)
Inserts a Sprite to this Group at the specified position. |
void |
Viewport.add(Sprite sprite)
Calls getContentPane().add(sprite);. |
void |
ScrollPane.add(Sprite sprite)
Calls add(sprite) on the internal Viewport. |
void |
Group.add(Sprite sprite)
Adds a Sprite to this Group. |
void |
Sprite.bindLocationTo(Sprite sprite)
Binds this sprite's location to that of the specified sprite. |
void |
Sprite.bindSizeTo(Sprite sprite)
Binds this sprite's size to that of the specified sprite. |
boolean |
Group.contains(Sprite sprite)
Returns true if this Group contains the specified Sprite. |
boolean |
Sprite.intersects(Sprite sprite)
Checks if the specified sprite intersects this sprite. |
boolean |
Group.isAncestorOf(Sprite sprite)
Returns true if this Group is an ancestor of the specified Sprite. |
void |
Viewport.moveDown(Sprite sprite)
Calls getContentPane().moveDown(sprite);. |
void |
ScrollPane.moveDown(Sprite sprite)
Calls moveDown(sprite) on the internal Viewport. |
void |
Group.moveDown(Sprite sprite)
Moves the specified Sprite down in z-order, swapping places with the first Sprite that appears below it. |
void |
Viewport.moveToBottom(Sprite sprite)
Calls getContentPane().moveToBottom(sprite);. |
void |
ScrollPane.moveToBottom(Sprite sprite)
Calls moveToBottom(sprite) on the internal Viewport. |
void |
Group.moveToBottom(Sprite sprite)
Moves the specified Sprite to the bottom of the z-order, so that all the other Sprites currently in this Group appear above it. |
void |
Viewport.moveToTop(Sprite sprite)
Calls getContentPane().moveToTop(sprite);. |
void |
ScrollPane.moveToTop(Sprite sprite)
Calls moveToTop(sprite) on the internal Viewport. |
void |
Group.moveToTop(Sprite sprite)
Moves the specified Sprite to the top of the z-order, so that all the other Sprites currently in this Group appear underneath it. |
void |
Viewport.moveUp(Sprite sprite)
Calls getContentPane().moveUp(sprite);. |
void |
ScrollPane.moveUp(Sprite sprite)
Calls moveUp(sprite) on the internal Viewport. |
void |
Group.moveUp(Sprite sprite)
Moves the specified Sprite up in z-order, swapping places with the first Sprite that appears above it. |
void |
Viewport.remove(Sprite sprite)
Calls getContentPane().remove(sprite);. |
void |
ScrollPane.remove(Sprite sprite)
Calls remove(sprite) on the internal Viewport. |
void |
Group.remove(Sprite sprite)
Removes a Sprite from this Group. |
|
PulpCore | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||