|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcamera3d.gui.ViewportFrame
camera3d.gui.ViewportCombo
A version of ViewportFrame that automatically creates a ViewportCommandPane and a Viewport.
| Constructor Summary | |
ViewportCombo(VcView view,
GUIControl guiControl)
|
|
| Method Summary | |
void |
addView(VcView view)
Adds a view to the list of view which can be selected for exhibition. |
void |
disableMessage()
Turns of exhibition of messages in the canvas. |
Viewport |
getViewport()
Returns viewport which belongs to this object. |
void |
removeView(VcView view)
Tells ViewportCombo that a view has been removed from the scene graph. |
void |
setGUIControl(GUIControl guiControl)
Sets GUIControl that will receive requests from this object. |
void |
setTitle(java.lang.String title)
Sets frame title String. |
void |
showMessage(java.lang.String s)
Shows a message in the canvas. |
void |
updateListOfViews(java.util.Vector views)
Informs this object of changes occurred in the list of Views of the virtual World. |
void |
viewportChanged(ViewportEvent vpe)
Method called when a change is made to a viewport. |
| Methods inherited from class camera3d.gui.ViewportFrame |
changeToJFrame, changeToJInternalFrame, getJInternalFrame, getPosition, getSize, getViewportCommandPane, getViewportContextMenu, isInternalFrame, maximize, setFrameIcon, setInternalFrame, setPosition, setSize, setViewportContextMenu, setViewportsEventHandler, setVisible, toFront |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ViewportCombo(VcView view,
GUIControl guiControl)
| Method Detail |
public void setGUIControl(GUIControl guiControl)
public void removeView(VcView view)
view - the recently removed view.public void addView(VcView view)
view - new view added to list.public void updateListOfViews(java.util.Vector views)
views - updated list of views.public void viewportChanged(ViewportEvent vpe)
ViewportChangeListener
viewportChanged in interface ViewportChangeListenervpe - holds information about the change made.public void showMessage(java.lang.String s)
public void disableMessage()
public Viewport getViewport()
getViewport in class ViewportFramepublic void setTitle(java.lang.String title)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||