Class DefaultSectionPanelModel
- java.lang.Object
-
- de.hybris.platform.cockpit.components.sectionpanel.AbstractSectionPanelModel
-
- de.hybris.platform.cockpit.components.sectionpanel.DefaultSectionPanelModel
-
- All Implemented Interfaces:
RowlayoutSectionPanelModel,SectionPanelModel
- Direct Known Subclasses:
DefaultEditorSectionPanelModel
public class DefaultSectionPanelModel extends AbstractSectionPanelModel implements RowlayoutSectionPanelModel
-
-
Constructor Summary
Constructors Constructor Description DefaultSectionPanelModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSection(Section section, java.util.List<SectionRow> rows)java.util.Set<SectionRow>getAllRows()java.util.Map<java.lang.String,java.lang.Object>getContext()SectionRowgetNextVisibleRow(SectionRow row)java.util.List<SectionRow>getRows(Section section)SectiongetSectionForRow(SectionRow row)voidhideRow(SectionRow row)voidhideSection(Section section)voidinitialize()voidmoveRow(SectionRow row, Section sectionTo, int index)voidremoveAllSections()voidremoveSection(Section section)voidreset()voidsetRows(Section section, java.util.List<SectionRow> rows)voidsetRowStatus(SectionRow row, int status)voidsetRowStatus(SectionRow row, int status, java.lang.String localizedMsg)voidsetSectionHeaderStatus(Section section, int status)voidsetValidationIconMenu(SectionRow row, org.zkoss.zul.Menupopup menuPopup)voidshowRow(SectionRow row)voidshowSection(Section section)voidupdate()voidupdateRow(SectionRow row)-
Methods inherited from class de.hybris.platform.cockpit.components.sectionpanel.AbstractSectionPanelModel
addMessage, addModelListener, addSection, addSections, clearMessages, fireAttacheValidationIconMenu, fireMessagesChanged, fireRowHide, fireRowMoved, fireRowShow, fireRowStatusChange, fireRowUpdate, fireSectionAdded, fireSectionHeaderChange, fireSectionHide, fireSectionMoved, fireSectionRemoved, fireSectionRenamed, fireSectionShow, fireSectionUpdate, getImageUrl, getLabel, getMessages, getSectionByLabel, getSections, hideMessage, moveSection, refreshInfoContainer, removeModelListener, removeSections, renameSection, rowUpdated, sectionUpdated, setImageUrl, setLabel, setSections, showAllMessages, showMessage
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.components.sectionpanel.SectionPanelModel
addModelListener, addSection, addSections, getImageUrl, getLabel, getMessages, getSections, removeModelListener, removeSections, setSections
-
-
-
-
Method Detail
-
setRows
public void setRows(Section section, java.util.List<SectionRow> rows)
-
addSection
public void addSection(Section section, java.util.List<SectionRow> rows)
-
reset
public void reset()
-
removeAllSections
public void removeAllSections()
- Specified by:
removeAllSectionsin interfaceSectionPanelModel- Overrides:
removeAllSectionsin classAbstractSectionPanelModel
-
removeSection
public void removeSection(Section section)
- Specified by:
removeSectionin interfaceSectionPanelModel- Overrides:
removeSectionin classAbstractSectionPanelModel
-
getRows
public java.util.List<SectionRow> getRows(Section section)
- Specified by:
getRowsin interfaceRowlayoutSectionPanelModel
-
getSectionForRow
public Section getSectionForRow(SectionRow row)
-
moveRow
public void moveRow(SectionRow row, Section sectionTo, int index)
-
hideRow
public void hideRow(SectionRow row)
-
showRow
public void showRow(SectionRow row)
- Specified by:
showRowin interfaceRowlayoutSectionPanelModel
-
getNextVisibleRow
public SectionRow getNextVisibleRow(SectionRow row)
- Specified by:
getNextVisibleRowin interfaceRowlayoutSectionPanelModel
-
setRowStatus
public void setRowStatus(SectionRow row, int status)
- Specified by:
setRowStatusin interfaceRowlayoutSectionPanelModel
-
setRowStatus
public void setRowStatus(SectionRow row, int status, java.lang.String localizedMsg)
- Specified by:
setRowStatusin interfaceRowlayoutSectionPanelModel
-
updateRow
public void updateRow(SectionRow row)
- Specified by:
updateRowin interfaceRowlayoutSectionPanelModel
-
hideSection
public void hideSection(Section section)
- Specified by:
hideSectionin classAbstractSectionPanelModel
-
showSection
public void showSection(Section section)
- Specified by:
showSectionin interfaceSectionPanelModel- Specified by:
showSectionin classAbstractSectionPanelModel
-
initialize
public void initialize()
- Specified by:
initializein interfaceSectionPanelModel
-
update
public void update()
- Specified by:
updatein interfaceSectionPanelModel
-
getContext
public java.util.Map<java.lang.String,java.lang.Object> getContext()
- Specified by:
getContextin interfaceSectionPanelModel- Overrides:
getContextin classAbstractSectionPanelModel
-
getAllRows
public java.util.Set<SectionRow> getAllRows()
- Specified by:
getAllRowsin interfaceRowlayoutSectionPanelModel
-
setSectionHeaderStatus
public void setSectionHeaderStatus(Section section, int status)
- Specified by:
setSectionHeaderStatusin interfaceRowlayoutSectionPanelModel
-
setValidationIconMenu
public void setValidationIconMenu(SectionRow row, org.zkoss.zul.Menupopup menuPopup)
- Specified by:
setValidationIconMenuin interfaceRowlayoutSectionPanelModel
-
-