Class AbstractSectionPanelModel
- java.lang.Object
-
- de.hybris.platform.cockpit.components.sectionpanel.AbstractSectionPanelModel
-
- All Implemented Interfaces:
SectionPanelModel
- Direct Known Subclasses:
AbstractNavigationAreaModel,DefaultSectionPanelModel
public abstract class AbstractSectionPanelModel extends java.lang.Object implements SectionPanelModel
-
-
Constructor Summary
Constructors Constructor Description AbstractSectionPanelModel()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddMessage(Message msg)voidaddModelListener(SectionPanelListener sectionPanelListener)voidaddSection(Section section)voidaddSections(java.util.List<Section> sections)voidclearMessages()protected voidfireAttacheValidationIconMenu(SectionRow row, org.zkoss.zul.Menupopup menuPopup)protected voidfireMessagesChanged()protected voidfireRowHide(SectionRow row)protected voidfireRowMoved(Section source, Section target)protected voidfireRowShow(SectionRow row)protected voidfireRowStatusChange(SectionRow row, int status, java.lang.String localizedMsg)protected voidfireRowUpdate(SectionRow row)protected voidfireSectionAdded(Section section)protected voidfireSectionHeaderChange(Section section, int status)protected voidfireSectionHide(Section section)protected voidfireSectionMoved()protected voidfireSectionRemoved(Section section)protected voidfireSectionRenamed(Section section)protected voidfireSectionShow(Section section)protected voidfireSectionUpdate(Section section)java.util.Map<java.lang.String,java.lang.Object>getContext()java.lang.StringgetImageUrl()java.lang.StringgetLabel()java.util.List<Message>getMessages()SectiongetSectionByLabel(java.lang.String label)java.util.List<Section>getSections()voidhideMessage(Message msg)abstract voidhideSection(Section section)voidmoveSection(Section section, int index)voidrefreshInfoContainer()voidremoveAllSections()voidremoveModelListener(SectionPanelListener sectionPanelListener)voidremoveSection(Section section)voidremoveSections(java.util.Collection<Section> sections)voidrenameSection(Section section, java.lang.String label)voidrowUpdated(SectionRow row)voidsectionUpdated(Section section)voidsetImageUrl(java.lang.String url)voidsetLabel(java.lang.String label)voidsetSections(java.util.List<Section> newSections)voidshowAllMessages()voidshowMessage(Message msg)abstract voidshowSection(Section section)-
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
initialize, update
-
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabelin interfaceSectionPanelModel
-
setLabel
public void setLabel(java.lang.String label)
-
setImageUrl
public void setImageUrl(java.lang.String url)
-
getImageUrl
public java.lang.String getImageUrl()
- Specified by:
getImageUrlin interfaceSectionPanelModel
-
getSectionByLabel
public Section getSectionByLabel(java.lang.String label)
-
getSections
public java.util.List<Section> getSections()
- Specified by:
getSectionsin interfaceSectionPanelModel
-
renameSection
public void renameSection(Section section, java.lang.String label)
-
addModelListener
public void addModelListener(SectionPanelListener sectionPanelListener)
- Specified by:
addModelListenerin interfaceSectionPanelModel
-
removeModelListener
public void removeModelListener(SectionPanelListener sectionPanelListener)
- Specified by:
removeModelListenerin interfaceSectionPanelModel
-
removeSection
public void removeSection(Section section)
- Specified by:
removeSectionin interfaceSectionPanelModel
-
removeAllSections
public void removeAllSections()
- Specified by:
removeAllSectionsin interfaceSectionPanelModel
-
addSection
public void addSection(Section section)
- Specified by:
addSectionin interfaceSectionPanelModel
-
addSections
public void addSections(java.util.List<Section> sections)
- Specified by:
addSectionsin interfaceSectionPanelModel
-
removeSections
public void removeSections(java.util.Collection<Section> sections)
- Specified by:
removeSectionsin interfaceSectionPanelModel
-
setSections
public void setSections(java.util.List<Section> newSections)
- Specified by:
setSectionsin interfaceSectionPanelModel
-
hideSection
public abstract void hideSection(Section section)
-
showSection
public abstract void showSection(Section section)
- Specified by:
showSectionin interfaceSectionPanelModel
-
sectionUpdated
public void sectionUpdated(Section section)
-
rowUpdated
public void rowUpdated(SectionRow row)
-
fireSectionAdded
protected void fireSectionAdded(Section section)
-
fireSectionRenamed
protected void fireSectionRenamed(Section section)
-
fireSectionRemoved
protected void fireSectionRemoved(Section section)
-
fireAttacheValidationIconMenu
protected void fireAttacheValidationIconMenu(SectionRow row, org.zkoss.zul.Menupopup menuPopup)
-
fireSectionHide
protected void fireSectionHide(Section section)
-
fireSectionShow
protected void fireSectionShow(Section section)
-
fireSectionUpdate
protected void fireSectionUpdate(Section section)
-
fireRowUpdate
protected void fireRowUpdate(SectionRow row)
-
fireRowHide
protected void fireRowHide(SectionRow row)
-
fireRowShow
protected void fireRowShow(SectionRow row)
-
fireRowStatusChange
protected void fireRowStatusChange(SectionRow row, int status, java.lang.String localizedMsg)
-
fireSectionHeaderChange
protected void fireSectionHeaderChange(Section section, int status)
-
fireMessagesChanged
protected void fireMessagesChanged()
-
fireSectionMoved
protected void fireSectionMoved()
-
getMessages
public java.util.List<Message> getMessages()
- Specified by:
getMessagesin interfaceSectionPanelModel
-
addMessage
public void addMessage(Message msg)
-
clearMessages
public void clearMessages()
-
showMessage
public void showMessage(Message msg)
-
showAllMessages
public void showAllMessages()
-
refreshInfoContainer
public void refreshInfoContainer()
-
hideMessage
public void hideMessage(Message msg)
-
moveSection
public void moveSection(Section section, int index)
-
getContext
public java.util.Map<java.lang.String,java.lang.Object> getContext()
- Specified by:
getContextin interfaceSectionPanelModel
-
-