Gephi Toolkit Javadoc

org.gephi.io.generator.spi
Interface GeneratorUI

All Known Subinterfaces:
RandomGraphUI

public interface GeneratorUI

Defines settings panel for a particular generator. Responsible for loading and saving settings to the Generator instance.

Note that panels are compatible with ValidationAPI. If the JPanel returned from getPanel() is a ValidationPanel instance, the dialog OK button will be linked to the ValidationGroup.

Author:
Mathieu Bastian

Method Summary
 javax.swing.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

javax.swing.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.


Gephi Toolkit Javadoc