Package dataPlots.layout
Class CompoundHidingDialog
java.lang.Object
PamView.hidingpanel.HidingDialogComponent
dataPlots.layout.CompoundHidingDialog
A hiding dialog panel for use with multiple display overlays. 
 If there is only one, then it will go in on it's own. If there
 are several, then they will be incorporated into a tabbed panel.
- Author:
 - Doug Gillespie
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanHide()Can hide - generally this should return true if at all possible however you may need to stop it hiding if any controls are in an impossible state.voidgetName()A short name - gets used when multiple components need to be tabbed up.booleanhasMore()Sliding dialog has more options.voidsetHidingDialogPanel(HidingDialogPanel hidingDialogPanel) voidshowComponent(boolean visible) Called when the component is about to be set visible or hidden.booleanshowMore(HidingDialog hidingDialog) Get's called from the More button, which shows if hasMore is returning true.Methods inherited from class PamView.hidingpanel.HidingDialogComponent
addChangeListener, getIcon, notifyChangeListeners, removeChangeListener, repackDisplay 
- 
Constructor Details
- 
CompoundHidingDialog
 
 - 
 - 
Method Details
- 
createDataList
public void createDataList() - 
getComponent
- Specified by:
 getComponentin classHidingDialogComponent- Returns:
 - component to show in the hiding dialog panel
 
 - 
canHide
public boolean canHide()Description copied from class:HidingDialogComponentCan hide - generally this should return true if at all possible however you may need to stop it hiding if any controls are in an impossible state. This function also gives users an opportunity to check / use any dialog parameters.- Specified by:
 canHidein classHidingDialogComponent- Returns:
 - true if the panel can be hidden.
 
 - 
showComponent
public void showComponent(boolean visible) Description copied from class:HidingDialogComponentCalled when the component is about to be set visible or hidden.- Specified by:
 showComponentin classHidingDialogComponent
 - 
getName
Description copied from class:HidingDialogComponentA short name - gets used when multiple components need to be tabbed up.- Specified by:
 getNamein classHidingDialogComponent- Returns:
 
 - 
hasMore
public boolean hasMore()Description copied from class:HidingDialogComponentSliding dialog has more options. If this returns true a 'more' button will show next to the pin which can be used to open a more complex dialog.- Overrides:
 hasMorein classHidingDialogComponent- Returns:
 - true if there are more options to show.
 
 - 
showMore
Description copied from class:HidingDialogComponentGet's called from the More button, which shows if hasMore is returning true. Can be used to show an evenmore exciting dialog.- Overrides:
 showMorein classHidingDialogComponent- Parameters:
 hidingDialog-- Returns:
 
 - 
setHidingDialogPanel
 
 -