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 void
addMessage(Message msg)
void
addModelListener(SectionPanelListener sectionPanelListener)
void
addSection(Section section)
void
addSections(java.util.List<Section> sections)
void
clearMessages()
protected void
fireAttacheValidationIconMenu(SectionRow row, org.zkoss.zul.Menupopup menuPopup)
protected void
fireMessagesChanged()
protected void
fireRowHide(SectionRow row)
protected void
fireRowMoved(Section source, Section target)
protected void
fireRowShow(SectionRow row)
protected void
fireRowStatusChange(SectionRow row, int status, java.lang.String localizedMsg)
protected void
fireRowUpdate(SectionRow row)
protected void
fireSectionAdded(Section section)
protected void
fireSectionHeaderChange(Section section, int status)
protected void
fireSectionHide(Section section)
protected void
fireSectionMoved()
protected void
fireSectionRemoved(Section section)
protected void
fireSectionRenamed(Section section)
protected void
fireSectionShow(Section section)
protected void
fireSectionUpdate(Section section)
java.util.Map<java.lang.String,java.lang.Object>
getContext()
java.lang.String
getImageUrl()
java.lang.String
getLabel()
java.util.List<Message>
getMessages()
Section
getSectionByLabel(java.lang.String label)
java.util.List<Section>
getSections()
void
hideMessage(Message msg)
abstract void
hideSection(Section section)
void
moveSection(Section section, int index)
void
refreshInfoContainer()
void
removeAllSections()
void
removeModelListener(SectionPanelListener sectionPanelListener)
void
removeSection(Section section)
void
removeSections(java.util.Collection<Section> sections)
void
renameSection(Section section, java.lang.String label)
void
rowUpdated(SectionRow row)
void
sectionUpdated(Section section)
void
setImageUrl(java.lang.String url)
void
setLabel(java.lang.String label)
void
setSections(java.util.List<Section> newSections)
void
showAllMessages()
void
showMessage(Message msg)
abstract void
showSection(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:
getLabel
in 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:
getImageUrl
in interfaceSectionPanelModel
-
getSectionByLabel
public Section getSectionByLabel(java.lang.String label)
-
getSections
public java.util.List<Section> getSections()
- Specified by:
getSections
in interfaceSectionPanelModel
-
renameSection
public void renameSection(Section section, java.lang.String label)
-
addModelListener
public void addModelListener(SectionPanelListener sectionPanelListener)
- Specified by:
addModelListener
in interfaceSectionPanelModel
-
removeModelListener
public void removeModelListener(SectionPanelListener sectionPanelListener)
- Specified by:
removeModelListener
in interfaceSectionPanelModel
-
removeSection
public void removeSection(Section section)
- Specified by:
removeSection
in interfaceSectionPanelModel
-
removeAllSections
public void removeAllSections()
- Specified by:
removeAllSections
in interfaceSectionPanelModel
-
addSection
public void addSection(Section section)
- Specified by:
addSection
in interfaceSectionPanelModel
-
addSections
public void addSections(java.util.List<Section> sections)
- Specified by:
addSections
in interfaceSectionPanelModel
-
removeSections
public void removeSections(java.util.Collection<Section> sections)
- Specified by:
removeSections
in interfaceSectionPanelModel
-
setSections
public void setSections(java.util.List<Section> newSections)
- Specified by:
setSections
in interfaceSectionPanelModel
-
hideSection
public abstract void hideSection(Section section)
-
showSection
public abstract void showSection(Section section)
- Specified by:
showSection
in 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:
getMessages
in 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:
getContext
in interfaceSectionPanelModel
-
-