org.grinvin.gui.components
Class GraphPropertiesTableComponent
JTable
org.grinvin.gui.components.GraphPropertiesTableComponent
- AcceptsInvariant, MouseListener, GraphPropertiesTableModelListener, HasRequestedCell
public class GraphPropertiesTableComponent
extends JTable
Table to display a GraphPropertiesTableModel.
GraphPropertiesTableComponent
public GraphPropertiesTableComponent(GraphPropertiesTableModel model)
Creates a new instance of GraphPropertiesTable
acceptsInvariant
public AcceptsInvariant.Reason acceptsInvariant(InvariantValue> clazz)
Check whether invariants that return this type can be accepted.
This is used to determine if an invariant created by an
invariant factory can be accepted, without the need to
create that invariant.
- acceptsInvariant in interface AcceptsInvariant
boolean getScrollableTracksViewportHeight
public @Override boolean getScrollableTracksViewportHeight()
mouseClicked
public void mouseClicked(MouseEvent e)
mouseEntered
public void mouseEntered(MouseEvent e)
mouseExited
public void mouseExited(MouseEvent e)
mousePressed
public void mousePressed(MouseEvent e)
mouseReleased
public void mouseReleased(MouseEvent e)
void paintComponent
protected @Override void paintComponent(Graphics g)
Adds a watermark to the list.