this.web_options_node.setOrbitMode( false ); }
this.web_options_node.setOrbitMode( true ); } }
        public boolean setInteractionMode( int mode, long time )        {                //                // sanity check                //                if ( ( mode == ImageWindow.ROTATE_MODE ) ||                        ( mode == ImageWindow.PICK_MODE ) ||                        ( mode == ImageWindow.ZOOM_MODE ) ||                        ( mode == ImageWindow.PAN_MODE ) ) {                        if ( this.hasCamera() == false ) return false;                }                if ( mode == ImageWindow.PAN_MODE ) {                        if ( this.isPerspective() ) return false;                }                if ( mode == ImageWindow.LOOP_MODE ) {                        if ( this.getCacheCount() <= 1 ) return false;                        if ( this.iw != null )                                if ( this.iw.getCacheSize() <= 1 ) return false;                        DXApplication dxapp = this.getNetwork().getApplet();                        if ( dxapp.getCachingMode() == false ) return false;                }                if ( mode == this.interaction_mode ) return true;                int old_mode = this.interaction_mode;                this.interaction_mode = mode;                DXApplication dxapp = this.getNetwork().getApplet();                PickNode pn = dxapp.getSelectedPickNode();                if ( ( this.iw != null ) && ( this.orbit_mode == false ) ) {                        this.iw.setInteractionMode( this.interaction_mode, time );                        if ( this.interaction_mode == ImageWindow.PICK_MODE ) {                                if ( pn != null ) {                                        pn.setInputValueQuietly ( 2, "\"" + this.getMatchString() + "\"" );                                }                        }                        else if ( this.interaction_mode == ImageWindow.ORBIT_MODE ) {                                this.orbit_mode = true;                                this.setCacheSize( 9 );                                if ( this.web_options_node != null )                                        this.web_options_node.setOrbitMode( true );                        }                }                if ( old_mode == ImageWindow.PICK_MODE ) {                        if ( pn != null ) {                                pn.setInputValueQuietly ( 2, "NULL" );                                pn.setInputValueQuietly ( 3, "NULL" );                                this.resetPickList();                        }                }                else if ( old_mode == ImageWindow.ORBIT_MODE ) {                        this.orbit_mode = false;                        if ( this.web_options_node != null )                                this.web_options_node.setOrbitMode( false );                }                return true;        }