![JAR search and dependency download from the Maven repository](/logo.png)
com.objogate.wl.swing.driver.table.Cell Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of windowlicker-swing Show documentation
Show all versions of windowlicker-swing Show documentation
This is the Windowlicker Swing library.
The newest version!
/**
* Identifies a cell in a Table based on row and column
*/
package com.objogate.wl.swing.driver.table;
import javax.swing.JTable;
public class Cell implements Location {
public final int row;
public final int col;
public Cell(int row, int col) {
this.row = row;
this.col = col;
}
public Object valueFrom(JTable table) { return table.getValueAt(row, col); }
public Cell asCellIn(JTable unused) { return this; }
@Override public String toString() {
return "r" + row + " x " + "c" + col;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy