class XtInputStringField: public XObject

Field to read strings

Inheritance:

XtInputStringField - XObject - XEventBroker


Public Methods

[more] XtInputStringField(XRect __r, char *__DefaultString, unsigned __MaxLen, unsigned long __Flags)
Constructs a new XtInputStringField.
[more]virtual ~XtInputStringField()
Destructs the object's instance
[more]virtual void ClearValue()
Clears the value
[more]virtual void Draw()
Draws the object
[more]virtual const char* GetDefaultValue()
Returns the default value
[more]virtual short GetInputLength()
Returns the actual input length of the input field
[more]virtual const char* GetValue()
Returns the current value
[more]virtual bool ProcessKeyboardEvent(XKeyboardEvent *__Event)
Process keyboard events
[more]virtual bool ProcessMessage(XMessage *__Event)
Process messages
[more]virtual bool ProcessMouseEvent(XMouseEvent *__Event)
Process mouse events
[more]virtual void SetState(unsigned long __Mask, bool __BoolValue)
Sets the object's state
[more]virtual void SetValue(const char *__DefaultString)
Sets the default value


Inherited from XObject:

Public Methods

ovirtual void CalculateBounds()
oXRect GetBounds()
ovirtual XEvent* GetEvent()
ounsigned long GetId()
ochar* GetObjClass()
oXPoint GetOrigin()
ovirtual char* GetPalette()
ovirtual unsigned GetPalEntry(unsigned __Index)
oXPoint GetSize()
ounsigned long GetState()
ovirtual bool GetState(unsigned long __Mask)
ovirtual void HandleEvent(XEvent *__Event)
ovirtual void MoveTo(XPoint __p)
ovirtual bool ProcessEvent(XEvent *__Event)
ovirtual void RegisterClient(XObject *__Client)
ovirtual void Resize(XPoint __delta)
ovirtual void SetPalette(char *__Pal, unsigned __PalLen)
ovirtual void UnregisterClient(XObject *__Client)

Protected Fields

ounsigned long Id
ounsigned long State
oXPoint Origin
oXPoint Size
oXPoint Cursor
oXRect Bounds
ochar ObjClass[40]
ochar Pal[80]
ounsigned PalLen
oXObject* Server
oClientList Clients

Protected Methods

obool SendMessage(unsigned long __Receiver, unsigned long __Class, long __Message)
obool SendMessage(unsigned long __Receiver, unsigned long __Class, void *__Body, unsigned long __Size)


Inherited from XEventBroker:

Public Methods

ovirtual void AddListener(unsigned long __Listener, unsigned __Class)
ovirtual void DelListener(unsigned long __Listener, unsigned __Class)
ovirtual void DelListener(unsigned long __Listener)

Protected Fields

oMap __map


Inherited from XObjectEventListener:

Public Methods

ovirtual bool ProcessCommand(XMessage *__Event)
ovirtual bool ProcessSignal(XEvent *__Event)
ovirtual bool ProcessBroadcast(XEvent *__Event)


Inherited from XEventListener:


Documentation

Field to read strings
o XtInputStringField(XRect __r, char *__DefaultString, unsigned __MaxLen, unsigned long __Flags)
Constructs a new XtInputStringField.
Parameters:
__r - field bounds
__DefaultString - default string
__MaxLen - maximum string length
__Flags - options, which can be:

FIELD_HIDDEN - the output should be hidden

FIELD_READONLY - the content cannot be changed

FIELD_JUSTIFIED_RIGHT - the field is right-justified

FIELD_UPPER_CASE - the input is converted to upper case

FIELD_LOWER_CASE - the input is converted to lower case

FIELD_AUTO_SKIP - at end of field skip to next field

FIELD_NO_CLEAR - don't clear exist value at resume focus

ovirtual ~XtInputStringField()
Destructs the object's instance

ovirtual void ClearValue()
Clears the value

ovirtual void Draw()
Draws the object

ovirtual const char* GetDefaultValue()
Returns the default value

ovirtual short GetInputLength()
Returns the actual input length of the input field

ovirtual const char* GetValue()
Returns the current value

ovirtual bool ProcessKeyboardEvent(XKeyboardEvent *__Event)
Process keyboard events

ovirtual bool ProcessMessage(XMessage *__Event)
Process messages

ovirtual bool ProcessMouseEvent(XMouseEvent *__Event)
Process mouse events

ovirtual void SetState(unsigned long __Mask, bool __BoolValue)
Sets the object's state

ovirtual void SetValue(const char *__DefaultString)
Sets the default value


Direct child classes:
XtInputNumericField
XtComboBox

Go to the hierarchy of classes.


Copyright ©1998-2001 Dragos Acostachioaie
Last update on October 27, 2001

This page was generated with the help of DOC++.