public void enter (Tooltip tooltip) { showTooltip = tooltip; showTask.cancel(); if (enabled || tooltip.always) { if (time == 0 || tooltip.instant) showTask.run(); else Timer.schedule(showTask, time); } }
public void touchDown (Tooltip tooltip) { showTask.cancel(); if (tooltip.container.remove()) resetTask.cancel(); resetTask.run(); if (enabled || tooltip.always) { showTooltip = tooltip; Timer.schedule(showTask, time); } }
/** Shows all tooltips on hover without a delay for {@link #resetTime} seconds. */ public void instant () { time = 0; showTask.run(); showTask.cancel(); }
public void enter (Tooltip tooltip) { showTooltip = tooltip; showTask.cancel(); if (enabled || tooltip.always) { if (time == 0 || tooltip.instant) showTask.run(); else Timer.schedule(showTask, time); } }
/** Shows all tooltips on hover without a delay for {@link #resetTime} seconds. */ public void instant () { time = 0; showTask.run(); showTask.cancel(); }
public void enter (Tooltip tooltip) { showTooltip = tooltip; showTask.cancel(); if (enabled || tooltip.always) { if (time == 0 || tooltip.instant) showTask.run(); else Timer.schedule(showTask, time); } }
public void touchDown (Tooltip tooltip) { showTask.cancel(); if (tooltip.container.remove()) resetTask.cancel(); resetTask.run(); if (enabled || tooltip.always) { showTooltip = tooltip; Timer.schedule(showTask, time); } }
public void touchDown (Tooltip tooltip) { showTask.cancel(); if (tooltip.container.remove()) resetTask.cancel(); resetTask.run(); if (enabled || tooltip.always) { showTooltip = tooltip; Timer.schedule(showTask, time); } }
/** Shows all tooltips on hover without a delay for {@link #resetTime} seconds. */ public void instant () { time = 0; showTask.run(); showTask.cancel(); }