public interface

Statements

com.google.gwt.uibinder.rebind.Statements
Known Indirect Subclasses

Class Overview

Accepts Java statements to be included in generated UiBinder implementations.

Summary

Nested Classes
class Statements.Empty Implementation of Statements which does nothing. 
Fields
public static final Statements EMPTY Instance of Statements which does nothing.
Public Methods
abstract void addDetachStatement(String format, Object... args)
Add a statement to be executed right after the current attached element is detached.
abstract void addInitStatement(String format, Object... params)
Add a statement to be run after everything has been instantiated, in the style of format(String, Object...).
abstract void addStatement(String format, Object... args)
Adds a statement to the block run after fields are declared, in the style of format(String, Object...).

Fields

public static final Statements EMPTY

Instance of Statements which does nothing.

Public Methods

public abstract void addDetachStatement (String format, Object... args)

Add a statement to be executed right after the current attached element is detached. This is useful for doing things that might be expensive while the element is attached to the DOM.

See Also
  • #beginAttachedSection(String)

public abstract void addInitStatement (String format, Object... params)

Add a statement to be run after everything has been instantiated, in the style of format(String, Object...).

public abstract void addStatement (String format, Object... args)

Adds a statement to the block run after fields are declared, in the style of format(String, Object...).