org.grinvin.graphbrowser

Class AnnotatedGraphCellListComponent

Implemented Interfaces:
GraphListModelListener, HasGraphList, HasSelectableGraphList, ListDataListener

public class AnnotatedGraphCellListComponent
extends JPanel
implements HasSelectableGraphList, GraphListModelListener

Author:
adpeeter

Constructor Summary

AnnotatedGraphCellListComponent(GraphListModel model, ListSelectionModel selectionModel, int cellWidth, int cellHeight, int numberOfColumns)

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

AnnotatedGraphCellListComponent

public AnnotatedGraphCellListComponent(GraphListModel model,
                                       ListSelectionModel selectionModel,
                                       int cellWidth,
                                       int cellHeight,
                                       int numberOfColumns)

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)