org.jminor.common.ui
Interface MasterDetailPanel

All Known Implementing Classes:
EntityApplicationPanel, EntityPanel

public interface MasterDetailPanel

Specifies a panel which is part of a navigable master/detail hierarchy


Method Summary
 void activatePanel()
          Activates this panel, showing it and preparing it for input
 MasterDetailPanel getCurrentDetailPanel()
           
 List<? extends MasterDetailPanel> getDetailPanels()
           
 MasterDetailPanel getMasterPanel()
           
 MasterDetailPanel getNextPanel()
           
 MasterDetailPanel getPreviousPanel()
           
 void showDetailPanel(MasterDetailPanel detailPanel)
          Shows the given detail panel
 

Method Detail

getMasterPanel

MasterDetailPanel getMasterPanel()
Returns:
the parent master panel, if one exists

getCurrentDetailPanel

MasterDetailPanel getCurrentDetailPanel()
Returns:
a detail panel, if one exists, which child panel exactly is up the implementation

getPreviousPanel

MasterDetailPanel getPreviousPanel()
Returns:
the previous detail panel, if one exists, with wrap around

getNextPanel

MasterDetailPanel getNextPanel()
Returns:
the nex detail panel, if one exists, with wrap around

getDetailPanels

List<? extends MasterDetailPanel> getDetailPanels()
Returns:
the detail panels, an empty list if no detail panels exist

showDetailPanel

void showDetailPanel(MasterDetailPanel detailPanel)
Shows the given detail panel

Parameters:
detailPanel - the detail panel to show

activatePanel

void activatePanel()
Activates this panel, showing it and preparing it for input