org.grinvin.gui.components
Class GraphCellListComponent
CellList
org.grinvin.gui.components.GraphCellListComponent
- HasGraphList, HasSelectableGraphList, HasSelectableValues, MouseListener
public class GraphCellListComponent
extends CellList
GraphCellListComponent
public GraphCellListComponent(GraphListModel model,
ListSelectionModel selectionModel,
int cellWidth,
int cellHeight,
int numberOfColumns)
Creates a new instance of GraphCellListComponent
GraphCellListComponent
public GraphCellListComponent(GraphListModel model,
int cellWidth,
int cellHeight,
int numberOfColumns)
Creates a new instance which creates its own selection model.
JToolTip createToolTip
public @Override JToolTip createToolTip()
deleteSelectedElements
public void deleteSelectedElements()
Delete currently selected elements.
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)
setPaintWatermark
public void setPaintWatermark(boolean paintWatermark)
Configure whether to paint the watermark or not. If no watermark
is painted, the background is still filled.
void paintComponent
protected @Override void paintComponent(Graphics g)
Adds a watermark to the list.