|
NCSA Portfolio | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines how the tools can interact with the ToolManager.
Method Summary | |
void |
addInactive(PortfolioEventReceiver i)
Allows the tool to be added into the ToolManager without being made the active tool. |
void |
addPortfolioEvent(PortfolioEvent event)
Causes to the ToolManager to start servicing this event. |
javax.media.j3d.BranchGroup |
getBranchGroup()
Allows the tools to find out which BranchGroup it is under. |
javax.media.j3d.Canvas3D |
getCanvas()
Allows the tools to find out which Canvas3D it is drawing on. |
javax.media.j3d.TransformGroup |
getViewTransform()
Allows the tools to find out which TransformGroup is above the ViewPlatform. |
void |
makeInactive(PortfolioEventReceiver i)
Allows the tool to make something, possibly itself inactive. |
void |
remove(PortfolioEventReceiver i)
Allows tool to commit suicide or murder something it put into the tool manager. |
void |
setActiveTool(ToolInterface i)
Allows the tool to make itself active. |
Methods inherited from interface ncsa.j3d.ui.events.PortfolioEventReceiver |
notify |
Method Detail |
public void addInactive(PortfolioEventReceiver i)
PortfolioEventReceiver
- The interface that will get events.public void remove(PortfolioEventReceiver i)
PortfolioEventReceiver
- The item to be removed.public void makeInactive(PortfolioEventReceiver i)
PortfolioEventReceiver
- The item to make inactive.public void setActiveTool(ToolInterface i)
ToolInterface
- The tool to make active.public javax.media.j3d.Canvas3D getCanvas()
none
- public javax.media.j3d.BranchGroup getBranchGroup()
none
- public javax.media.j3d.TransformGroup getViewTransform()
public void addPortfolioEvent(PortfolioEvent event)
PortfolioEvent
- The event to respond to.
|
NCSA Portfolio | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |