ru.novosoft.dc.rtf.dom.objects
Class TabSet

java.lang.Object
  |
  +--ru.novosoft.dc.rtf.dom.objects.TabSet

public final class TabSet
extends java.lang.Object
implements java.lang.Cloneable

The set of tabs.


Constructor Summary
TabSet(int initialCapacity)
          Construct a set of tabs having the specified initial capacity.
 
Method Summary
 void addTab(Tab tab)
          Add a tab to the set.
 java.lang.Object clone()
          Create a deep copy of this object.
 int count()
          Return the number of tabs in this set.
 boolean equals(java.lang.Object obj)
          Compare this set of tabs with another set of tabs and return true if comparison succeed.
 void exportTo(org.w3c.dom.Element elem, java.lang.String tagName)
          Export the contents of this object to the specified DOM element.
 Tab tab(int index)
          Return a tab of the specified zero-based index.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabSet

public TabSet(int initialCapacity)
Construct a set of tabs having the specified initial capacity.
Method Detail

addTab

public final void addTab(Tab tab)
Add a tab to the set.

tab

public final Tab tab(int index)
Return a tab of the specified zero-based index.

count

public final int count()
Return the number of tabs in this set.

clone

public java.lang.Object clone()
Create a deep copy of this object.
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Compare this set of tabs with another set of tabs and return true if comparison succeed.
Overrides:
equals in class java.lang.Object

exportTo

public void exportTo(org.w3c.dom.Element elem,
                     java.lang.String tagName)
Export the contents of this object to the specified DOM element.