|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.storm.Pilot
ice.storm.LPilot
A 'lightweight' pilot must extend this class. The main feature of such a pilot is its ability to paint iteself, so it does not create a GUI component and thus is compatible with any component toolkit and can be easily embedded within other pilots.
| Constructor Summary | |
LPilot()
|
|
| Method Summary | |
abstract int |
getHeight()
Get the height of the painting area |
abstract int |
getWidth()
Get the width of the painting area that this pilot needs |
abstract void |
paint(Graphics g)
Tell the pilot to paint its content. |
void |
setSize(int w,
int h)
Notify the pilot that the dimensions of its painting area is going to be 'w' and 'h'. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LPilot()
| Method Detail |
public abstract void paint(Graphics g)
public abstract int getWidth()
public abstract int getHeight()
public void setSize(int w,
int h)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||