Component for embedding external objects.
3.0
Inheritance Path. java.lang.Object-> com.itmill.toolkit.ui.AbstractComponent -> com.itmill.toolkit.ui.Embedded
Creates a new Embedded object whose contents is loaded from given resource. The dimensions are assumed if possible. The type is guessed from resource.
Parameters
String
Returns the codebase, the root-path used to access resources with relative paths.
Parameters
The height in units specified by heightUnits property.
Returns the visual height of the object. Default height is -1, which is interpreted as "unspecified".
getHeightUnits()
Get height property units.
Default units are
Sizeable.UNITS_PIXELS
.
Parameters
Value of parameter or null if not found.
Get the value of an object parameter. Parameters are optional information, and they are passed to the instantiated object. Parameters are are stored as name value pairs.
Parameters
Iterator of parameters names.
Get embedded object parameter names.
Parameters
String
Returns the standby text displayed when the object is loading.
Parameters
int
Get the type of the embedded object.
This can be one of the following:
TYPE_OBJECT (This is the default)
TYPE_IMAGE
Parameters
The width in units specified by widthUnits property.
Returns the visual width of the object. Default width is -1, which is interpreted as "unspecified".
getWidthUnits()
Get width property units.
Default units are
Sizeable.UNITS_PIXELS
.
Parameters
name
- The name of the parameter to remove.
Remove an object parameter from the list.
Parameters
codebase
The codebase to set
Sets the codebase, the root-path used to access resources with relative paths.
Parameters
codetype
The codetype to set
Sets the codetype, the MIME-Type of the code.
Parameters
height
The height in units specified by heightUnits property.
Sets the visual height of the object. Default height is -1, which is interpreted as "unspecified".
Parameters
mimeType
The mimeType to set
Sets the mimeType, the MIME-Type of the object.
Parameters
name
- The name of the parameter.
value
- The value of the parameter.
Set an object parameter. Parameters are optional information, and they are passed to the instantiated object. Parameters are are stored as name value pairs. This overrides the previous value assigned to this parameter.
Parameters
source
The source to set
Set the object source resource. The dimensions are assumed if possible. The type is guessed from resource.
Parameters
standby
The standby to set
Sets the standby, the text to display while loading the object.
Parameters
type
The type to set
Sets the object type.
This can be one of the following:
TYPE_OBJECT (This is the default)
TYPE_IMAGE
Parameters
width
The width in units specified by widthUnits property.
Sets the visual width of the object. Default width is -1, which is interpreted as "unspecified".