|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ViewTool
| Method Summary | |
|---|---|
void |
activate()
Tells the tool that it has been activated (i.e. |
void |
deactivate()
Tells the tool that it has been deactivate (i.e. |
javax.swing.Icon |
getIcon()
gets the tools icon for buttons etc. |
java.lang.String |
getLabel()
returns the label that should be used for menus etc. |
void |
install(ViewTools tools)
called once when the tool is added to the tools interface the object passed in can be queried to retreive information such as the space or world |
void |
update()
called if the world or space changes when a tool is active |
| Methods inherited from interface java.awt.event.MouseMotionListener |
|---|
mouseDragged, mouseMoved |
| Methods inherited from interface java.awt.event.MouseListener |
|---|
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased |
| Methods inherited from interface net.java.dev.joode.WorldStepListener |
|---|
notifyQuickStep, notifyStep |
| Method Detail |
|---|
void activate()
void update()
void deactivate()
void install(ViewTools tools)
tools - javax.swing.Icon getIcon()
java.lang.String getLabel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||