Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Protected Attributes
nsPrivateTextRange Class Reference

#include <nsPrivateTextRange.h>

Inheritance diagram for nsPrivateTextRange:
Inheritance graph
[legend]
Collaboration diagram for nsPrivateTextRange:
Collaboration graph
[legend]

List of all members.

Public Types

enum  {
  TEXTRANGE_CARETPOSITION = 1, TEXTRANGE_RAWINPUT = 2, TEXTRANGE_SELECTEDRAWTEXT = 3, TEXTRANGE_CONVERTEDTEXT = 4,
  TEXTRANGE_SELECTEDCONVERTEDTEXT = 5
}

Public Member Functions

 nsPrivateTextRange (PRUint16 aRangeStart, PRUint16 aRangeEnd, PRUint16 aRangeType)
virtual ~nsPrivateTextRange (void)
NS_IMETHOD GetRangeStart (PRUint16 *aRangeStart)
NS_IMETHOD SetRangeStart (PRUint16 aRangeStart)
NS_IMETHOD GetRangeEnd (PRUint16 *aRangeEnd)
NS_IMETHOD SetRangeEnd (PRUint16 aRangeEnd)
NS_IMETHOD GetRangeType (PRUint16 *aRangeType)
NS_IMETHOD SetRangeType (PRUint16 aRangeType)

Protected Attributes

PRUint16 mRangeStart
PRUint16 mRangeEnd
PRUint16 mRangeType

Detailed Description

Definition at line 43 of file nsPrivateTextRange.h.


Member Enumeration Documentation

anonymous enum [inherited]
Enumerator:
TEXTRANGE_CARETPOSITION 
TEXTRANGE_RAWINPUT 
TEXTRANGE_SELECTEDRAWTEXT 
TEXTRANGE_CONVERTEDTEXT 
TEXTRANGE_SELECTEDCONVERTEDTEXT 

Definition at line 51 of file nsIPrivateTextRange.h.


Constructor & Destructor Documentation

nsPrivateTextRange::nsPrivateTextRange ( PRUint16  aRangeStart,
PRUint16  aRangeEnd,
PRUint16  aRangeType 
)

Definition at line 41 of file nsPrivateTextRange.cpp.

:      mRangeStart(aRangeStart),
       mRangeEnd(aRangeEnd),
       mRangeType(aRangeType)
{
}

Definition at line 48 of file nsPrivateTextRange.cpp.

{
}

Member Function Documentation

Implements nsIPrivateTextRange.

Definition at line 66 of file nsPrivateTextRange.cpp.

{
       *aRangeEnd = mRangeEnd;
       return NS_OK;
}

Implements nsIPrivateTextRange.

Definition at line 54 of file nsPrivateTextRange.cpp.

{
       *aRangeStart = mRangeStart;
       return NS_OK;
}

Implements nsIPrivateTextRange.

Definition at line 78 of file nsPrivateTextRange.cpp.

{
       *aRangeType = mRangeType;
       return NS_OK;
}

Implements nsIPrivateTextRange.

Definition at line 72 of file nsPrivateTextRange.cpp.

{
       mRangeEnd = aRangeEnd;
       return NS_OK;
}

Implements nsIPrivateTextRange.

Definition at line 60 of file nsPrivateTextRange.cpp.

{
       mRangeStart = aRangeStart;
       return NS_OK;
}

Implements nsIPrivateTextRange.

Definition at line 84 of file nsPrivateTextRange.cpp.

{
       mRangeType = aRangeType;
       return NS_OK;
}

Member Data Documentation

Definition at line 63 of file nsPrivateTextRange.h.

Definition at line 62 of file nsPrivateTextRange.h.

Definition at line 64 of file nsPrivateTextRange.h.


The documentation for this class was generated from the following files: