Gephi Toolkit Javadoc

org.gephi.datalab.spi.columns
Interface AttributeColumnsManipulatorUI


public interface AttributeColumnsManipulatorUI

UI AttributeColumnsManipulators can provide.

Must provide a JPanel, a window name/title and indictate if it is modal.

The panel will be shown in a dialog with Ok/Cancel options only.

The ok button can be enabled/disabled with the DialogControls instance passed at setup

Author:
Eduardo Ramos

Method Summary
 java.lang.String getDisplayName()
          Returns name/title for the window
 javax.swing.JPanel getSettingsPanel()
          Returns a settings panel instance for this AttributeColumnsManipulator.
 boolean isModal()
          Indicates if the created dialog has to be modal
 void setup(AttributeColumnsManipulator m, AttributeTable table, AttributeColumn column, DialogControls dialogControls)
          Prepare this UI to be able to interact with its AttributeColumnsManipulator.
 void unSetup()
          Called when the window is closed or accepted.
 

Method Detail

setup

void setup(AttributeColumnsManipulator m,
           AttributeTable table,
           AttributeColumn column,
           DialogControls dialogControls)
Prepare this UI to be able to interact with its AttributeColumnsManipulator.

Parameters:
m - Manipulator for the UI
table - Table of the column to manipulate
column - Column to manipulate
dialogControls - Used to enable/disable the dialog controls

unSetup

void unSetup()
Called when the window is closed or accepted.


getDisplayName

java.lang.String getDisplayName()
Returns name/title for the window

Returns:
Name/title for the window

getSettingsPanel

javax.swing.JPanel getSettingsPanel()
Returns a settings panel instance for this AttributeColumnsManipulator.

Returns:
Settings panel instance

isModal

boolean isModal()
Indicates if the created dialog has to be modal

Returns:
True if modal, false otherwise

Gephi Toolkit Javadoc