Class CrudPanel

Object
AbstractClientConnector
AbstractComponent
AbstractComponentContainer
AbstractLayout
AbstractOrderedLayout
VerticalLayout
VerticalLayout
CrudPanel
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 CrudPanel extends VerticalLayout implements ExecutionContextAware
See Also:
  • Nested Class Summary

    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
     
     
     
     
    Panel
     
    VerticalLayout
     
     
    Coleta o contexto de execucao deste campo
     
    VerticalLayout
     
    Panel
     
     
    Label
     
    Label
     
    boolean
     
    void
     
    void
     
    void
    setCaption(String caption)
     
    void
    setCaptionAsHtml(boolean captionAsHtml)
     
    void
     
    void
    Configura o contexto de execuco do campo
    void
     
    void
    setHeaderLayout(VerticalLayout headerLayout)
     
    void
    setHeight(String height)
     
    void
    setMainPainel(Panel mainPainel)
     
    void
    setSubCaption(String subCaption)
     
    void
    setSubCaptionColor(String subCaptionColor)
     
    void
    setSubTitleLabel(Label subTitleLabel)
     
    void
    setTitleLabel(Label titleLabel)
     
    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

    • CrudPanel

      public CrudPanel()
  • Method Details

    • getCrudPanelExtension

      public CrudPanelExtension getCrudPanelExtension()
    • loadBackgoundImageFromLibrary

      public void loadBackgoundImageFromLibrary(String key, String resourceName)
    • 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
    • getContentPanel

      public VerticalLayout getContentPanel()
    • checkChildrenSizes

      public void checkChildrenSizes()
    • getContentLayout

      public Panel getContentLayout()
    • 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:
    • setSubCaption

      public void setSubCaption(String subCaption)
    • getSubTitleLabel

      public Label getSubTitleLabel()
    • setSubTitleLabel

      public void setSubTitleLabel(Label subTitleLabel)
    • getHeaderBackGroundColor

      public String getHeaderBackGroundColor()
    • setHeaderBackGroundColor

      public void setHeaderBackGroundColor(String color)
    • getAlign

      public String getAlign()
    • setAlign

      public void setAlign(String align)
    • getHeaderLayout

      public VerticalLayout getHeaderLayout()
    • setHeaderLayout

      public void setHeaderLayout(VerticalLayout headerLayout)
    • getCaptionColor

      public String getCaptionColor()
    • setCaptionColor

      public void setCaptionColor(String color)
    • getSubCaptionColor

      public String getSubCaptionColor()
    • setSubCaptionColor

      public void setSubCaptionColor(String subCaptionColor)
    • getMainPainel

      public Panel getMainPainel()
    • setMainPainel

      public void setMainPainel(Panel mainPainel)
    • setTitleLabel

      public void setTitleLabel(Label titleLabel)