blob: 903782b8385d5c6d3cd3bfbd168d18eeec0e76f1 [file] [log] [blame]
package org.eclipse.nebula.widgets.nattable.core.layer
import org.eclipse.nebula.widgets.nattable.core.layer.axis.Axis
import org.eclipse.nebula.widgets.nattable.core.layer.cell.Cell
/**
* A two-dimensional rectangular region of cells.
*/
interface Layer extends LayerListener {
/**
* @return The Axis that characterizes the horizontal dimension of this layer.
*/
def Axis getHorizontalAxis()
/**
* @return The Axis that characterizes the vertical dimension of this layer.
*/
def Axis getVerticalAxis()
/**
* @return The Cell at the given column and row position in this layer.
*/
def Cell getCell(int columnPosition, int rowPosition)
// Events
def void addLayerListener(LayerListener listener)
def void removeLayerListener(LayerListener listener)
}