|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.Boxed
org.gnu.pango.TabArray
org.gnome.pango.TabArray.
As this package was never fully implemented in java-gnome 2.x,
however, any new code written will have a considerably different
public API.
public class TabArray
A PangoTabArray struct contains an array of tab stops. Each tab stop has an alignment and a position.
| Constructor Summary | |
|---|---|
TabArray(org.gnu.glib.Handle handle)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
|
TabArray(int initialSize,
boolean positionsInPixels)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
|
TabArray(TabArray tabArray)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
|
| Method Summary | |
|---|---|
TabAlign |
getAligment(int tabIndex)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
int |
getPosition(int tabIndex)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
int |
getSize()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
static TabArray |
getTabArray(org.gnu.glib.Handle handle)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
boolean |
positionInPixels()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
resize(int newSize)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
setTab(int tabIndex,
TabAlign alignment,
int location)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
| Methods inherited from class org.gnu.glib.Boxed |
|---|
equals, getBoxedFromHandle, hashCode |
| Methods inherited from class org.gnu.glib.Struct |
|---|
getHandle, getNullHandle |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TabArray(int initialSize,
boolean positionsInPixels)
initialSize tab stops. Tab stops are
specified in pixel units if
positionsInPixels is true, otherwise
in Pango units. All stops are initially at position 0.
public TabArray(TabArray tabArray)
tabArray - public TabArray(org.gnu.glib.Handle handle)
| Method Detail |
|---|
public static TabArray getTabArray(org.gnu.glib.Handle handle)
public int getSize()
public void resize(int newSize)
public void setTab(int tabIndex,
TabAlign alignment,
int location)
TabAlign.LEFT in the current implementation.
tabIndex - The index of a tab stopalignment - Tab alignmentlocation - Tab location in pango unitspublic int getPosition(int tabIndex)
public TabAlign getAligment(int tabIndex)
public boolean positionInPixels()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||