|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.perisic.shadow.Shadow com.perisic.shadow.example.shadows.SmileShadow
The smile shadow. For convenience the uncomented source code:
public class SmileShadow extends com.perisic.shadow.Shadow { public void smile(Integer howMuch) { System.out.println(shadowOwner().call("getName")+" is laughing out loud!"); shadowOwner().call("setHappyness",(Integer) shadowOwner().call("getHappyness")+howMuch); } }
Constructor Summary | |
---|---|
SmileShadow()
|
Method Summary | |
---|---|
void |
smile(java.lang.Integer howMuch)
The method smile prints "laughing out loud". |
Methods inherited from class com.perisic.shadow.Shadow |
---|
shadowOwner |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SmileShadow()
Method Detail |
---|
public void smile(java.lang.Integer howMuch)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |