|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPositionedSceneElement
Constructor Summary | |
PositionedSceneElement(Picture heldPic)
Make a new element with a picture as input, and next as null. |
Method Summary | |
PositionedSceneElement |
copy()
|
void |
drawFromMeOn(Picture bg)
Method to draw from this node on in the list, using bluescreen. |
PositionedSceneElement |
getNext()
|
Picture |
getPicture()
Returns the picture in the node. |
void |
insertAfter(PositionedSceneElement node)
Insert the input node after this node. |
PositionedSceneElement |
last()
Return the last element in the list |
void |
remove(PositionedSceneElement node)
Method to remove node from list, fixing links appropriately. |
void |
replace(Picture oldPic,
Picture newPic)
Replace the one picture with the other picture in all the elements from me on. |
void |
setNext(PositionedSceneElement nextOne)
Methods to set and get next elements |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PositionedSceneElement(Picture heldPic)
heldPic
- Picture for element to holdMethod Detail |
public void setNext(PositionedSceneElement nextOne)
nextOne
- next element in listpublic PositionedSceneElement getNext()
public Picture getPicture()
public void drawFromMeOn(Picture bg)
bg
- Picture to draw drawing onpublic void remove(PositionedSceneElement node)
node
- element to remove from list.public void insertAfter(PositionedSceneElement node)
node
- element to insert after this.public PositionedSceneElement copy()
public void replace(Picture oldPic, Picture newPic)
oldPic
- Picture to be replacednewPic
- Picture to put in its placepublic PositionedSceneElement last()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |