org.gnu.pango
public class TabArray extends Boxed
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may exist in java-gnome 4.0; look out for
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.
Constructor Summary | |
---|---|
TabArray(int initialSize, boolean positionsInPixels)
Creates an array of initialSize tab stops. | |
TabArray(TabArray tabArray)
Create a TabArray that is a copy of the provided TabArray.
| |
TabArray(Handle handle)
Constructs new Tab array from handle to native resources. |
Method Summary | |
---|---|
TabAlign | getAligment(int tabIndex)
Returns the alignment ofthe tab stop |
int | getPosition(int tabIndex)
Returns the position of the tab stops |
int | getSize()
Get the number of tab stops in the array |
static TabArray | getTabArray(Handle handle)
Constructs new Tab array from handle to native resources. |
boolean | positionInPixels()
Returns true if the tab positions are in pixels and false if they are in
Pango units. |
void | resize(int newSize)
Resizes a tab array. |
void | setTab(int tabIndex, TabAlign alignment, int location)
Sets the alignment and location of a tab stop. |
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.
Creates an array ofinitialSize
tab stops. Tab stops are
specified in pixel units if
positionsInPixels is true
, otherwise
in Pango units. All stops are initially at position 0.
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.
Create a TabArray that is a copy of the provided TabArray.Parameters: 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.
Constructs new Tab array from handle to native resources. Used internally by Java-Gnome.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.
Returns the alignment ofthe tab stopDeprecated: 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.
Returns the position of the tab stopsDeprecated: 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.
Get the number of tab stops in the arrayDeprecated: 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.
Constructs new Tab array from handle to native resources. Used internally by Java-Gnome.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.
Returns true if the tab positions are in pixels and false if they are in Pango units.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.
Resizes a tab array. You must subsequently initialize any tabs that were added as a result of growing the array.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.
Sets the alignment and location of a tab stop. Alignment must always be LEFT in the current implementation.Parameters: tabIndex The index of a tab stop alignment Tab alignment location Tab location in pango units