Uses of Class
org.graphstream.ui.spriteManager.Sprite
| Package | Description |
|---|---|
| org.graphstream.ui.spriteManager |
-
Uses of Sprite in org.graphstream.ui.spriteManager
Methods in org.graphstream.ui.spriteManager with type parameters of type Sprite Modifier and Type Method Description <T extends Sprite>
TSpriteManager. addSprite(String identifier, Class<T> spriteClass)Add a sprite of a given subclass of Sprite with the given identifier.<T extends Sprite>
TSpriteManager. addSprite(String identifier, Class<T> spriteClass, Values position)Same asSpriteManager.addSprite(String, Class)but also allows to specify an initial position.Methods in org.graphstream.ui.spriteManager that return Sprite Modifier and Type Method Description SpriteSpriteManager. addSprite(String identifier)Add a sprite with the given identifier.SpriteSpriteManager. getSprite(String identifier)Sprite corresponding to the given identifier or null if no sprite is associated with the given identifier.SpriteSpriteFactory. newSprite(String identifier, SpriteManager manager, Values position)Create a new sprite for the given manager with the given identifier.Methods in org.graphstream.ui.spriteManager that return types with arguments of type Sprite Modifier and Type Method 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.