Advertisement
Guest User

WaveBean

a guest
Jul 21st, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.72 KB | None | 0 0
  1. public class DisplayTemporaryModelWaveBean extends DisplayModelWaveBean {
  2.  
  3.     /**
  4.      * The time to show the node before it disappears.
  5.      */
  6.     private Duration showDuration = Duration.millis(2500);
  7.  
  8.     /**
  9.      * The fading duration when removing the node.
  10.      */
  11.     private Duration fadingDuration = Duration.millis(2500);
  12.  
  13.     public Duration getFadingDuration() {
  14.         return fadingDuration;
  15.     }
  16.  
  17.     public void setFadingDuration(Duration fadingDuration) {
  18.         this.fadingDuration = fadingDuration;
  19.     }
  20.  
  21.     public Duration getShowDuration() {
  22.         return showDuration;
  23.     }
  24.  
  25.     public void setShowDuration(Duration showDuration) {
  26.         this.showDuration = showDuration;
  27.     }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement