1 14 package org.wings; 15 16 import org.wings.session.SessionManager; 17 18 22 public class SToolTipManager { 23 private int initialDelay = 1000; 24 private int dismissDelay = 3000; 25 private boolean followMouse = true; 26 27 public int getInitialDelay() { 28 return initialDelay; 29 } 30 31 public void setInitialDelay(int initialDelay) { 32 this.initialDelay = initialDelay; 33 } 34 35 public int getDismissDelay() { 36 return dismissDelay; 37 } 38 39 public void setDismissDelay(int dismissDelay) { 40 this.dismissDelay = dismissDelay; 41 } 42 43 public boolean isFollowMouse() { 44 return followMouse; 45 } 46 47 public void setFollowMouse(boolean followMouse) { 48 this.followMouse = followMouse; 49 } 50 51 static SToolTipManager sharedInstance() { 52 return SessionManager.getSession().getToolTipManager(); 53 } 54 } 55 | Popular Tags |