protected class VAbsoluteLayout.AbsoluteWrapper
extends com.google.gwt.user.client.ui.SimplePanel
Constructor and Description |
---|
AbsoluteWrapper(com.google.gwt.user.client.ui.Widget child)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Removes the wrapper caption and itself from the layout
|
VCaption |
getCaption()
Get the caption of the wrapper
|
void |
setCaption(VCaption caption)
Set the caption for the wrapper
|
void |
setPosition(String position)
Set the position for the wrapper in the layout
|
void |
setWrapperStyleNames(String... stylenames)
Sets the style names of the wrapper.
|
protected void |
updateStyleNames()
Updates the style names using the primary style name as prefix
|
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public AbsoluteWrapper(com.google.gwt.user.client.ui.Widget child)
child
- The child to wrappublic VCaption getCaption()
public void setCaption(VCaption caption)
caption
- The caption for the wrapperpublic void destroy()
public void setPosition(String position)
position
- The position stringpublic void setWrapperStyleNames(String... stylenames)
stylenames
- The wrapper style namesprotected void updateStyleNames()
Copyright © 2016 Vaadin Ltd. All rights reserved.