public class WebPopupView extends WebAbstractComponent<com.vaadin.ui.PopupView> implements PopupView
PopupView.PopupVisibilityEvent, PopupView.PopupVisibilityListener
Component.ActionOwner, Component.ActionsHolder, Component.Alignment, Component.BelongToFrame, Component.Buffered, Component.ChildEditableController, Component.Collapsable, Component.Container, Component.Disposable, Component.Editable, Component.EditableChangeEvent, Component.EditableChangeListener, Component.EditableChangeNotifier, Component.ExpandedStateChangeEvent, Component.ExpandedStateChangeListener, Component.Focusable, Component.HasBorder, Component.HasButtonsPanel, Component.HasCaption, Component.HasFormatter, Component.HasIcon, Component.HasInputPrompt, Component.HasNamedComponents, Component.HasPresentations, Component.HasRowsCount, Component.HasSettings, Component.HasValue, Component.HasXmlDescriptor, Component.LayoutClickEvent, Component.LayoutClickListener, Component.LayoutClickNotifier, Component.Margin, Component.MouseEventDetails, Component.OrderedContainer, Component.OuterMargin, Component.SecuredActionsHolder, Component.ShortcutAction, Component.ShortcutNotifier, Component.ShortcutTriggeredEvent, Component.Spacing, Component.UiPermissionAware, Component.Validatable, Component.ValueChangeEvent, Component.ValueChangeListener, Component.Wrapper
ICON_STYLE, UNIT_SYMBOLS
AUTO_SIZE, AUTO_SIZE_PX, UNITS_PERCENTAGE, UNITS_PIXELS
Constructor and Description |
---|
WebPopupView() |
Modifier and Type | Method and Description |
---|---|
void |
addPopupVisibilityListener(PopupView.PopupVisibilityListener listener) |
java.lang.String |
getMinimizedValue() |
Component |
getPopupContent() |
boolean |
isCaptionAsHtml() |
boolean |
isHideOnMouseOut() |
boolean |
isPopupVisible() |
void |
removePopupVisibilityListener(PopupView.PopupVisibilityListener listener) |
void |
setCaption(java.lang.String caption) |
void |
setCaptionAsHtml(boolean value)
Set caption rendering as HTML.
|
void |
setFrame(Frame frame) |
void |
setHideOnMouseOut(boolean value)
Set possibility to close popup window on cursor out.
|
void |
setIcon(java.lang.String icon) |
void |
setMinimizedValue(java.lang.String minimizedValue)
Set value for the label of component.
|
void |
setPopupContent(Component popupContent)
Set inner content for the popup window.
|
void |
setPopupVisible(boolean value)
Set visibility for the popup window.
|
void |
setStyleName(java.lang.String name)
Sets one or more style names of the component, replacing any
previous styles.
|
addStyleName, assignAutoDebugId, getAlignment, getCaption, getComponent, getComponentEnabledFlag, getComponentVisibleFlag, getComposition, getDebugId, getDescription, getFrame, getHeight, getHeightUnits, getIcon, getId, getParent, getStyleName, getWidth, getWidthUnits, getXmlDescriptor, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setDebugId, setDescription, setEnabled, setHeight, setId, setParent, setResponsive, setVisible, setWidth, setXmlDescriptor, unwrap, unwrapComposition
addListener, addListener, fireEvent, hasListeners, removeListener, removeListener
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCaption, getDescription, setDescription
getFrame
addStyleName, getAlignment, getDebugId, getHeight, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthUnits, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setDebugId, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
getIcon
public void setPopupContent(Component popupContent)
PopupView
setPopupContent
in interface PopupView
popupContent
- popup component.public void setFrame(Frame frame)
setFrame
in interface Component.BelongToFrame
setFrame
in class WebAbstractComponent<com.vaadin.ui.PopupView>
public Component getPopupContent()
getPopupContent
in interface PopupView
public void setPopupVisible(boolean value)
PopupView
setPopupVisible
in interface PopupView
value
- popup visibility.public void setHideOnMouseOut(boolean value)
PopupView
setHideOnMouseOut
in interface PopupView
value
- popup hide option.public boolean isHideOnMouseOut()
isHideOnMouseOut
in interface PopupView
public boolean isPopupVisible()
isPopupVisible
in interface PopupView
public void setMinimizedValue(java.lang.String minimizedValue)
PopupView
setMinimizedValue
in interface PopupView
minimizedValue
- label text.public java.lang.String getMinimizedValue()
getMinimizedValue
in interface PopupView
public void setCaptionAsHtml(boolean value)
PopupView
setCaptionAsHtml
in interface PopupView
value
- true if we want to show caption as HTML.public boolean isCaptionAsHtml()
isCaptionAsHtml
in interface PopupView
public void addPopupVisibilityListener(PopupView.PopupVisibilityListener listener)
addPopupVisibilityListener
in interface PopupView
public void removePopupVisibilityListener(PopupView.PopupVisibilityListener listener)
removePopupVisibilityListener
in interface PopupView
public void setCaption(java.lang.String caption)
setCaption
in interface Component.HasCaption
setCaption
in class WebAbstractComponent<com.vaadin.ui.PopupView>
public void setIcon(java.lang.String icon)
setIcon
in interface Component.HasIcon
setIcon
in class WebAbstractComponent<com.vaadin.ui.PopupView>
public void setStyleName(java.lang.String name)
Component
setStyleName
in interface Component
setStyleName
in class WebAbstractComponent<com.vaadin.ui.PopupView>
name
- one or more style names separated by space.