ui.IdGenerator Extends Object
Creates a new id generator.

Inheritance

Object
     goog.ui.IdGenerator

Constructor

goog.ui.IdGenerator()

Instance Methods

Public Protected Private
getNextUniqueId()
Gets the next unique ID.
Returns:   The next unique identifier.
code »

Instance Properties

nextId_ :
Next unique ID to use
Code »

Static Properties

goog.ui.IdGenerator.instance :
Default instance for id generation. Done as an instance instead of statics so it's possible to inject a mock for unit testing purposes.
Code »

Package ui

Package Reference