|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AxisItem | |
---|---|
pl.netanel.swt.matrix | Contains Matrix - a tabular SWT widget with unlimited capacity and instant rendering. |
Uses of AxisItem in pl.netanel.swt.matrix |
---|
Methods in pl.netanel.swt.matrix that return AxisItem | ||
---|---|---|
static
|
AxisItem.create(Section<N2> section,
N2 index)
Creates a new instance of axis item. |
|
static
|
AxisItem.createUnchecked(Section<N2> section,
N2 index)
Creates a new instance of cell without checking arguments validity. |
|
AxisItem<N> |
Axis.getFocusItem()
Returns the focus item. |
|
AxisItem<N> |
Axis.getItemByViewportDistance(int distance)
Returns the item visible at the specified distance from the beginning of viewport area or null if the distance is outside of the
viewport bounds. |
|
AxisItem<N> |
Axis.getItemByViewportOffset(AxisItem<N> item,
int offset)
Returns a visible item that is away from the given item by the number of items specified by the offset argument or null if such an item is outside of the viewport bounds
or does not exist. |
|
AxisItem<N> |
Axis.getItemByViewportPosition(int position)
Returns the item visible at the specified position in the viewport or null if the position is outside of the viewport bounds. |
|
AxisItem<N> |
Axis.getMouseItem()
Returns the last item the mouse was over. |
|
AxisItem<N> |
Axis.getScrollItem()
|
Methods in pl.netanel.swt.matrix with parameters of type AxisItem | |
---|---|
int |
Axis.compare(AxisItem<N> item1,
AxisItem<N> item2)
Compares positions of items on this axis and returns value greater then 0 if item1 is behind item2, value lower then zero if item1 is before item2 and 0 if items are the same. |
int |
Axis.compare(AxisItem<N> item1,
AxisItem<N> item2)
Compares positions of items on this axis and returns value greater then 0 if item1 is behind item2, value lower then zero if item1 is before item2 and 0 if items are the same. |
int[] |
Axis.getCellBound(AxisItem<N> item)
Returns the cell bound of the specified item in the viewport or null if the position is outside of the viewport scope. |
AxisItem<N> |
Axis.getItemByViewportOffset(AxisItem<N> item,
int offset)
Returns a visible item that is away from the given item by the number of items specified by the offset argument or null if such an item is outside of the viewport bounds
or does not exist. |
int[] |
Axis.getLineBound(AxisItem<N> item)
Returns the line bound of the specified item in the viewport or null if the position is outside of the viewport scope. |
int |
Axis.getViewportPosition(AxisItem<N> item)
Returns the position of the given item in the sequence of items visible in the viewport or -1 if the viewport does not display the item. |
void |
Axis.scrollTo(AxisItem<N> item)
Scrolls the axis to the position where the given item is the first visible one in the unfrozen area. |
void |
Axis.setFocusItem(AxisItem<N> item)
Sets the focus marker to the given item. |
void |
Axis.showItem(AxisItem<N> item)
Scrolls to the given making it visible in the viewport. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |