Package org.gephi.io.generator.spi
Interface GeneratorUI
-
public interface GeneratorUI
Defines settings panel for a particular generator. Responsible for loading and saving settings to theGenerator
instance.Note that panels are compatible with
ValidationAPI
. If theJPanel
returned fromgetPanel()
is aValidationPanel
instance, the dialog OK button will be linked to theValidationGroup
.- Author:
- Mathieu Bastian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JPanel
getPanel()
Returns the panel settings.void
setup(Generator generator)
Push the generator instance to get settings values.void
unsetup()
Notify UI that generator settings panel has been closed and that settings values can be written into current generator instance.
-
-
-
Method Detail
-
getPanel
JPanel getPanel()
Returns the panel settings.- Returns:
- the panel settings
-
setup
void setup(Generator generator)
Push the generator instance to get settings values.- Parameters:
generator
- the generator instance that is to be configured
-
unsetup
void unsetup()
Notify UI that generator settings panel has been closed and that settings values can be written into current generator instance.
-
-