@Tag(value="object") public class HtmlObject extends HtmlContainer implements ClickNotifier<HtmlObject>, HasOrderedComponents, Focusable<HtmlObject>
<object> element.BlurNotifier.BlurEvent<C extends Component>FocusNotifier.FocusEvent<C extends Component>HasText.WhiteSpace| Constructor and Description |
|---|
HtmlObject()
Creates a new
<object> component. |
HtmlObject(AbstractStreamResource data)
Creates a new
<object> component with given data
resource value. |
HtmlObject(AbstractStreamResource data,
Param... params)
Creates a new
<object> component with given data
resource value and "param" components. |
HtmlObject(AbstractStreamResource data,
String type)
Creates a new
<object> component with given data
resource and type value. |
HtmlObject(AbstractStreamResource data,
String type,
Param... params)
Creates a new
<object> component with given data
resource, type value and "param" components. |
HtmlObject(String data,
Param... params)
Creates a new
<object> component with given data and
"param" components. |
HtmlObject(String data,
String type)
Creates a new
<object> component with given data and
type attribute values. |
HtmlObject(String data,
String type,
Param... params)
Creates a new
<object> component with given data, type
attribute values and and "param" components. |
| Modifier and Type | Method and Description |
|---|---|
String |
getData()
Gets the "data" attribute value.
|
Optional<String> |
getType()
Gets the "type" attribute value.
|
void |
setData(AbstractStreamResource data)
Sets the
StreamResource URL as "data" attribute value . |
void |
setData(String data)
Sets the "data" attribute value.
|
void |
setType(String type)
Sets the "type" attribute value.
|
getTitle, setTitleaddListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClickListener, addClickShortcutgetChildren, getComponentAt, getComponentCount, indexOf, replaceadd, add, addComponentAsFirst, addComponentAtIndex, remove, removeAllisEnabled, setEnabledgetElementaddFocusShortcut, blur, focus, getTabIndex, setTabIndexaddBlurListeneraddFocusListenergetText, getWhiteSpace, setText, setWhiteSpacegetCssSize, getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFulladdClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameaddAttachListeneraddDetachListenerpublic HtmlObject()
<object> component.public HtmlObject(String data, String type)
<object> component with given data and
type attribute values.data - a data attribute valuetype - a type attribute valuesetData(String),
setType(String)public HtmlObject(String data, String type, Param... params)
<object> component with given data, type
attribute values and and "param" components.data - a data attribute valuetype - a type attribute valueparams - parameter componentssetData(String),
setType(String),
HasComponents.add(Component...)public HtmlObject(AbstractStreamResource data, String type)
<object> component with given data
resource and type value.data - the resource value, not nulltype - a type attribute valuesetData(AbstractStreamResource),
setType(String)public HtmlObject(AbstractStreamResource data, String type, Param... params)
<object> component with given data
resource, type value and "param" components.data - a data attribute valuetype - a type attribute valueparams - parameter componentssetData(String),
setType(String),
HasComponents.add(Component...)public HtmlObject(String data, Param... params)
<object> component with given data and
"param" components.data - a data attribute valueparams - parameter componentssetData(String),
HasComponents.add(Component...)public HtmlObject(AbstractStreamResource data)
<object> component with given data
resource value.data - the resource value, not nullsetData(AbstractStreamResource)public HtmlObject(AbstractStreamResource data, Param... params)
<object> component with given data
resource value and "param" components.data - the resource value, not nullparams - parameter componentssetData(AbstractStreamResource),
HasComponents.add(Component...)public void setData(String data)
data - a "data" attribute valuepublic void setData(AbstractStreamResource data)
StreamResource URL as "data" attribute value .data - a "data" attribute value,, not nullpublic String getData()
setData(String),
setData(AbstractStreamResource)public void setType(String type)
type - a "type" attribute valuepublic Optional<String> getType()
setType(String)Copyright © 2021. All rights reserved.