home *** CD-ROM | disk | FTP | other *** search
- package lotus.domino.local;
-
- import lotus.domino.NotesException;
- import lotus.notes.JavaString;
-
- public class RichTextTab extends NotesBase implements lotus.domino.RichTextTab {
- private transient RichTextParagraphStyle parent;
-
- private native void Nclear();
-
- protected RichTextTab() throws NotesException {
- }
-
- protected RichTextTab(RichTextParagraphStyle var1, int var2) throws NotesException {
- super(var2, 27);
- if (var1 == null) {
- throw new NotesException(4410, JavaString.resource.getString("missing_richtextparagraphstyle_object"));
- } else {
- this.parent = var1;
- this.parent.AddTab(this);
- }
- }
-
- protected void InternalFinalize() throws NotesException {
- super.finalize();
- }
-
- public void finalize() throws NotesException {
- this.parent.RemoveTab(this);
- this.InternalFinalize();
- }
-
- public void recycle() throws NotesException {
- try {
- this.parent.RemoveTab(this);
- } catch (NotesException var5) {
- } finally {
- super.Recycle();
- }
-
- }
-
- public void clear() throws NotesException {
- ((NotesBase)this).CheckObject();
- this.parent.RemoveTab(this);
- this.Nclear();
- }
-
- public int getPosition() throws NotesException {
- ((NotesBase)this).CheckObject();
- return ((NotesBase)this).PropGetInt(1877);
- }
-
- public int getType() throws NotesException {
- ((NotesBase)this).CheckObject();
- return ((NotesBase)this).PropGetInt(1878);
- }
- }
-