home *** CD-ROM | disk | FTP | other *** search
- package lotus.domino.local;
-
- import lotus.domino.NotesException;
- import lotus.notes.JavaString;
-
- public class RichTextStyle extends NotesBase implements lotus.domino.RichTextStyle {
- private transient Session session;
-
- protected RichTextStyle() throws NotesException {
- }
-
- protected RichTextStyle(Session var1, int var2) throws NotesException {
- super(var2, 24);
- if (var1 == null) {
- throw new NotesException(4404, JavaString.resource.getString("missing_session_object"));
- } else {
- this.session = var1;
- this.session.AddObject(this);
- }
- }
-
- protected void InternalFinalize() throws NotesException {
- super.finalize();
- }
-
- public void finalize() throws NotesException {
- this.session.RemoveObject(this);
- this.InternalFinalize();
- }
-
- public void recycle() throws NotesException {
- try {
- this.session.RemoveObject(this);
- } catch (NotesException var5) {
- } finally {
- super.Recycle();
- }
-
- }
-
- public int getBold() throws NotesException {
- ((NotesBase)this).CheckObject();
- return ((NotesBase)this).PropGetInt(1805);
- }
-
- public void setBold(int var1) throws NotesException {
- ((NotesBase)this).CheckObject();
- ((NotesBase)this).PropSetInt(1805, var1);
- }
-
- public int getItalic() throws NotesException {
- ((NotesBase)this).CheckObject();
- return ((NotesBase)this).PropGetInt(1806);
- }
-
- public void setItalic(int var1) throws NotesException {
- ((NotesBase)this).CheckObject();
- ((NotesBase)this).PropSetInt(1806, var1);
- }
-
- public int getUnderline() throws NotesException {
- ((NotesBase)this).CheckObject();
- return ((NotesBase)this).PropGetInt(1807);
- }
-
- public void setUnderline(int var1) throws NotesException {
- ((NotesBase)this).CheckObject();
- ((NotesBase)this).PropSetInt(1807, var1);
- }
-
- public int getStrikeThrough() throws NotesException {
- ((NotesBase)this).CheckObject();
- return ((NotesBase)this).PropGetInt(1808);
- }
-
- public void setStrikeThrough(int var1) throws NotesException {
- ((NotesBase)this).CheckObject();
- ((NotesBase)this).PropSetInt(1808, var1);
- }
-
- public int getEffects() throws NotesException {
- ((NotesBase)this).CheckObject();
- return ((NotesBase)this).PropGetInt(1810);
- }
-
- public void setEffects(int var1) throws NotesException {
- ((NotesBase)this).CheckObject();
- ((NotesBase)this).PropSetInt(1810, var1);
- }
-
- public int getFont() throws NotesException {
- ((NotesBase)this).CheckObject();
- return ((NotesBase)this).PropGetInt(1809);
- }
-
- public void setFont(int var1) throws NotesException {
- ((NotesBase)this).CheckObject();
- ((NotesBase)this).PropSetInt(1809, var1);
- }
-
- public int getFontSize() throws NotesException {
- ((NotesBase)this).CheckObject();
- return ((NotesBase)this).PropGetInt(1811);
- }
-
- public void setFontSize(int var1) throws NotesException {
- ((NotesBase)this).CheckObject();
- ((NotesBase)this).PropSetInt(1811, var1);
- }
-
- public int getColor() throws NotesException {
- ((NotesBase)this).CheckObject();
- return ((NotesBase)this).PropGetInt(1812);
- }
-
- public void setColor(int var1) throws NotesException {
- ((NotesBase)this).CheckObject();
- ((NotesBase)this).PropSetInt(1812, var1);
- }
-
- public lotus.domino.Session getParent() throws NotesException {
- return this.session;
- }
- }
-