GPFramesConfiguration
Aller à la navigation
Aller à la recherche
How to call it
There are several possibilities to call this:
- The simplest one:
framesConf = new GPFramesConfiguration("Label");
- to select the by default configuration:
framesConf = new GPFramesConfiguration("Label ",
GPFramesConfiguration.GPFrameConfs.iers2010);
- to select the list of available configuration:
framesConf = new GPFramesConfiguration("Label ",
GPFramesConfiguration.GPFrameConfs.iers2010,
GPFramesConfiguration.GPFrameConfs.iers2003);
… ou encore:
framesConf = new GPFramesConfiguration("Label");
framesConf.setAvailableFrameConfs(
GPFramesConfiguration.GPFrameConfs.iers2010,
GPFramesConfiguration.GPFrameConfs.iers2003);
- to select the “factory” configuration as initial value and the list of available configuration:
framesConf =
new GPFramesConfiguration(GPFramesConfiguration.GPFrameConfs.iers2010,
"Label ",
GPFramesConfiguration.GPFrameConfs.iers2010,
GPFramesConfiguration.GPFrameConfs.iers2003);