Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Boxed
org.gnu.pango.TabArray
public class TabArray
extends Boxed
Constructor Summary | |
| |
| |
Method Summary | |
TabAlign |
|
int |
|
int |
|
static TabArray |
|
boolean |
|
void |
|
void |
public TabArray(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.
Constructs new Tab array from handle to native resources. Used internally by Java-Gnome.
public 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.
Creates an array ofinitialSize
tab stops. Tab stops are specified in pixel units ifpositionsInPixels
is
true
, otherwise in Pango units. All stops are initially at position 0.
public 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.
Create a TabArray that is a copy of the provided TabArray.
- Parameters:
tabArray
-
public 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.
Returns the alignment ofthe tab stop
public 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.
Returns the position of the tab stops
public 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.
Get the number of tab stops in the array
public static TabArray getTabArray(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.
Constructs new Tab array from handle to native resources. Used internally by Java-Gnome.
public 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.
Returns true if the tab positions are in pixels and false if they are in Pango units.
public 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.
Resizes a tab array. You must subsequently initialize any tabs that were added as a result of growing the array.
public 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.
Sets the alignment and location of a tab stop. Alignment must always beTabAlign.LEFT
in the current implementation.
- Parameters:
tabIndex
- The index of a tab stopalignment
- Tab alignmentlocation
- Tab location in pango units