Examples of DynamicAncestorAdapter


Examples of de.sciss.app.DynamicAncestorAdapter

    init();
  }

  private void init()
  {
    new DynamicAncestorAdapter( this ).addTo( this );
    listener = new ParamField.Listener() {
      public void paramValueChanged( ParamField.Event e )
      {
        if( e.isAdjusting() ) return;
//System.out.println( "paramValueChanged" );
View Full Code Here

Examples of de.sciss.app.DynamicAncestorAdapter

      {
        e.consume();
      }
    });

    new DynamicAncestorAdapter( this ).addTo( this );
  }
View Full Code Here

Examples of de.sciss.app.DynamicAncestorAdapter

  }

  protected void addDynamicListening( DynamicListening l )
  {
    if( c instanceof RootPaneContainer ) {
      new DynamicAncestorAdapter( l ).addTo( ((RootPaneContainer) c).getRootPane() );
    } else if( jc != null ) {
      new DynamicAncestorAdapter( l ).addTo( jc );
    }
  }
View Full Code Here

Examples of de.sciss.app.DynamicAncestorAdapter

    init();
  }

  private void init()
  {
    new DynamicAncestorAdapter( this ).addTo( this );
    listener = new DocumentListener() {

      public void insertUpdate( DocumentEvent e )  { schoko(); }
      public void removeUpdate( DocumentEvent e )  { schoko(); }
      public void changedUpdate( DocumentEvent e ) { schoko(); }
View Full Code Here

Examples of de.sciss.app.DynamicAncestorAdapter

    super( HORIZONTAL, 0, host );
       
        this.doc    = doc;
   
    // --- Listener ---
        new DynamicAncestorAdapter( this ).addTo( this );
        new DynamicAncestorAdapter( new DynamicPrefChangeManager(
      AbstractApplication.getApplication().getUserPrefs(), new String[] { PrefsUtil.KEY_TIMEUNITS }, this
    )).addTo( this );
    this.addMouseListener( this );
    this.addMouseMotionListener( this );
View Full Code Here

Examples of de.sciss.app.DynamicAncestorAdapter

                PrefsUtil.NODE_SESSION ).node(
                  className.substring( className.lastIndexOf( '.' ) + 1 ));
    createSettingsView();

    // --- Listener ---
        new DynamicAncestorAdapter( new DynamicPrefChangeManager( classPrefs, KEYS, this )).addTo( this );
  }
View Full Code Here

Examples of de.sciss.app.DynamicAncestorAdapter

    classPrefs  = app.getUserPrefs().node( PrefsUtil.NODE_SESSION ).node(
            className.substring( className.lastIndexOf( '.' ) + 1 ));
    createSettingsView();

    // --- Listener ---
        new DynamicAncestorAdapter( new DynamicPrefChangeManager( app.getUserPrefs().node(
      PrefsUtil.NODE_PLUGINS ), new String[] { getSourceListKey() }, this )).addTo( this );
        new DynamicAncestorAdapter( new DynamicPrefChangeManager( classPrefs,
      new String[] { KEY_LISPSOURCE }, this )).addTo( this );
  }
View Full Code Here

Examples of de.sciss.app.DynamicAncestorAdapter

this.add( Box.createHorizontalStrut( 4 ));
    this.add( b2 );
//    this.add( Box.createHorizontalGlue() );
   
    // --- Listener ---
    new DynamicAncestorAdapter( this ).addTo( this );

    cueTimer = new Timer( 25, new ActionListener() {
      public void actionPerformed( ActionEvent e )
      {
        cuePos = Math.max( 0, Math.min( doc.timeline.getLength(), cuePos + (long) (cueStep * rate) / 1000 ));
View Full Code Here

Examples of de.sciss.app.DynamicAncestorAdapter

        Spring.minus( Spring.sum( Spring.sum( lay.getConstraint( SpringLayout.SOUTH, this ), Spring.minus( lay.getConstraint( SpringLayout.NORTH, this ))), Spring.constant( -15 ))))));
    add( lbTrackName );
    setBorder( BorderFactory.createMatteBorder( 0, 0, 0, 2, Color.white ));   // top left bottom right

    // --- Listener ---
        new DynamicAncestorAdapter( this ).addTo( this );
    this.addMouseListener( this );

//    // XXX should only listen to the track itself (requires event manager in AbstractSessionObject ?)
//    tracksListener = new SessionCollection.Listener() {
//      public void sessionCollectionChanged( SessionCollection.Event e ) {}  // XXX could dispose
View Full Code Here

Examples of de.sciss.app.DynamicAncestorAdapter

    tools.put( new Integer( ToolAction.PENCIL )new SurfacePencilTool( false ));
    tools.put( new Integer( ToolAction.FORK ),    new SurfacePencilTool( true ));

    // --- Listener ---
   
        new DynamicAncestorAdapter( this ).addTo( this );
        new DynamicAncestorAdapter( new DynamicPrefChangeManager(
      AbstractApplication.getApplication().getUserPrefs().node( PrefsUtil.NODE_SHARED ),
      new String[] { PrefsUtil.KEY_SNAP, PrefsUtil.KEY_VIEWRCVSENSE, PrefsUtil.KEY_VIEWEQPRECEIVER,
               PrefsUtil.KEY_VIEWTRNSTRAJ, PrefsUtil.KEY_VIEWUSERIMAGES }, this )).addTo( this );
 
//    this.addMouseListener( new MouseAdapter() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.