Package | Description |
---|---|
org.graphstream.ui.spriteManager |
Modifier and Type | Method and Description |
---|---|
<T extends Sprite> |
SpriteManager.addSprite(String identifier,
Class<T> spriteClass)
Add a sprite of a given subclass of Sprite with the given identifier.
|
<T extends Sprite> |
SpriteManager.addSprite(String identifier,
Class<T> spriteClass,
Values position)
Same as
SpriteManager.addSprite(String, Class) but also allows to specify an
initial position. |
Modifier and Type | Method and Description |
---|---|
Sprite |
SpriteManager.addSprite(String identifier)
Add a sprite with the given identifier.
|
Sprite |
SpriteManager.getSprite(String identifier)
Sprite corresponding to the given identifier or null if no sprite is
associated with the given identifier.
|
Sprite |
SpriteFactory.newSprite(String identifier,
SpriteManager manager,
Values position)
Create a new sprite for the given manager with the given identifier.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Sprite> |
SpriteManager.iterator()
Iterator on the set of sprites.
|
Iterator<? extends Sprite> |
SpriteManager.spriteIterator()
Iterator on the set of sprites.
|
Iterable<? extends Sprite> |
SpriteManager.sprites()
Iterable set of sprites in no particular order.
|
Copyright © 2015. All rights reserved.