public abstract static class PanelLibrary.PanelSetChanger
extends java.lang.Object
e.g.
PanelSetChanger changer = dataContext.get( PanelSetChanger.class ); if( changer != null ) { // change the panel set without validating changer.panelSetChange( key, navs, null ); }
Constructor and Description |
---|
PanelLibrary.PanelSetChanger() |
Modifier and Type | Method and Description |
---|---|
abstract void |
panelSetChange(Navigable[] navs,
PanelLibrary.PanelSetChangeValidator validator)
Changes the current panel set.
|
public abstract void panelSetChange(Navigable[] navs, PanelLibrary.PanelSetChangeValidator validator) throws TraversalException
key
- the panel set key to switch tonavs
- the set of Navigables that make up the given panel set
keyvalidator
- a callback mechanism so that the change can be
validated once any appropriate commits on other panels etc are done.TraversalException