public class

NamedFrame

extends Frame
java.lang.Object
   ↳ com.google.gwt.user.client.ui.UIObject
     ↳ com.google.gwt.user.client.ui.Widget
       ↳ com.google.gwt.user.client.ui.Frame
         ↳ com.google.gwt.user.client.ui.NamedFrame

Class Overview

A Frame that has a 'name' associated with it. This allows the frame to be the target of a FormPanel

CSS Style Rules

  • .gwt-Frame { }

Summary

[Expand]
Inherited Constants
From class com.google.gwt.user.client.ui.UIObject
Public Constructors
NamedFrame(String name)
Constructs a frame with the given name.
Public Methods
String getName()
Gets the name associated with this frame.
[Expand]
Inherited Methods
From class com.google.gwt.user.client.ui.Frame
From class com.google.gwt.user.client.ui.Widget
From class com.google.gwt.user.client.ui.UIObject
From class java.lang.Object
From interface com.google.gwt.event.logical.shared.HasAttachHandlers
From interface com.google.gwt.event.shared.HasHandlers
From interface com.google.gwt.user.client.EventListener
From interface com.google.gwt.user.client.ui.IsWidget

Public Constructors

public NamedFrame (String name)

Constructs a frame with the given name.

Parameters
name the name of the frame, which must contain at least one non-whitespace character and must not contain reserved HTML markup characters such as '<', '>', or '&'
Throws
IllegalArgumentException if the supplied name is not allowed

Public Methods

public String getName ()

Gets the name associated with this frame.

Returns
  • the frame's name