java.lang.Object
org.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zk.ui.HtmlMacroComponent
de.hybris.platform.cockpit.components.sectionpanel.SectionPanel
All Implemented Interfaces:
DesktopRemovalAwareComponent, Serializable, Cloneable, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.ext.AfterCompose, org.zkoss.zk.ui.ext.DynamicPropertied, org.zkoss.zk.ui.ext.Macro, org.zkoss.zk.ui.ext.Scope, org.zkoss.zk.ui.IdSpace, org.zkoss.zk.ui.sys.ComponentCtrl

public final class SectionPanel extends org.zkoss.zk.ui.HtmlMacroComponent implements DesktopRemovalAwareComponent
See Also:
  • Field Details

  • Constructor Details

    • SectionPanel

      public SectionPanel()
  • Method Details

    • registerSectionComponent

      protected void registerSectionComponent(Section section, SectionPanel.SectionComponent comp)
    • getSectionComponent

      public SectionPanel.SectionComponent getSectionComponent(Section section)
    • registerRowComponent

      protected void registerRowComponent(Section section, SectionRow row, SectionPanel.SectionRowComponent comp)
    • unregisterRowComponents

      protected void unregisterRowComponents(Section section)
    • getRowComponent

      protected SectionPanel.SectionRowComponent getRowComponent(SectionRow row)
    • getContextMenu

      protected org.zkoss.zul.Menupopup getContextMenu()
    • getSectionContainer

      protected org.zkoss.zk.ui.Component getSectionContainer()
    • getSectionContainerDiv

      protected org.zkoss.zk.ui.Component getSectionContainerDiv()
    • getMainBorderlayout

      protected org.zkoss.zk.ui.Component getMainBorderlayout()
    • getMessageContainer

      protected org.zkoss.zk.ui.Component getMessageContainer()
    • getLabelContainer

      protected org.zkoss.zk.ui.Component getLabelContainer()
    • getInfoContainer

      protected org.zkoss.zk.ui.Component getInfoContainer()
    • createRowComponent

      public org.zkoss.zk.ui.HtmlBasedComponent createRowComponent(Section section, SectionRow row, org.zkoss.zk.ui.Component rowContainer, org.zkoss.zk.ui.Component sectionContentContainer)
    • renderRowValue

      protected void renderRowValue(org.zkoss.zk.ui.Component valueContainer, SectionRow row)
    • renderRowValue

      protected void renderRowValue(org.zkoss.zk.ui.Component valueContainer, SectionRow row, boolean useRowRenderer)
    • createRowComponent

      public SectionPanel.SectionRowComponent createRowComponent(Section section, SectionRow row, org.zkoss.zk.ui.Component rowContainer, org.zkoss.zk.ui.Component sectionContentContainer, String labelWidth)
    • createRowValueContainer

      protected org.zkoss.zul.Div createRowValueContainer(SectionRow row)
    • createRowContextMenu

      protected org.zkoss.zul.Menupopup createRowContextMenu(SectionRow row, Section section)
    • collapseAllSections

      protected void collapseAllSections(SectionPanel.SectionComponent exclude)
    • expandAllSections

      protected void expandAllSections()
    • appendPanelSpecificMenuItems

      protected void appendPanelSpecificMenuItems(org.zkoss.zul.Menupopup menuPopUp)
    • appendSectionSpecificMenuItems

      protected void appendSectionSpecificMenuItems(org.zkoss.zul.Menupopup menuPopUp, Section section)
    • createRowsMenu

      protected org.zkoss.zul.Menu createRowsMenu(Section section)
    • resetRowsMenu

      protected void resetRowsMenu(SectionPanel panel, Section section, org.zkoss.zul.Menupopup nmp)
    • appendViewSettingsMenu

      protected void appendViewSettingsMenu(org.zkoss.zul.Menupopup menuPopUp)
    • createSectionContextMenu

      protected org.zkoss.zul.Menupopup createSectionContextMenu(Section section)
    • getLabel

      public String getLabel()
    • getImageUrl

      public String getImageUrl()
    • getMessages

      public List<Message> getMessages()
    • getAllSectionComponents

      protected List<SectionPanel.SectionComponent> getAllSectionComponents()
    • setSectionRowRenderer

      public void setSectionRowRenderer(SectionRowRenderer sectionRowRenderer)
    • getSectionRowRenderer

      public SectionRowRenderer getSectionRowRenderer()
    • getSectionRenderer

      public SectionRenderer getSectionRenderer()
    • setSectionRenderer

      public void setSectionRenderer(SectionRenderer sectionRenderer)
    • setModel

      public void setModel(SectionPanelModel model)
    • resetSectionMenu

      protected void resetSectionMenu(org.zkoss.zul.Menu menu)
    • resetInfoContainer

      protected void resetInfoContainer()
    • updateSectionPositions

      protected void updateSectionPositions()
    • onPortalMoved

      public void onPortalMoved(org.zkoss.zkmax.event.PortalMoveEvent event)
    • onDrop

      public void onDrop(org.zkoss.zk.ui.event.DropEvent event)
    • onShowAllMessages

      public void onShowAllMessages()
    • afterCompose

      public void afterCompose()
      Specified by:
      afterCompose in interface org.zkoss.zk.ui.ext.AfterCompose
      Overrides:
      afterCompose in class org.zkoss.zk.ui.HtmlMacroComponent
    • resetView

      protected void resetView()
    • getModel

      public SectionPanelModel getModel()
    • doSectionRemoved

      protected void doSectionRemoved(Section section)
    • doSectionHidden

      protected void doSectionHidden(Section section)
    • doSectionShown

      protected void doSectionShown(Section section)
    • doSectionUpdated

      protected void doSectionUpdated(Section section)
    • doSectionAdded

      protected void doSectionAdded(Section section)
    • getSection

      protected Section getSection(SectionRow row)
    • doRowUpdated

      protected void doRowUpdated(SectionRow row)
    • doRowHidden

      protected void doRowHidden(SectionRow row)
    • doRowShown

      protected void doRowShown(SectionRow row)
    • onCtrlKey

      public void onCtrlKey(org.zkoss.zk.ui.event.KeyEvent keyEvent)
    • handleKeyDown

      public void handleKeyDown()
    • highlightRow

      protected void highlightRow(SectionRow sectionRow)
    • setRowStatus

      public void setRowStatus(SectionRow row, int status, String localizedMsg)
    • setSectionHeaderStatus

      public void setSectionHeaderStatus(Section section, int status)
    • attacheValidationMenupopup

      public void attacheValidationMenupopup(SectionRow row, org.zkoss.zul.Menupopup menuPopup)
    • getAllRows

      public Set<SectionRow> getAllRows()
    • getNextVisibleRow

      protected SectionRow getNextVisibleRow(SectionRow row)
    • focusNext

      public void focusNext(SectionRow row, String nextIso)
    • setSelectedRow

      public void setSelectedRow(SectionRow selectedRow)
    • setSelectedRow

      public void setSelectedRow(SectionRow selectedRow, boolean highlight)
    • getSelectedRow

      public SectionRow getSelectedRow()
    • setMessageBoxRenderer

      public void setMessageBoxRenderer(MessageBoxRenderer messageBoxRenderer)
    • getMessageBoxRenderer

      public MessageBoxRenderer getMessageBoxRenderer()
    • setAlternateOpen

      public void setAlternateOpen(boolean alternateOpen)
    • isAlternateOpen

      public boolean isAlternateOpen()
    • setFlatSectionLayout

      public void setFlatSectionLayout(boolean flatSectionLayout)
    • isFlatSectionLayout

      public boolean isFlatSectionLayout()
    • detach

      public void detach()
      Specified by:
      detach in interface org.zkoss.zk.ui.Component
      Overrides:
      detach in class org.zkoss.zk.ui.AbstractComponent
    • updateMode

      protected void updateMode(org.zkoss.zk.ui.Component parent)
    • isCollectionReference

      protected boolean isCollectionReference(PropertyDescriptor propertyDescriptor)
    • desktopRemoved

      public void desktopRemoved(org.zkoss.zk.ui.Desktop desktop)
      Specified by:
      desktopRemoved in interface DesktopRemovalAwareComponent
    • onPageDetached

      public void onPageDetached(org.zkoss.zk.ui.Page page)
      Specified by:
      onPageDetached in interface org.zkoss.zk.ui.sys.ComponentCtrl
      Overrides:
      onPageDetached in class org.zkoss.zk.ui.AbstractComponent
    • setRowLabelWidth

      public void setRowLabelWidth(String rowLabelWidth)
    • getRowLabelWidth

      public String getRowLabelWidth()
    • setSectionPanelLabelRenderer

      public void setSectionPanelLabelRenderer(SectionPanelLabelRenderer sectionPanelLabelRenderer)
    • getSectionPanelLabelRenderer

      public SectionPanelLabelRenderer getSectionPanelLabelRenderer()
    • setLazyLoad

      public void setLazyLoad(boolean lazyLoad)
    • isLazyLoad

      public boolean isLazyLoad()
    • setEditMode

      public void setEditMode(boolean editMode)
    • isEditMode

      public boolean isEditMode()
    • setSectionsChangeAllowed

      public void setSectionsChangeAllowed(boolean sectionsChangeAllowed)
    • isSectionsChangeAllowed

      public boolean isSectionsChangeAllowed()