Class CmsBrowserFrame

java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractEmbedded
com.vaadin.ui.BrowserFrame
org.opencms.ui.components.CmsBrowserFrame
All Implemented Interfaces:
com.vaadin.event.ContextClickEvent.ContextClickNotifier, com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Sizeable, com.vaadin.shared.Connector, com.vaadin.ui.Component, Serializable

public class CmsBrowserFrame extends com.vaadin.ui.BrowserFrame
Extending the browser frame class to allow setting of the iFrame name attribute.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector

    com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener

    Nested classes/interfaces inherited from interface com.vaadin.ui.Component

    com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener

    Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable

    com.vaadin.server.Sizeable.Unit
  • Field Summary

    Fields inherited from class com.vaadin.ui.AbstractComponent

    DESIGN_ATTR_PLAIN_TEXT

    Fields inherited from interface com.vaadin.server.Sizeable

    SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new empty browser frame.
    Creates a new empty browser frame with the given caption.
    CmsBrowserFrame(String caption, com.vaadin.server.Resource source)
    Creates a new browser frame with the given caption and content.
  • Method Summary

    Modifier and Type
    Method
    Description
    Sets the iFrame name attribute.
     
    getState(boolean markAsDirty)
     
    void
    Returns the iFrame name attribute.

    Methods inherited from class com.vaadin.ui.AbstractEmbedded

    getAlternateText, getCustomAttributes, getSource, readDesign, setAlternateText, setSource, writeDesign

    Methods inherited from class com.vaadin.ui.AbstractComponent

    addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined

    Methods inherited from class com.vaadin.server.AbstractClientConnector

    addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.server.ClientConnector

    addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler

    Methods inherited from interface com.vaadin.ui.Component

    addStyleNames, getUI, removeStyleNames, setStyleName

    Methods inherited from interface com.vaadin.shared.Connector

    getConnectorId
  • Constructor Details

    • CmsBrowserFrame

      public CmsBrowserFrame()
      Creates a new empty browser frame.
    • CmsBrowserFrame

      public CmsBrowserFrame(String caption)
      Creates a new empty browser frame with the given caption.
      Parameters:
      caption - The caption for the component
    • CmsBrowserFrame

      public CmsBrowserFrame(String caption, com.vaadin.server.Resource source)
      Creates a new browser frame with the given caption and content.
      Parameters:
      caption - The caption for the component.
      source - A Resource representing the Web page that should be displayed.
  • Method Details

    • getName

      public String getName()
      Sets the iFrame name attribute.

      Returns:
      the iFrame name attribute
    • setName

      public void setName(String name)
      Returns the iFrame name attribute.

      Parameters:
      name - the iFrame name attribute
    • getState

      Overrides:
      getState in class com.vaadin.ui.BrowserFrame
      See Also:
      • BrowserFrame.getState()
    • getState

      protected CmsBrowserFrameState getState(boolean markAsDirty)
      Overrides:
      getState in class com.vaadin.ui.BrowserFrame
      See Also:
      • AbstractEmbedded.getState(boolean)