org.grinvin.graphbrowser

Class AnnotatedGraphListComponent

Implemented Interfaces:
GraphListModelListener, HasGraphList, HasSelectableGraphList, ListDataListener

public class AnnotatedGraphListComponent
extends JPanel
implements HasSelectableGraphList, GraphListModelListener

Author:
adpeeter

Constructor Summary

AnnotatedGraphListComponent(GraphListModel model, ListSelectionModel selectionModel)

Method Summary

void
contentsChanged(ListDataEvent e)
GraphList
getGraphList()
Object
getSelectedValue()
Object[]
getSelectedValues()
void
graphListModelNameChanged(GraphListModel graphListModel)
void
intervalAdded(ListDataEvent e)
void
intervalRemoved(ListDataEvent e)

Constructor Details

AnnotatedGraphListComponent

public AnnotatedGraphListComponent(GraphListModel model,
                                   ListSelectionModel selectionModel)

Method Details

contentsChanged

public void contentsChanged(ListDataEvent e)

getGraphList

public GraphList getGraphList()
Specified by:
getGraphList in interface HasGraphList

getSelectedValue

public Object getSelectedValue()
Specified by:
getSelectedValue in interface HasSelectableGraphList

getSelectedValues

public Object[] getSelectedValues()
Specified by:
getSelectedValues in interface HasSelectableGraphList

graphListModelNameChanged

public void graphListModelNameChanged(GraphListModel graphListModel)
Specified by:
graphListModelNameChanged in interface GraphListModelListener

intervalAdded

public void intervalAdded(ListDataEvent e)

intervalRemoved

public void intervalRemoved(ListDataEvent e)