com.google.gwt.user.client.ui
Class NamedFrame

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Frame
              extended by com.google.gwt.user.client.ui.NamedFrame
All Implemented Interfaces:
EventListener

public class NamedFrame
extends Frame

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


Constructor Summary
NamedFrame(java.lang.String name)
          Constructs a frame with the given name.
 
Method Summary
 java.lang.String getName()
          Gets the name associated with this frame.
 
Methods inherited from class com.google.gwt.user.client.ui.Frame
getUrl, setUrl
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
doAttachChildren, doDetachChildren, getParent, isAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setElement
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedFrame

public NamedFrame(java.lang.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:
java.lang.IllegalArgumentException - if the supplied name is not allowed
Method Detail

getName

public java.lang.String getName()
Gets the name associated with this frame.

Returns:
the frame's name