vmm.core3D
Class UserExhibit3D.Support

java.lang.Object
  extended by vmm.core.UserExhibit.Support
      extended by vmm.core3D.UserExhibit3D.Support
Enclosing interface:
UserExhibit3D

public static class UserExhibit3D.Support
extends UserExhibit.Support

This subclass of UserExhibit.Support contains user data for a 3D user exhibit.


Nested Class Summary
 
Nested classes/interfaces inherited from class vmm.core.UserExhibit.Support
UserExhibit.Support.Dialog, UserExhibit.Support.ExtraPanel
 
Constructor Summary
UserExhibit3D.Support(UserExhibit3D exhibit3D)
          Create a 3D user exhibit support object.
 
Method Summary
 void addToXML(org.w3c.dom.Document containingDocument, org.w3c.dom.Element userDataElement)
          This is called by the system when the user exhibit is being saved to a settings file to write the user data to the settings file.
protected  UserExhibit.Support.Dialog createDialog(Display display, View view, boolean creating)
          Called by UserExhibit.Support.showCreateDialog(Display) and UserExhibit.Support.showChangeDialog(Display, View) to actually create the dialog box.
protected  void finish(UserExhibit.Support.Dialog dialog, View view, boolean creating)
          Called by UserExhibit.Support.showCreateDialog(Display) and UserExhibit.Support.showChangeDialog(Display, View) after the user has clicked the OK button to dismiss the dialog box.
 boolean getShowViewpoint()
           
 void setShowViewpoint(boolean showViewpoint)
          Sets the showViewpoint property.
 
Methods inherited from class vmm.core.UserExhibit.Support
addComplexFunction, addFunctionParameter, addFunctionParameter, addRealFunction, defaults, getAllowChangeUserDataCommand, getAllowNewParameters, getFunctionCount, getFunctionInfo, getFunctionParameters, getShowWindow, makeChangeUserDataAction, readFromXML, setAllowChangeUserDataCommand, setAllowNewParameters, setShowWindow, showChangeDialog, showCreateDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserExhibit3D.Support

public UserExhibit3D.Support(UserExhibit3D exhibit3D)
Create a 3D user exhibit support object. This will ordinarily be called in the constructor of a class that implements the UserExhbit3D interface, in the form "new UserExhibit3D.Support(this)".

Method Detail

getShowViewpoint

public boolean getShowViewpoint()
See Also:
setShowViewpoint(boolean)

setShowViewpoint

public void setShowViewpoint(boolean showViewpoint)
Sets the showViewpoint property. The default value is true. When this property is true, an input panel is added to the user data dialog box where the use can enter the viewpoint from which the exhibit is viewed. If the property is false, then the viewpoint input panel is omitted from the dialog box.


createDialog

protected UserExhibit.Support.Dialog createDialog(Display display,
                                                  View view,
                                                  boolean creating)
Description copied from class: UserExhibit.Support
Called by UserExhibit.Support.showCreateDialog(Display) and UserExhibit.Support.showChangeDialog(Display, View) to actually create the dialog box. This can be overridden by a subclass to customize the dialog box.

Overrides:
createDialog in class UserExhibit.Support

finish

protected void finish(UserExhibit.Support.Dialog dialog,
                      View view,
                      boolean creating)
Description copied from class: UserExhibit.Support
Called by UserExhibit.Support.showCreateDialog(Display) and UserExhibit.Support.showChangeDialog(Display, View) after the user has clicked the OK button to dismiss the dialog box. It can be overridden in a subclass to customize the way the data in the dialog box is applied.

Overrides:
finish in class UserExhibit.Support

addToXML

public void addToXML(org.w3c.dom.Document containingDocument,
                     org.w3c.dom.Element userDataElement)
Description copied from class: UserExhibit.Support
This is called by the system when the user exhibit is being saved to a settings file to write the user data to the settings file. This method will not oridinarly be used directly.

Overrides:
addToXML in class UserExhibit.Support