|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Section | |
---|---|
pl.netanel.swt.matrix | Contains Matrix - a tabular SWT widget with unlimited capacity and instant rendering. |
Uses of Section in pl.netanel.swt.matrix |
---|
Methods in pl.netanel.swt.matrix that return Section | |
---|---|
Section<N> |
Axis.getBody()
Returns the body section, which is by default a second section of the axis. |
Section<N> |
Axis.getHeader()
Returns the header section, which is by default the first section of the axis. |
Section<N> |
AxisItem.getSection()
Returns section of this axis item. |
Section<N> |
Axis.getSection(int sectionIndex)
Returns the section at the specified position in this axis. |
Section<X> |
Zone.getSectionX()
Returns the zone section horizontal axis. |
Section<Y> |
Zone.getSectionY()
Returns the zone section at vertical axis. |
Section<N> |
Section.getUnchecked()
Returns a better performing but less user friendly implementation for this section that is more loop efficient: does not check validity of the method arguments does not mark the layout as required computing on every method call, instead relying on the client to call Matrix.refresh()
It may be useful for loop optimization, for example inside of
Painter.paint(int, int, int, int)
method. |
Methods in pl.netanel.swt.matrix with parameters of type Section | ||
---|---|---|
int |
Axis.compare(Section<N> section1,
Section<N> section2)
Compares positions of sections on this axis and returns value greater then 0 if section1 is behind section2, value lower then zero if section1 is before section2 and 0 if sections are the same. |
|
int |
Axis.compare(Section<N> section1,
Section<N> section2)
Compares positions of sections on this axis and returns value greater then 0 if section1 is behind section2, value lower then zero if section1 is before section2 and 0 if sections are the same. |
|
int |
Axis.computeSize(Section<N> section,
N index)
Computes the optimal cell width that fits its content. |
|
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. |
|
Zone<X,Y> |
Matrix.getZone(Section<X> sectionX,
Section<Y> sectionY)
Returns a zone located at the intersection of the given axis sections. |
|
Zone<X,Y> |
Matrix.getZone(Section<X> sectionX,
Section<Y> sectionY)
Returns a zone located at the intersection of the given axis sections. |
|
int |
Axis.indexOf(Section<N> section)
Returns index of the given section in the list of this axis sections or -1 if the section does not belong to this axis. |
|
boolean |
Axis.isItemInViewport(Section<N> section,
N index)
Returns true if the given item is visible in the viewport,
or false otherwise. |
|
void |
Axis.setFocusItem(Section<N> section,
N index)
Sets the focus marker to the given item. |
|
void |
Axis.showItem(Section<N> section,
N index)
Scrolls to the given making it visible in the viewport. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |