org.grinvin.gui.components

Class ScrollableGraphTableComponent

Known Direct Subclasses:
FilteredScrollableGraphTableComponent

public class ScrollableGraphTableComponent
extends JScrollPane

A version of GraphTableComponent that is scrollable.

Field Summary

protected GraphTableComponent
graphtable

Constructor Summary

ScrollableGraphTableComponent(GraphListModel graphListModel, InvariantListModel invariantListModel, ListSelectionModel selectionModel)

Method Summary

void
doLayout()
Overridden to also rescale the table columns whenever the layout needs a change
GraphList
getGraphList()
protected @Override
void paintComponent(Graphics g)
Adds a watermark to the list.

Field Details

graphtable

protected final GraphTableComponent graphtable

Constructor Details

ScrollableGraphTableComponent

public ScrollableGraphTableComponent(GraphListModel graphListModel,
                                     InvariantListModel invariantListModel,
                                     ListSelectionModel selectionModel)

Method Details

doLayout

public void doLayout()
Overridden to also rescale the table columns whenever the layout needs a change

getGraphList

public GraphList getGraphList()

void paintComponent

protected @Override void paintComponent(Graphics g)
Adds a watermark to the list.