public final class SectionPanel extends HtmlMacroComponent implements DesktopRemovalAwareComponent
| Modifier and Type | Class and Description |
|---|---|
class |
SectionPanel.SectionComponent |
protected class |
SectionPanel.SectionRowComponent |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_SECTION_SELECTED_ROW |
protected static java.lang.String |
EVENT_TAG |
static java.lang.String |
FOCUSABLE_COMPONENT |
protected static java.lang.String |
NAVIGATION_EVENT |
static java.lang.String |
ON_ALL_MESSAGE_SHOW |
static java.lang.String |
ON_ALL_ROWS_SHOW |
static java.lang.String |
ON_ALL_SECTIONS_SHOW |
static java.lang.String |
ON_MESSAGE_CLICKED |
static java.lang.String |
ON_MESSAGE_HIDE |
static java.lang.String |
ON_ROW_HIDE |
static java.lang.String |
ON_ROW_MOVED |
static java.lang.String |
ON_ROW_SHOW |
static java.lang.String |
ON_SECTION_ADDED |
static java.lang.String |
ON_SECTION_CLOSED |
static java.lang.String |
ON_SECTION_HIDE |
static java.lang.String |
ON_SECTION_LABEL_CHANGE |
static java.lang.String |
ON_SECTION_MOVED |
static java.lang.String |
ON_SECTION_OPEN |
static java.lang.String |
ON_SECTION_REMOVED |
static java.lang.String |
ON_SECTION_SHOW |
static java.lang.String |
ON_SECTIONS_COLLAPSED |
static java.lang.String |
ON_SECTIONS_EXPANDED |
protected static java.lang.String |
PERSP_ID |
protected static java.lang.String |
PERSP_TAG
Jumping url stuff for "change constraint" feature
|
protected static java.lang.String |
PNAV_CONSTRAINT |
static java.lang.String |
SECTION_NAME |
static java.lang.String |
SECTION_ROW |
| Constructor and Description |
|---|
SectionPanel() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompose() |
protected void |
appendPanelSpecificMenuItems(Menupopup menuPopUp) |
protected void |
appendSectionSpecificMenuItems(Menupopup menuPopUp,
Section section) |
protected void |
appendViewSettingsMenu(Menupopup menuPopUp) |
void |
attacheValidationMenupopup(SectionRow row,
Menupopup menuPopup) |
protected void |
collapseAllSections(SectionPanel.SectionComponent exclude) |
HtmlBasedComponent |
createRowComponent(Section section,
SectionRow row,
Component rowContainer,
Component sectionContentContainer) |
SectionPanel.SectionRowComponent |
createRowComponent(Section section,
SectionRow row,
Component rowContainer,
Component sectionContentContainer,
java.lang.String labelWidth) |
protected Menupopup |
createRowContextMenu(SectionRow row,
Section section) |
protected Menu |
createRowsMenu(Section section) |
protected Div |
createRowValueContainer(SectionRow row) |
protected Menupopup |
createSectionContextMenu(Section section) |
void |
desktopRemoved(Desktop desktop) |
void |
detach() |
protected void |
doRowHidden(SectionRow row) |
protected void |
doRowShown(SectionRow row) |
protected void |
doRowUpdated(SectionRow row) |
protected void |
doSectionAdded(Section section) |
protected void |
doSectionHidden(Section section) |
protected void |
doSectionRemoved(Section section) |
protected void |
doSectionShown(Section section) |
protected void |
doSectionUpdated(Section section) |
protected void |
expandAllSections() |
void |
focusNext(SectionRow row,
java.lang.String nextIso) |
java.util.Set<SectionRow> |
getAllRows() |
protected java.util.List<SectionPanel.SectionComponent> |
getAllSectionComponents() |
protected Menupopup |
getContextMenu() |
java.lang.String |
getImageUrl() |
protected Component |
getInfoContainer() |
java.lang.String |
getLabel() |
protected Component |
getLabelContainer() |
protected Component |
getMainBorderlayout() |
MessageBoxRenderer |
getMessageBoxRenderer() |
protected Component |
getMessageContainer() |
java.util.List<Message> |
getMessages() |
SectionPanelModel |
getModel() |
protected SectionRow |
getNextVisibleRow(SectionRow row) |
protected SectionPanel.SectionRowComponent |
getRowComponent(SectionRow row) |
java.lang.String |
getRowLabelWidth() |
protected Section |
getSection(SectionRow row) |
SectionPanel.SectionComponent |
getSectionComponent(Section section) |
protected Component |
getSectionContainer() |
protected Component |
getSectionContainerDiv() |
SectionPanelLabelRenderer |
getSectionPanelLabelRenderer() |
SectionRenderer |
getSectionRenderer() |
SectionRowRenderer |
getSectionRowRenderer() |
SectionRow |
getSelectedRow() |
void |
handleKeyDown() |
protected void |
highlightRow(SectionRow sectionRow) |
boolean |
isAlternateOpen() |
protected boolean |
isCollectionReference(PropertyDescriptor propertyDescriptor) |
boolean |
isEditMode() |
boolean |
isFlatSectionLayout() |
boolean |
isLazyLoad() |
boolean |
isSectionsChangeAllowed() |
void |
onCtrlKey(KeyEvent keyEvent) |
void |
onDrop(DropEvent event) |
void |
onPageDetached(Page page) |
void |
onPortalMoved(PortalMoveEvent event) |
void |
onShowAllMessages() |
protected void |
registerRowComponent(Section section,
SectionRow row,
SectionPanel.SectionRowComponent comp) |
protected void |
registerSectionComponent(Section section,
SectionPanel.SectionComponent comp) |
protected void |
renderRowValue(Component valueContainer,
SectionRow row) |
protected void |
renderRowValue(Component valueContainer,
SectionRow row,
boolean useRowRenderer) |
protected void |
resetInfoContainer() |
protected void |
resetRowsMenu(SectionPanel panel,
Section section,
Menupopup nmp) |
protected void |
resetSectionMenu(Menu menu) |
protected void |
resetView() |
void |
setAlternateOpen(boolean alternateOpen) |
void |
setEditMode(boolean editMode) |
void |
setFlatSectionLayout(boolean flatSectionLayout) |
void |
setLazyLoad(boolean lazyLoad) |
void |
setMessageBoxRenderer(MessageBoxRenderer messageBoxRenderer) |
void |
setModel(SectionPanelModel model) |
void |
setRowLabelWidth(java.lang.String rowLabelWidth) |
void |
setRowStatus(SectionRow row,
int status,
java.lang.String localizedMsg) |
void |
setSectionHeaderStatus(Section section,
int status) |
void |
setSectionPanelLabelRenderer(SectionPanelLabelRenderer sectionPanelLabelRenderer) |
void |
setSectionRenderer(SectionRenderer sectionRenderer) |
void |
setSectionRowRenderer(SectionRowRenderer sectionRowRenderer) |
void |
setSectionsChangeAllowed(boolean sectionsChangeAllowed) |
void |
setSelectedRow(SectionRow selectedRow) |
void |
setSelectedRow(SectionRow selectedRow,
boolean highlight) |
protected void |
unregisterRowComponents(Section section) |
protected void |
updateMode(Component parent) |
protected void |
updateSectionPositions() |
public static final java.lang.String CLASS_SECTION_SELECTED_ROW
public static final java.lang.String FOCUSABLE_COMPONENT
public static final java.lang.String ON_SECTION_REMOVED
public static final java.lang.String ON_SECTION_MOVED
public static final java.lang.String ON_SECTION_ADDED
public static final java.lang.String ON_SECTION_HIDE
public static final java.lang.String ON_SECTION_LABEL_CHANGE
public static final java.lang.String ON_SECTION_SHOW
public static final java.lang.String ON_SECTION_OPEN
public static final java.lang.String ON_SECTION_CLOSED
public static final java.lang.String ON_SECTIONS_EXPANDED
public static final java.lang.String ON_SECTIONS_COLLAPSED
public static final java.lang.String ON_ROW_HIDE
public static final java.lang.String ON_ROW_SHOW
public static final java.lang.String ON_ROW_MOVED
public static final java.lang.String ON_ALL_ROWS_SHOW
public static final java.lang.String ON_ALL_SECTIONS_SHOW
public static final java.lang.String ON_MESSAGE_CLICKED
public static final java.lang.String ON_MESSAGE_HIDE
public static final java.lang.String ON_ALL_MESSAGE_SHOW
public static final java.lang.String SECTION_ROW
public static final java.lang.String SECTION_NAME
protected static final java.lang.String PERSP_TAG
protected static final java.lang.String PERSP_ID
protected static final java.lang.String EVENT_TAG
protected static final java.lang.String NAVIGATION_EVENT
protected static final java.lang.String PNAV_CONSTRAINT
protected void registerSectionComponent(Section section, SectionPanel.SectionComponent comp)
public SectionPanel.SectionComponent getSectionComponent(Section section)
protected void registerRowComponent(Section section, SectionRow row, SectionPanel.SectionRowComponent comp)
protected void unregisterRowComponents(Section section)
protected SectionPanel.SectionRowComponent getRowComponent(SectionRow row)
protected Menupopup getContextMenu()
protected Component getSectionContainer()
protected Component getSectionContainerDiv()
protected Component getMainBorderlayout()
protected Component getMessageContainer()
protected Component getLabelContainer()
protected Component getInfoContainer()
public HtmlBasedComponent createRowComponent(Section section, SectionRow row, Component rowContainer, Component sectionContentContainer)
protected void renderRowValue(Component valueContainer,
SectionRow row)
protected void renderRowValue(Component valueContainer,
SectionRow row,
boolean useRowRenderer)
public SectionPanel.SectionRowComponent createRowComponent(Section section, SectionRow row, Component rowContainer, Component sectionContentContainer, java.lang.String labelWidth)
protected Div createRowValueContainer(SectionRow row)
protected Menupopup createRowContextMenu(SectionRow row, Section section)
protected void collapseAllSections(SectionPanel.SectionComponent exclude)
protected void expandAllSections()
protected void appendPanelSpecificMenuItems(Menupopup menuPopUp)
protected void appendSectionSpecificMenuItems(Menupopup menuPopUp,
Section section)
protected Menu createRowsMenu(Section section)
protected void resetRowsMenu(SectionPanel panel, Section section, Menupopup nmp)
protected void appendViewSettingsMenu(Menupopup menuPopUp)
protected Menupopup createSectionContextMenu(Section section)
public java.lang.String getLabel()
public java.lang.String getImageUrl()
public java.util.List<Message> getMessages()
protected java.util.List<SectionPanel.SectionComponent> getAllSectionComponents()
public void setSectionRowRenderer(SectionRowRenderer sectionRowRenderer)
public SectionRowRenderer getSectionRowRenderer()
public SectionRenderer getSectionRenderer()
public void setSectionRenderer(SectionRenderer sectionRenderer)
public void setModel(SectionPanelModel model)
protected void resetSectionMenu(Menu menu)
protected void resetInfoContainer()
protected void updateSectionPositions()
public void onPortalMoved(PortalMoveEvent event)
public void onDrop(DropEvent event)
public void onShowAllMessages()
public void afterCompose()
protected void resetView()
public SectionPanelModel getModel()
protected void doSectionRemoved(Section section)
protected void doSectionHidden(Section section)
protected void doSectionShown(Section section)
protected void doSectionUpdated(Section section)
protected void doSectionAdded(Section section)
protected Section getSection(SectionRow row)
protected void doRowUpdated(SectionRow row)
protected void doRowHidden(SectionRow row)
protected void doRowShown(SectionRow row)
public void onCtrlKey(KeyEvent keyEvent)
public void handleKeyDown()
protected void highlightRow(SectionRow sectionRow)
public void setRowStatus(SectionRow row, int status, java.lang.String localizedMsg)
public void setSectionHeaderStatus(Section section, int status)
public void attacheValidationMenupopup(SectionRow row, Menupopup menuPopup)
public java.util.Set<SectionRow> getAllRows()
protected SectionRow getNextVisibleRow(SectionRow row)
public void focusNext(SectionRow row, java.lang.String nextIso)
public void setSelectedRow(SectionRow selectedRow)
public void setSelectedRow(SectionRow selectedRow, boolean highlight)
public SectionRow getSelectedRow()
public void setMessageBoxRenderer(MessageBoxRenderer messageBoxRenderer)
public MessageBoxRenderer getMessageBoxRenderer()
public void setAlternateOpen(boolean alternateOpen)
public boolean isAlternateOpen()
public void setFlatSectionLayout(boolean flatSectionLayout)
public boolean isFlatSectionLayout()
public void detach()
protected void updateMode(Component parent)
protected boolean isCollectionReference(PropertyDescriptor propertyDescriptor)
public void desktopRemoved(Desktop desktop)
desktopRemoved in interface DesktopRemovalAwareComponentpublic void onPageDetached(Page page)
public void setRowLabelWidth(java.lang.String rowLabelWidth)
public java.lang.String getRowLabelWidth()
public void setSectionPanelLabelRenderer(SectionPanelLabelRenderer sectionPanelLabelRenderer)
public SectionPanelLabelRenderer getSectionPanelLabelRenderer()
public void setLazyLoad(boolean lazyLoad)
public boolean isLazyLoad()
public void setEditMode(boolean editMode)
public boolean isEditMode()
public void setSectionsChangeAllowed(boolean sectionsChangeAllowed)
public boolean isSectionsChangeAllowed()
Copyright © 2018 SAP SE. All Rights Reserved.