Class GhostingListener

    • Constructor Detail

      • GhostingListener

        public GhostingListener​(JComponent comp,
                                ButtonModel buttonModel)
        Creates a new listener on model changes that can cause ghost animation transitions.
        Parameters:
        comp - Component.
        buttonModel - Model for the component.
    • Method Detail

      • trackModelChange

        protected void trackModelChange​(AnimationFacet animationFacet,
                                        boolean newState)
        Tracks a single change to the model.
        Parameters:
        animationFacet - Animation facet.
        newState - New value of the relevant attribute of the model.
      • registerListeners

        public void registerListeners()
        Registers listeners on the relevant model changes.
      • unregisterListeners

        public void unregisterListeners()
        Unregisters all listeners on model changes.
      • getRunningGhostRolloverTimelines

        public static Map<JComponent,​org.pushingpixels.trident.Timeline> getRunningGhostRolloverTimelines()
      • getRunningGhostPressTimelines

        public static Map<JComponent,​org.pushingpixels.trident.Timeline> getRunningGhostPressTimelines()
      • getGhostComponentPressedTimeline

        public org.pushingpixels.trident.Timeline getGhostComponentPressedTimeline()
      • getGhostIconRolloverTimeline

        public org.pushingpixels.trident.Timeline getGhostIconRolloverTimeline()