static public getInstance ( ) : |
||
Результат |
static public TooltipManager getInstance()
{
if( instance == null )
instance = new TooltipManager();
return instance;
}
public Tooltip(Element contents, Element targetElement) { _manager = TooltipManager.getInstance(); _container = new Container(contents); _container.setOrigin(AlignInternal.center); _targetElement = targetElement; _container.setTouchable(Touchable.Disabled); }