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

java.lang.Object
  extended bycom.google.gwt.user.client.ui.UIObject
      extended bycom.google.gwt.user.client.ui.Widget
          extended bycom.google.gwt.user.client.ui.Frame
              extended bycom.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
getParent, isAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setElement
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getTitle, isVisible, isVisible, removeStyleName, resetStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, 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