G
- V
- E
- public interface GraphGUIHelper<G extends Graph<V,E>,V,E extends Edge<V>>
Modifier and Type | Method and Description |
---|---|
boolean |
canCopyPaste(G graph)
Does this graph type support copy/paste actions?
|
GUIEditor<E> |
getEdgeEditionPanel(G graph)
Create an edition panel for edges.
|
List<EditAction> |
getEditActions(G graph) |
String |
getEditingTabLabel(G graph)
Retrieve the Title used for the selection edition tab
|
FileFilter |
getFileFilter()
Provide the file filter to apply to a file chooser
|
Class<G> |
getGraphClass()
Get the graph class the helper helps to manage
|
JPanel |
getInfoPanel(G graph)
Create an Information Panel
|
GUIEditor<G> |
getMainEditionPanel(G graph)
Create an edition panel for the graph itself.
|
GUIEditor<V> |
getNodeEditionPanel(G graph)
Create an edition panel for nodes.
|
JPanel |
getSaveOptionPanel(G graph)
Create a panel containing the option for graph saving
|
GUIEditor<G> getMainEditionPanel(G graph)
graph
- the graph requiring the panelString getEditingTabLabel(G graph)
graph
- the graph requiring the panelGUIEditor<V> getNodeEditionPanel(G graph)
graph
- the graph requiring the panelGUIEditor<E> getEdgeEditionPanel(G graph)
graph
- the graph requiring the panelJPanel getInfoPanel(G graph)
graph
- the graph requiring the panelClass<G> getGraphClass()
List<EditAction> getEditActions(G graph)
graph
- the edited graphFileFilter getFileFilter()
JPanel getSaveOptionPanel(G graph)
graph
- the edited graphboolean canCopyPaste(G graph)
graph
- Copyright © 2005–2020. All rights reserved.