com.vaadin.client.ui
Class VEmbedded

java.lang.Object
  extended by HTML
      extended by com.vaadin.client.ui.VEmbedded

public class VEmbedded
extends HTML


Field Summary
 Element browserElement
          For internal use only.
static java.lang.String CLASSNAME
           
 ApplicationConnection client
          For internal use only.
 java.lang.String mimetype
          For internal use only.
 java.lang.String type
          For internal use only.
 
Constructor Summary
VEmbedded()
           
 
Method Summary
 java.lang.String createFlashEmbed(UIDL uidl)
          Creates the Object and Embed tags for the Flash plugin so it works cross-browser.
static java.util.Map<java.lang.String,java.lang.String> getParameters(UIDL uidl)
          Returns a map (name -> value) of all parameters in the UIDL.
 java.lang.String getSrc(UIDL uidl, ApplicationConnection client)
          Helper to return translated src-attribute from embedded's UIDL
 void onBrowserEvent(Event event)
           
protected  void onDetach()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

public static java.lang.String CLASSNAME

browserElement

public Element browserElement
For internal use only. May be removed or replaced in the future.


type

public java.lang.String type
For internal use only. May be removed or replaced in the future.


mimetype

public java.lang.String mimetype
For internal use only. May be removed or replaced in the future.


client

public ApplicationConnection client
For internal use only. May be removed or replaced in the future.

Constructor Detail

VEmbedded

public VEmbedded()
Method Detail

createFlashEmbed

public java.lang.String createFlashEmbed(UIDL uidl)
Creates the Object and Embed tags for the Flash plugin so it works cross-browser.

For internal use only. May be removed or replaced in the future.

Parameters:
uidl - The UIDL
Returns:
Tags concatenated into a string

getParameters

public static java.util.Map<java.lang.String,java.lang.String> getParameters(UIDL uidl)
Returns a map (name -> value) of all parameters in the UIDL.

For internal use only. May be removed or replaced in the future.

Parameters:
uidl -
Returns:

getSrc

public java.lang.String getSrc(UIDL uidl,
                               ApplicationConnection client)
Helper to return translated src-attribute from embedded's UIDL

For internal use only. May be removed or replaced in the future.

Parameters:
uidl -
client -
Returns:

onDetach

protected void onDetach()

onBrowserEvent

public void onBrowserEvent(Event event)


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.