CAknIpFieldEditor Class Reference
| class CAknIpFieldEditor : public CEikMfne |
| Inherited Functions |
|---|
| | CAknControl::CAknControl() |
| | CAknControl::~CAknControl() |
| | CBase::CBase() |
| | CBase::Delete(CBase *) |
| | CBase::Extension_(TUint,TAny *&,TAny *) |
| | CBase::operator new(TUint) |
| | CBase::operator new(TUint,TAny *) |
| | CBase::operator new(TUint,TLeave) |
| | CBase::operator new(TUint,TLeave,TUint) |
| | CBase::operator new(TUint,TUint) |
| | CBase::~CBase() |
| | CCoeControl::AccumulatedZoom()const |
| | CCoeControl::ActivateGc()const |
| | CCoeControl::ActivateL() |
| | CCoeControl::BackedUpWindow()const |
| | CCoeControl::Background()const |
| | CCoeControl::CCoeControl() |
| | CCoeControl::CCoeControl(CCoeEnv *) |
| | CCoeControl::CCoeControl(const CCoeControl &) |
| | CCoeControl::CCoeControlArray |
| | CCoeControl::CapturesPointer()const |
| | CCoeControl::ClaimPointerGrab(TBool) |
| | CCoeControl::ClaimPointerGrab(TInt,TBool) |
| | CCoeControl::CloseWindow() |
| | CCoeControl::ComponentArrayExists()const |
| | CCoeControl::ComponentControl(TInt)const |
| | CCoeControl::Components() |
| | CCoeControl::Components()const |
| | CCoeControl::ControlContext()const |
| | CCoeControl::ControlEnv()const |
| | CCoeControl::CopyControlContextFrom(const CCoeControl *) |
| | CCoeControl::CountComponentControls()const |
| | CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &) |
| | CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode) |
| | CCoeControl::CreateWindowL() |
| | CCoeControl::CreateWindowL(RWindowGroup *) |
| | CCoeControl::CreateWindowL(RWindowTreeNode &) |
| | CCoeControl::CreateWindowL(const CCoeControl *) |
| | CCoeControl::CustomGc()const |
| | CCoeControl::DeactivateGc()const |
| | CCoeControl::DrawBackground(const TRect &)const |
| | CCoeControl::DrawDeferred()const |
| | CCoeControl::DrawForeground(const TRect &)const |
| | CCoeControl::DrawNow()const |
| | CCoeControl::DrawNow(const TRect &)const |
| | CCoeControl::DrawableWindow()const |
| | CCoeControl::EnableDragEvents() |
| | CCoeControl::EnableReportControlStateChange(TBool) |
| | CCoeControl::EnableWindowTransparency() |
| | CCoeControl::FindBackground()const |
| | CCoeControl::FindFontProvider()const |
| | CCoeControl::GetColor(TInt,TRgb &)const |
| | CCoeControl::GetGc()const |
| | CCoeControl::GetHelpContext(TCoeHelpContext &)const |
| | CCoeControl::GrabbingComponent()const |
| | CCoeControl::GrabbingComponent(TInt)const |
| | CCoeControl::HandleComponentControlsResourceChange(TInt) |
| | CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt) |
| | CCoeControl::HandlePointerBufferReadyL() |
| | CCoeControl::HandleRedrawEvent(const TRect &)const |
| | CCoeControl::HitTest()const |
| | CCoeControl::IgnoreEventsUntilNextPointerUp() |
| | CCoeControl::Index(const CCoeControl *)const |
| | CCoeControl::InitComponentArrayL() |
| | CCoeControl::IsActivated()const |
| | CCoeControl::IsBackedUp()const |
| | CCoeControl::IsBeingDestroyed()const |
| | CCoeControl::IsBlank()const |
| | CCoeControl::IsDimmed()const |
| | CCoeControl::IsFocused()const |
| | CCoeControl::IsNonFocusing()const |
| | CCoeControl::IsReadyToDraw()const |
| | CCoeControl::IsVisible()const |
| | CCoeControl::LayoutManager()const |
| | CCoeControl::MaximumWidth()const |
| | CCoeControl::NotifyFontChange(const CCoeFontProvider *) |
| | CCoeControl::Observer()const |
| | CCoeControl::OverrideColorL(TInt,TRgb) |
| | CCoeControl::OwnsWindow()const |
| | CCoeControl::Parent() |
| | CCoeControl::Parent()const |
| | CCoeControl::Position()const |
| | CCoeControl::PositionChanged() |
| | CCoeControl::PositionRelativeToScreen()const |
| | CCoeControl::PrepareForFocusGainL() |
| | CCoeControl::ProcessPointerBufferReadyL() |
| | CCoeControl::ProcessPointerEventL(const TPointerEvent &) |
| | CCoeControl::Rect()const |
| | CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const |
| | CCoeControl::RecursivelyMergedInputCapabilities()const |
| | CCoeControl::RefetchPixelMappingL() |
| | CCoeControl::RemoveFromParent() |
| | CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent) |
| | CCoeControl::RequestRelayout(const CCoeControl *) |
| | CCoeControl::ResetGc()const |
| | CCoeControl::ScreenFont(const TCoeFont &)const |
| | CCoeControl::SetAllowStrayPointers() |
| | CCoeControl::SetBackground(const MCoeControlBackground *) |
| | CCoeControl::SetBlank() |
| | CCoeControl::SetCanDrawOutsideRect() |
| | CCoeControl::SetComponentsToInheritVisibility(TBool) |
| | CCoeControl::SetContainerWindowL(RBackedUpWindow &) |
| | CCoeControl::SetContainerWindowL(RWindow &) |
| | CCoeControl::SetContainerWindowL(const CCoeControl &) |
| | CCoeControl::SetControlContext(MCoeControlContext *) |
| | CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &) |
| | CCoeControl::SetCustomGc(CWindowGc *) |
| | CCoeControl::SetDimmed(TBool) |
| | CCoeControl::SetExtent(const TPoint &,const TSize &) |
| | CCoeControl::SetExtentToWholeScreen() |
| | CCoeControl::SetFocus(TBool,TDrawNow) |
| | CCoeControl::SetFocusing(TBool) |
| | CCoeControl::SetFontProviderL(const CCoeFontProvider &) |
| | CCoeControl::SetGc(CWindowGc *)const |
| | CCoeControl::SetGloballyCapturing(TBool) |
| | CCoeControl::SetHitTest(const MCoeControlHitTest *) |
| | CCoeControl::SetLayoutManagerL(MCoeLayoutManager *) |
| | CCoeControl::SetMaximumWidth(TInt) |
| | CCoeControl::SetMopParent(MObjectProvider *) |
| | CCoeControl::SetNeighbor(CCoeControl *) |
| | CCoeControl::SetNonFocusing() |
| | CCoeControl::SetObserver(MCoeControlObserver *) |
| | CCoeControl::SetParent(CCoeControl *) |
| | CCoeControl::SetPointerCapture(TBool) |
| | CCoeControl::SetPosition(const TPoint &) |
| | CCoeControl::SetRect(const TRect &) |
| | CCoeControl::SetSize(const TSize &) |
| | CCoeControl::SetSizeWithoutNotification(const TSize &) |
| | CCoeControl::SetTextBaselineSpacing(TInt) |
| | CCoeControl::SetUniqueHandle(TInt) |
| | CCoeControl::SetZoomFactorL(TInt,TZoomType) |
| | CCoeControl::Size()const |
| | CCoeControl::SystemGc()const |
| | CCoeControl::TextBaselineOffset(const TSize &)const |
| | CCoeControl::TextDrawer(TInt)const |
| | CCoeControl::UniqueHandle()const |
| | CCoeControl::Window()const |
| | CCoeControl::WriteInternalStateNowL(RWriteStream &)const |
| | CCoeControl::ZoomWithType()const |
| | CCoeControl::operator=(const CCoeControl &) |
| | CCoeControl::~CCoeControl() |
| | CEikBorderedControl::Border()const |
| | CEikBorderedControl::CEikBorderedControl() |
| | CEikBorderedControl::CEikBorderedControl(const TGulBorder &) |
| | CEikBorderedControl::HasBorder()const |
| | CEikBorderedControl::SetAdjacent(TInt) |
| | CEikBorderedControl::SetBorder(TGulBorder::TBorderType) |
| | CEikBorderedControl::SetBorder(TInt) |
| | CEikMfne::AddField(CEikMfneField *) |
| | CEikMfne::BorderMargins()const |
| | CEikMfne::CEikMfne() |
| | CEikMfne::Convert(const TTime &) |
| | CEikMfne::Convert(const TTimeIntervalSeconds &) |
| | CEikMfne::CreateFieldArrayL(TInt) |
| | CEikMfne::CurrentField()const |
| | CEikMfne::DrawNowAndLeaveWithTimeDateFormatInfoMsgL(TInt,const TTime &)const |
| | CEikMfne::Field(TInt)const |
| | CEikMfne::FieldIsAboutToBeDeHighlighted(CEikMfneField *,TBool &) |
| | CEikMfne::FocusChanged(TDrawNow) |
| | CEikMfne::Font()const |
| | CEikMfne::GetColorUseListL(CArrayFix< TCoeColorUse > &)const |
| | CEikMfne::GetCursorInfo(TPoint &,TInt &,TInt &,TInt &) |
| | CEikMfne::GetFeature(TInt,TInt &)const |
| | CEikMfne::HandleInteraction(TBool,TInt,TInt,CEikMfneField::THighlightType,TBool &,TBool &) |
| | CEikMfne::HandleMfneCommandL(TInt) |
| | CEikMfne::HandleResourceChange(TInt) |
| | CEikMfne::HighlightField(TInt) |
| | CEikMfne::InputCapabilities()const |
| | CEikMfne::InvalidFieldAlert() |
| | CEikMfne::LeaveWithAlert(TInt) |
| | CEikMfne::MakeVisible(TBool) |
| | CEikMfne::MfneSize()const |
| | CEikMfne::MfneSize(TBool) |
| | CEikMfne::MinimumSize() |
| | CEikMfne::MopSupplyObject(TTypeUid) |
| | CEikMfne::NumFields()const |
| | CEikMfne::PrepareForFocusLossL() |
| | CEikMfne::ReadDate(TResourceReader &) |
| | CEikMfne::ReadDuration(TResourceReader &) |
| | CEikMfne::ReadTime(TResourceReader &) |
| | CEikMfne::ReadTimeAndDate(TResourceReader &) |
| | CEikMfne::ReadTimeOffset(TResourceReader &) |
| | CEikMfne::ReportStateChangeEventL() |
| | CEikMfne::ReportUpdate() |
| | CEikMfne::ResetFieldArray() |
| | CEikMfne::SetCurrentField(TInt) |
| | CEikMfne::SetFeature(TInt,TInt) |
| | CEikMfne::SetFirstEditableField() |
| | CEikMfne::SetFont(const CFont *) |
| | CEikMfne::SetMfneAlignment(TInt) |
| | CEikMfne::SetSkinBackgroundControlContextL(MAknsControlContext *) |
| | CEikMfne::SetSkinTextColorL(TInt,TInt) |
| | CEikMfne::SetSuppressBackgroundDrawing(TBool) |
| | CEikMfne::SetUpAndDownKeysConsumed(TBool) |
| | CEikMfne::SetUseOverrideColors(TBool) |
| | CEikMfne::SetValidateCallBack(TCallBack) |
| | CEikMfne::SizeChanged() |
| | CEikMfne::SupportsFeature(TInt)const |
| | CEikMfne::WriteInternalStateL(RWriteStream &)const |
| | CEikMfne::~CEikMfne() |
Detailed Description
The CAknIpFieldEditor class implements an editor for an IP address. Based on Crystal CCknIpFieldEditor.
Constructor & Destructor Documentation
CAknIpFieldEditor ( )
| IMPORT_C | CAknIpFieldEditor | ( | ) | |
Member Function Documentation
Address ( )
| IMPORT_C TInetAddr | Address | ( | ) | const |
Gets the editor's value. Method for reading the editor value.
Returns: TInetAddr struct including the address.
ConstructFromResourceL ( TResourceReader & )
| IMPORT_C void | ConstructFromResourceL | ( | TResourceReader & | aResourceReader | ) | [virtual] |
From CCoeControl. Constructs controls from a resource file. Essential for Dialog/Form construction. Method for constructing the control from resources. Gets one parameter: TResourceReader& aResourceReader - Reference to a resource reader associated to a IP Field Editor control resource.
| Parameter | Description | | aResourceReader | The resource reader with which to access IP_FIELD_EDITOR resource. |
ConstructL ( TInetAddr &, TInetAddr &, TInetAddr &, const TInt )
| void | ConstructL | ( | TInetAddr & | aMinimumAddress, |
| | TInetAddr & | aMaximumAddress, |
| | TInetAddr & | aInitialAddress, |
| | const TInt | aFlags = 0 |
| | ) | |
| Parameter | Description | | aMinimumAddress | Reference to a TInetAddr struct. Defines lower limits for IP editor fields. |
| aMaximumAddress | Reference to a TInetAddr struct. Defines upper limits for IP editor fields. |
| aInitialAddress | Reference to a TInetAddr struct. Defines the initial address of the IP editor. |
| aFlags | The number field's flags. Default is 0. |
Returns: Pointer to the fully constructed CAknIpFieldEditor object.
GetMinimumAndMaximum ( TInetAddr &, TInetAddr & )
| IMPORT_C void | GetMinimumAndMaximum | ( | TInetAddr & | aMinimumAddress, |
| | TInetAddr & | aMaximumAddress |
| | ) | const [virtual] |
Gets the minimum and maximum editor values. Method for getting editor fields' minimum and maximum values. Gets two parameters: TInetAddr& aMinimumFieldValues - Reference to a TInetAddr struct in which the lower limits are wanted to be returned. IP editor fields. TInetAddr& aMaximumFieldValues - Reference to a TInetAddr struct in which the upper limits are wanted to be returned.
| Parameter | Description | | aMinimumAddress | Reference to a TInetAddr struct in which the lower limits are wanted to be returned. |
| aMaximumAddress | Reference to a TInetAddr struct in which the upper limits are wanted to be returned. |
HandlePointerEventL ( const TPointerEvent & )
| IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
| Parameter | Description | | aPointerEvent | The pointer event. |
NewL ( TInetAddr &, TInetAddr &, TInetAddr & )
| IMPORT_C CAknIpFieldEditor * | NewL | ( | TInetAddr & | aMinimumAddress, |
| | TInetAddr & | aMaximumAddress, |
| | TInetAddr & | aInitialAddress |
| | ) | [static] |
Two phased constructor. Constructs a CAknIpFieldEditor object using given parameters. Public method for constructing a CAknIpFieldEditor object. Gets four parameters: TInetAddr& aMinimumFieldValues - Reference to a TInetAddr struct. Defines lower limits for IP editor fields. TInetAddr& aMaximumFieldValues - Reference to a TInetAddr struct. Defines upper limits for IP editor fields. TInetAddr& aInitialAddress - Reference to a TInetAddr struct. Defines the initial address the IP editor.
| Parameter | Description | | aMinimumAddress | Reference to a TInetAddr struct. Defines lower limits for IP editor fields. |
| aMaximumAddress | Reference to a TInetAddr struct. Defines upper limits for IP editor fields. |
| aInitialAddress | Reference to a TInetAddr struct. Defines the initial address of the IP editor. |
Returns: Pointer to the fully constructed CAknIpFieldEditor object.
NewL ( )
Two phased constructor. Requires a call for ConstructFromResourcesL() method to finish construction. Public method for constructing a CAknIpFieldEditor object. Requires a call for ConstructFromResourcesL method to finish construction.
Returns: Pointer to the constructed CAknIpFieldEditor object.
OfferKeyEventL ( const TKeyEvent &, TEventCode )
From CCoeControl. Handles key events. Called by framework when a key event occurs. Method for handling key events.
| Parameter | Description | | aKeyEvent | The key event that occured. |
| aType | The type of key event that occured. |
Returns: EKeyWasConsumed if the event was processed, EKeyWasNotConsumed if the event was not processed
ReadIPAddress ( TResourceReader & )
Gets an IP address from resources. Method for reading an IP address from resources. Gets one parameter: TResourceReader& aResourceReader - Reference to a resource reader associated to the IP address resource.
| Parameter | Description | | aResourceReader | Reference to a resource reader associated to the IP_FIELD resource. |
Returns: TInetAddr struct including the address.
SetAddress ( const TInetAddr & )
| IMPORT_C void | SetAddress | ( | const TInetAddr & | aAddress | ) | |
Sets the editor's value dynamically. Method for setting the editor fields dynamically. Gets one parameter: const TInetAddr& aAddress - Reference to a TInetAddr struct including the new address.
| Parameter | Description | | aAddress | Reference to a TInetAddr struct including the new address. |
SetMinimumAndMaximum ( const TInetAddr &, const TInetAddr & )
| IMPORT_C void | SetMinimumAndMaximum | ( | const TInetAddr & | aMinimumAddress, |
| | const TInetAddr & | aMaximumAddress |
| | ) | [virtual] |
Sets the minimum and maximum editor values. Method for setting editor fields' minimum and maximum values. Gets two parameters: TInetAddr& aMinimumFieldValues - Reference to a TInetAddr struct defining the lower limits of the editor fields. IP editor fields. TInetAddr& aMaximumFieldValues - Reference to a TInetAddr struct defining the upper limits of the editor fields.
| Parameter | Description | | aMinimumAddress | Reference to a TInetAddr struct defining the lower limits of the editor fields. |
| aMaximumAddress | Reference to a TInetAddr struct defining the upper limits of the editor fields. |