|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.nebula.widgets.nattable.layer.AbstractLayer
org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
org.eclipse.nebula.widgets.nattable.layer.ZoomLayer
public class ZoomLayer
| Field Summary |
|---|
| Fields inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform |
|---|
underlyingLayer |
| Fields inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayer |
|---|
commandHandlers, eventHandlers, layerPainter |
| Fields inherited from interface org.eclipse.nebula.widgets.nattable.persistence.IPersistable |
|---|
DOT, VALUE_SEPARATOR |
| Constructor Summary | |
|---|---|
ZoomLayer(ILayer underlyingILayer)
|
|
| Method Summary | |
|---|---|
int |
getColumnPositionByX(int x)
Returns the column position that contains the given x coordinate. |
int |
getColumnWidthByPosition(int columnPosition)
Returns the width in pixels of the given column. |
int |
getHeight()
Returns the total height in pixels of this layer. |
int |
getPreferredHeight()
|
int |
getPreferredWidth()
|
LabelStack |
getRegionLabelsByXY(int x,
int y)
Layer can apply its own labels to any cell it wishes. |
int |
getRowHeightByPosition(int rowPosition)
Returns the height in pixels of the given row. |
int |
getRowPositionByY(int y)
Returns the row position that contains the given y coordinate. |
int |
getStartXOfColumnPosition(int columnPosition)
Returns the x offset in pixels of the given column. |
int |
getStartYOfRowPosition(int rowPosition)
Returns the y offset in pixels of the given row. |
int |
getWidth()
Returns the total width in pixels of this layer. |
float |
getZoomFactor()
|
void |
setZoomFactor(float zoomFactor)
|
| Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayer |
|---|
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getBoundsByPosition, getClientAreaProvider, getConfigLabelAccumulator, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, registerCommandHandlers, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterEventHandler, unregisterPersistable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ZoomLayer(ILayer underlyingILayer)
| Method Detail |
|---|
public float getZoomFactor()
public void setZoomFactor(float zoomFactor)
public int getWidth()
ILayer
getWidth in interface ILayergetWidth in class AbstractLayerTransformpublic int getPreferredWidth()
getPreferredWidth in interface ILayergetPreferredWidth in class AbstractLayerTransformpublic int getColumnWidthByPosition(int columnPosition)
ILayer
getColumnWidthByPosition in interface ILayergetColumnWidthByPosition in class AbstractLayerTransformcolumnPosition - the column position in this layer
public int getColumnPositionByX(int x)
ILayer
getColumnPositionByX in interface ILayergetColumnPositionByX in class AbstractLayerTransformx - a horizontal pixel location relative to the pixel boundary of
this layer
public int getStartXOfColumnPosition(int columnPosition)
ILayer
getStartXOfColumnPosition in interface ILayergetStartXOfColumnPosition in class AbstractLayerTransformcolumnPosition - the column position in this layer
public int getHeight()
ILayer
getHeight in interface ILayergetHeight in class AbstractLayerTransformpublic int getPreferredHeight()
getPreferredHeight in interface ILayergetPreferredHeight in class AbstractLayerTransformpublic int getRowHeightByPosition(int rowPosition)
ILayer
getRowHeightByPosition in interface ILayergetRowHeightByPosition in class AbstractLayerTransformrowPosition - the row position in this layer
public int getRowPositionByY(int y)
ILayer
getRowPositionByY in interface ILayergetRowPositionByY in class AbstractLayerTransformy - a vertical pixel location relative to the pixel boundary of
this layer
public int getStartYOfRowPosition(int rowPosition)
ILayer
getStartYOfRowPosition in interface ILayergetStartYOfRowPosition in class AbstractLayerTransformrowPosition - the row position in this layer
public LabelStack getRegionLabelsByXY(int x,
int y)
ILayer
getRegionLabelsByXY in interface ILayergetRegionLabelsByXY in class AbstractLayerTransformx - the x pixel coordinatey - the y pixel coordinate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||