public class DrawableCollection extends BasicDrawableCollection
| Constructor and Description |
|---|
DrawableCollection()
Luo uuden oliokokelman
|
| Modifier and Type | Method and Description |
|---|---|
Drawable |
add(Drawable pDrawable)
Lisää olion tähän kokoelmaan
|
Drawable |
getDrawable(int i)
Paluattaa paikaas i oleva piirrettävän olion
|
int |
getIndex(Drawable pDrawable)
Palauttaa annetun olion indeksin tässä kokoelmassa
|
void |
remove(Drawable pDrawable)
Poistaa olion tästä kokoelmasta
|
void |
removeAll()
Poistaa kaikki oliot tästä kokoelmasta
|
drawShape, getDrawables, justAdd, justRemove, redraw, registerSpace, unRegisterSpacechangeTransform, draw, getColor, getPoint, getRotator, getRotator, getTransform, getTransform, initGraphics, move, rotate, scale, setColor, setColor, setParent, setRotator, setTransform, transformpublic DrawableCollection()
public Drawable getDrawable(int i)
getDrawable in class BasicDrawableCollectioni - missä paikass aoleva olio otetaanpublic Drawable add(Drawable pDrawable)
add in class BasicDrawableCollectionpDrawable - lisättävä oliopublic void remove(Drawable pDrawable)
remove in class BasicDrawableCollectionpDrawable - poistettava oliopublic void removeAll()
removeAll in class BasicDrawableCollectionpublic int getIndex(Drawable pDrawable)
getIndex in class BasicDrawableCollectionpDrawable - olio jonka indeksia haetaan