com.aspose.slides
Class EffectiveTabs

java.lang.Object
  extended by com.aspose.slides.EffectiveTabs

public final class EffectiveTabs
extends java.lang.Object

Represents pseudo collection of Tab items.

Can be used as generator of tabulation. Almost endless, but beware of Tab.Position overflow.


Method Summary
 int getDefaultTabSize()
          Returns the distance between two closest implicit tab positions.
 int getExplicitTabCount()
          Returns the number of explicitly defined tabs.
 Tab getTabAfterPosition(int Position)
          Returns the next tab with position greater or equal to specified.
 Tab getTabByIndex(int index)
          Returns explicitly defined tab if index less than ExplicitTabCount otherwise generates new implicit tab using DefaultTabSize.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExplicitTabCount

public int getExplicitTabCount()
Returns the number of explicitly defined tabs.

Returns:
the number of explicitly defined tabs.

getDefaultTabSize

public int getDefaultTabSize()
Returns the distance between two closest implicit tab positions.

Returns:
the distance between two closest implicit tab positions.

getTabByIndex

public Tab getTabByIndex(int index)
Returns explicitly defined tab if index less than ExplicitTabCount otherwise generates new implicit tab using DefaultTabSize.

Parameters:
index - The index of a tab.
Returns:
The Tab object.

getTabAfterPosition

public Tab getTabAfterPosition(int Position)
Returns the next tab with position greater or equal to specified.

Parameters:
Position - The tab position.
Returns:
The tag object.