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
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Returns name/title for the window
|
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,
GraphModel graphModel,
Table table,
Column column,
DialogControls dialogControls)
Prepare this UI to be able to interact with its AttributeColumnsManipulator.
|
void |
unSetup()
Called when the window is closed or accepted.
|
void setup(AttributeColumnsManipulator m, GraphModel graphModel, Table table, Column column, DialogControls dialogControls)
m
- Manipulator for the UIgraphModel
- Graph model of the tabletable
- Table of the column to manipulatecolumn
- Column to manipulatedialogControls
- Used to enable/disable the dialog controlsvoid unSetup()
String getDisplayName()
JPanel getSettingsPanel()
boolean isModal()
Copyright © 2007–2015 Gephi Consortium. All rights reserved.