Example usage for Java com.vaadin.ui Embedded fields, constructors, methods, implement or subclass
The text is from its open source code.
int | TYPE_OBJECT General object type. |
int | TYPE_IMAGE Image types. |
int | TYPE_BROWSER Browser ("iframe") type. |
Embedded() Creates a new empty Embedded object. | |
Embedded(String caption, Resource source) Creates a new Embedded object whose contents is loaded from given resource. | |
Embedded(String caption) Creates a new empty Embedded object with caption. |
Registration | addClickListener(ClickListener listener) Add a click listener to the component. |
Registration | addListener(Component.Listener listener) |
void | addStyleName(String style) |
String | getMimeType() Gets the MIME-Type of the object. |
float | getWidth() |
Unit | getWidthUnits() |
void | setAlternateText(String altText) Sets this component's "alt-text", that is, an alternate text that can be presented instead of this component's normal content, for accessibility purposes. |
void | setCaption(String caption) |
void | setData(Object data) Sets the data object, that can be used for any application specific data. |
void | setDebugId(String id) |
void | setDescription(String description) Sets the component's description. |
void | setHeight(String height) |
void | setHeight(float height, Unit unit) |
void | setId(String id) |
void | setMimeType(String mimeType) Sets the mimeType, the MIME-Type of the object. |
void | setSizeFull() |
void | setSizeUndefined() |
void | setSource(Resource source) Sets the object source resource. |
void | setStandby(String standby) This attribute specifies a message that a user agent may render while loading the object's implementation and data. |
void | setStyleName(String style) |
void | setType(int type) Sets the object type. |
void | setVisible(boolean visible) |
void | setWidth(String width) |
void | setWidth(float width, Unit unit) |