CEikTTimeEditor Class Reference

API published in: S60 1st Ed

Link against: avkon.lib eikctl.lib eikcoctl.lib uiklaf.lib form.lib

Capability Information

Required Capabilities

None


#include <eikmfne.h>

Inherits CEikMfne.

Inherited by CEikDateEditor, CEikTimeAndDateEditor, and CEikTimeEditor.


Detailed Description

Specifies an abstract interface for time and date editors where the time and date are set and retrieved using the TTime class.

Public Member Functions

virtual void  SetMinimumAndMaximum (const TTime &aMinimumTime, const TTime &aMaximumTime)=0
  An implementation (of this pure virtual function) should set the range of allowable time values.
virtual void  GetMinimumAndMaximum (TTime &aMinimumTime, TTime &aMaximum) const =0
  An implementation (of this pure virtual function) should get the range of allowable time values.
virtual void  SetTTime (const TTime &aTime)=0
  An implementation (of this pure virtual function) should set the time in the editor.
virtual TTime  GetTTime () const =0
  An implementation (of this pure virtual function) should get the time from the editor.

Member Function Documentation

virtual void CEikTTimeEditor::GetMinimumAndMaximum TTime &  aMinimumTime,
TTime &  aMaximum
const [pure virtual]
 

An implementation (of this pure virtual function) should get the range of allowable time values.

Parameters:
aMinimumTime  The minimum allowable value.
aMaximum  The maximum allowable value.

Implemented in CEikTimeEditor, CEikDateEditor, and CEikTimeAndDateEditor.

virtual TTime CEikTTimeEditor::GetTTime  )  const [pure virtual]
 

An implementation (of this pure virtual function) should get the time from the editor.

Can only be called if CEikMfne::PrepareForFocusLossL() succeeded.

Returns:
The time.
virtual void CEikTTimeEditor::SetMinimumAndMaximum const TTime &  aMinimumTime,
const TTime &  aMaximumTime
[pure virtual]
 

An implementation (of this pure virtual function) should set the range of allowable time values.

This defines the maximum and minimum values that may be entered by the user.

Parameters:
aMinimumTime  The minimum allowable value.
aMaximumTime  The maximum allowable value.

Implemented in CEikTimeEditor, CEikDateEditor, and CEikTimeAndDateEditor.

virtual void CEikTTimeEditor::SetTTime const TTime &  aTime  )  [pure virtual]
 

An implementation (of this pure virtual function) should set the time in the editor.

Parameters:
aTime  The time.

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

Copyright © Nokia Corporation 2001-2008
Back to top