< prev index next >

modules/graphics/src/main/java/javafx/scene/Node.java

Print this page




 630                 peer.effectChanged();
 631             }
 632         }
 633 
 634         if (impl_isDirty(DirtyBits.NODE_EFFECT)) {
 635             peer.setEffect(getEffect() != null ? EffectHelper.getPeer(getEffect()) : null);
 636         }
 637 
 638         if (impl_isDirty(DirtyBits.NODE_VISIBLE)) {
 639             peer.setVisible(isVisible());
 640         }
 641 
 642         if (impl_isDirty(DirtyBits.NODE_DEPTH_TEST)) {
 643             peer.setDepthTest(isDerivedDepthTest());
 644         }
 645 
 646         if (impl_isDirty(DirtyBits.NODE_BLENDMODE)) {
 647             BlendMode mode = getBlendMode();
 648             peer.setNodeBlendMode((mode == null)
 649                                   ? null
 650                                   : Blend.impl_getToolkitMode(mode));
 651         }
 652     }
 653 
 654     /*************************************************************************
 655     *                                                                        *
 656     *                                                                        *
 657     *                                                                        *
 658     *************************************************************************/
 659 
 660     private static final Object USER_DATA_KEY = new Object();
 661     // A map containing a set of properties for this node
 662     private ObservableMap<Object, Object> properties;
 663 
 664     /**
 665       * Returns an observable map of properties on this node for use primarily
 666       * by application developers.
 667       *
 668       * @return an observable map of properties on this node for use primarily
 669       * by application developers
 670       */




 630                 peer.effectChanged();
 631             }
 632         }
 633 
 634         if (impl_isDirty(DirtyBits.NODE_EFFECT)) {
 635             peer.setEffect(getEffect() != null ? EffectHelper.getPeer(getEffect()) : null);
 636         }
 637 
 638         if (impl_isDirty(DirtyBits.NODE_VISIBLE)) {
 639             peer.setVisible(isVisible());
 640         }
 641 
 642         if (impl_isDirty(DirtyBits.NODE_DEPTH_TEST)) {
 643             peer.setDepthTest(isDerivedDepthTest());
 644         }
 645 
 646         if (impl_isDirty(DirtyBits.NODE_BLENDMODE)) {
 647             BlendMode mode = getBlendMode();
 648             peer.setNodeBlendMode((mode == null)
 649                                   ? null
 650                                   : EffectHelper.getToolkitBlendMode(mode));
 651         }
 652     }
 653 
 654     /*************************************************************************
 655     *                                                                        *
 656     *                                                                        *
 657     *                                                                        *
 658     *************************************************************************/
 659 
 660     private static final Object USER_DATA_KEY = new Object();
 661     // A map containing a set of properties for this node
 662     private ObservableMap<Object, Object> properties;
 663 
 664     /**
 665       * Returns an observable map of properties on this node for use primarily
 666       * by application developers.
 667       *
 668       * @return an observable map of properties on this node for use primarily
 669       * by application developers
 670       */


< prev index next >