GPFramesConfiguration

De GENOPUS
Révision datée du 28 juillet 2017 à 14:51 par Admin (discussion | contributions) (Page créée avec « == How to call it == There are several possibilities to call this: * The simplest one: <syntaxhighlight lang="java"> framesConf = new GPFramesConfiguration("Label"); </sy... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
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);