com.sun.j3d.utils.universe
Class ConfigViewPlatform

java.lang.Object
  extended by com.sun.j3d.utils.universe.ConfigObject
      extended by com.sun.j3d.utils.universe.ConfigViewPlatform

 class ConfigViewPlatform
extends ConfigObject


Field Summary
private  boolean allowLocalToVworldRead
           
private  boolean allowPolicyRead
           
(package private)  ConfigViewPlatformBehavior configBehavior
          The associated ConfigViewPlatformBehavior, if any.
private  java.util.ArrayList configViews
           
private  Transform3D initialViewingTransform
           
private  boolean nominalViewingTransform
           
(package private)  int viewAttachPolicy
          Indicates the view attach policy specified in the configuration file.
private  Viewer[] viewers
           
(package private)  ViewingPlatform viewingPlatform
          The corresponding ViewingPlatform instance.
 
Fields inherited from class com.sun.j3d.utils.universe.ConfigObject
aliases, baseName, classLoader, configContainer, creatingCommand, instanceName, isAlias, original, properties, targetClass, targetClassName, targetObject
 
Constructor Summary
ConfigViewPlatform()
           
 
Method Summary
(package private)  void addConfigView(ConfigView cv)
          Add a ConfigView to this ConfigViewPlatform.
(package private)  ViewingPlatform createViewingPlatform(int transformCount)
          Creates a ViewingPlatform from attributes gathered by this object.
protected  void initialize(ConfigCommand command)
          Overrides initialize() to do nothing.
(package private)  void processBehavior()
          Attach any ViewPlatformBehavior specified for this platform.
protected  void setProperty(ConfigCommand command)
          Processes attributes for this object.
 
Methods inherited from class com.sun.j3d.utils.universe.ConfigObject
createTargetObject, errorMessage, evaluateProperties, getClassForName, getNewInstance, isName, processProperties, setClassLoader, syntaxError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allowPolicyRead

private boolean allowPolicyRead

allowLocalToVworldRead

private boolean allowLocalToVworldRead

nominalViewingTransform

private boolean nominalViewingTransform

initialViewingTransform

private Transform3D initialViewingTransform

configViews

private java.util.ArrayList configViews

viewers

private Viewer[] viewers

viewingPlatform

ViewingPlatform viewingPlatform
The corresponding ViewingPlatform instance.


viewAttachPolicy

int viewAttachPolicy
Indicates the view attach policy specified in the configuration file. If none is set, it remains -1 even though a default may be in effect.


configBehavior

ConfigViewPlatformBehavior configBehavior
The associated ConfigViewPlatformBehavior, if any.

Constructor Detail

ConfigViewPlatform

ConfigViewPlatform()
Method Detail

initialize

protected void initialize(ConfigCommand command)
Overrides initialize() to do nothing.

Overrides:
initialize in class ConfigObject
Parameters:
command - the command that created this ConfigObject

setProperty

protected void setProperty(ConfigCommand command)
Processes attributes for this object. Handles commands of the form:

(ViewPlatformAttribute {instanceName} {attrName} {attrValue})
(ViewPlatformProperty {instanceName} {attrName} {attrValue})

Overrides:
setProperty in class ConfigObject
Parameters:
command - the command that invoked this method

addConfigView

void addConfigView(ConfigView cv)
Add a ConfigView to this ConfigViewPlatform.


createViewingPlatform

ViewingPlatform createViewingPlatform(int transformCount)
Creates a ViewingPlatform from attributes gathered by this object.

Parameters:
transformCount - the number of TransformGroups to attach to the ViewingPlatform
Returns:
the new ViewingPlatform

processBehavior

void processBehavior()
Attach any ViewPlatformBehavior specified for this platform.



Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.