Class ComplexPanel

Object
AbstractClientConnector
AbstractComponent
AbstractComponentContainer
AbstractLayout
AbstractOrderedLayout
VerticalLayout
VerticalLayout
ComplexPanel
All Implemented Interfaces:
ExecutionContextAware, ContextClickEvent.ContextClickNotifier, LayoutEvents.LayoutClickNotifier, MethodEventSource, ClientConnector, Sizeable, Connector, Component, ComponentContainer, HasComponents, HasComponents.ComponentAttachDetachNotifier, Layout, Layout.AlignmentHandler, Layout.MarginHandler, Layout.SpacingHandler, Serializable, Iterable<Component>

@Component @Scope("prototype") public class ComplexPanel extends VerticalLayout implements ExecutionContextAware
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from interface ClientConnector

    ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener

    Nested classes/interfaces inherited from interface Component

    Component.ErrorEvent, Component.Event, Component.Focusable, Component.Listener

    Nested classes/interfaces inherited from interface HasComponents

    HasComponents.ComponentAttachDetachNotifier, HasComponents.ComponentAttachEvent, HasComponents.ComponentAttachListener, HasComponents.ComponentDetachEvent, HasComponents.ComponentDetachListener

    Nested classes/interfaces inherited from interface Layout

    Layout.AlignmentHandler, Layout.MarginHandler, Layout.SpacingHandler

    Nested classes/interfaces inherited from interface Sizeable

    Sizeable.Unit
  • Field Summary

    Fields inherited from class AbstractOrderedLayout

    ALIGNMENT_DEFAULT, components

    Fields inherited from class AbstractComponent

    DESIGN_ATTR_PLAIN_TEXT

    Fields inherited from interface 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addIconButton(String caption, String description, Resource icon, Script clickScript)
     
    void
    addIconButton(String caption, String description, Resource icon, Runnable runnable)
     
    void
     
    void
    addMenuItem(String caption, String description, Resource icon, Script clickScript)
     
    void
    addMenuItem(String caption, String description, Resource icon, Runnable runnable)
     
     
     
    Coleta o contexto de execucao deste campo
     
    Label
     
    boolean
     
    void
    setCaption(String caption)
     
    void
    setCaptionAsHtml(boolean captionAsHtml)
     
    void
    Configura o contexto de execuco do campo
    void
    setHeight(String height)
     
    void
    setSubTitleLabel(String subTitleLabel)
     
    void
     

    Methods inherited from class VerticalLayout

    addComponentsAndExpand, getState, getState

    Methods inherited from class AbstractOrderedLayout

    addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getCustomAttributes, getDefaultComponentAlignment, getExpandRatio, getMargin, isSpacing, iterator, readDesign, removeComponent, removeLayoutClickListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing, writeDesign

    Methods inherited from class AbstractLayout

    readMargin, writeMargin

    Methods inherited from class AbstractComponentContainer

    addComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidth

    Methods inherited from class AbstractComponent

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

    Methods inherited from class 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 Object

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

    Methods inherited from interface ClientConnector

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

    Methods inherited from interface Component

    addListener, addStyleName, addStyleNames, attach, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible

    Methods inherited from interface ComponentContainer

    addComponents, getComponentIterator, moveComponentsFrom, removeAllComponents

    Methods inherited from interface Connector

    getConnectorId

    Methods inherited from interface HasComponents.ComponentAttachDetachNotifier

    addComponentAttachListener, addComponentDetachListener, removeComponentAttachListener, removeComponentDetachListener

    Methods inherited from interface Iterable

    forEach, spliterator

    Methods inherited from interface Sizeable

    getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidthFull, setWidthUndefined
  • Constructor Details

    • ComplexPanel

      public ComplexPanel()
  • Method Details

    • getCaption

      public String getCaption()
      Specified by:
      getCaption in interface Component
      Overrides:
      getCaption in class AbstractComponent
    • getTitleLabel

      public Label getTitleLabel()
    • setCaption

      public void setCaption(String caption)
      Specified by:
      setCaption in interface Component
      Overrides:
      setCaption in class AbstractComponent
    • setCaptionAsHtml

      public void setCaptionAsHtml(boolean captionAsHtml)
      Overrides:
      setCaptionAsHtml in class AbstractComponent
    • isCaptionAsHtml

      public boolean isCaptionAsHtml()
      Overrides:
      isCaptionAsHtml in class AbstractComponent
    • setHeight

      public void setHeight(String height)
      Specified by:
      setHeight in interface Sizeable
      Overrides:
      setHeight in class AbstractComponent
    • setWidth

      public void setWidth(String width)
      Specified by:
      setWidth in interface Sizeable
      Overrides:
      setWidth in class AbstractComponent
    • getContentLayout

      public ComplexPanel.WrapperPanel getContentLayout()
    • addIconButton

      public void addIconButton(String caption, String description, Resource icon, Script clickScript)
    • addMenuItem

      public void addMenuItem(String caption, String description, Resource icon, Script clickScript)
    • addMenuBarStyleName

      public void addMenuBarStyleName(String name)
    • addIconButton

      public void addIconButton(String caption, String description, Resource icon, Runnable runnable)
    • addMenuItem

      public void addMenuItem(String caption, String description, Resource icon, Runnable runnable)
    • setExecutionContext

      public void setExecutionContext(ExecutionContext context)
      Description copied from interface: ExecutionContextAware
      Configura o contexto de execuco do campo
      Specified by:
      setExecutionContext in interface ExecutionContextAware
      Parameters:
      context -
    • getExecutionContext

      public ExecutionContext getExecutionContext()
      Description copied from interface: ExecutionContextAware
      Coleta o contexto de execucao deste campo
      Specified by:
      getExecutionContext in interface ExecutionContextAware
      Returns:
    • getSubTitleLabel

      public String getSubTitleLabel()
    • setSubTitleLabel

      public void setSubTitleLabel(String subTitleLabel)