VCL
[ class tree: VCL ] [ index: VCL ] [ all elements ]

Class: TextField

Source Location: /comctrls.inc.php

Class Overview

Object
   |
   --Persistent
      |
      --Component
         |
         --Control
            |
            --FocusControl
               |
               --QWidget
                  |
                  --CustomTextField
                     |
                     --TextField

TextField control


Class Details

[line 925]
TextField control



[ Top ]

Properties

Events

    [none]

JS Events

Methods

    [none]

Constants

    [none]

Inherited Properties

Class: CustomTextField

CustomTextField::BorderStyle
Determines whether the edit control has a single line border around the client area.
CustomTextField::CharCase
Determines the case of the text within the edit control.
CustomTextField::DataField
DataField is the fieldname to be attached to the control
CustomTextField::DataSource
DataSource points to a DataSource component if used.
CustomTextField::IsPassword
If IsPassword is true then all characters are displayed with a password character defined by the browser.
CustomTextField::MaxLength
Specifies the maximum number of characters the user can enter into the edit control. A value of 0 indicates that there is no application-defined limit on the length.
CustomTextField::ReadOnly
Set the control to read-only mode. That way the user cannot enter or change the text of the edit control.
CustomTextField::Text
Text info associated with control.

Class: FocusControl

FocusControl::ControlCount
Return the number of controls for which this control is the Parent
FocusControl::Layout
Specifies the Layout this control lives in @see ActiveLayout

Class: Control

Control::AdjustToLayout
If true, the control should adjust to the selected layout
Control::Align
Specifies the Align for this control
Control::Alignment
Specifies the alignment to be used by the control
Control::Caption
Returns the caption property
Control::Color
Returns the color property
Control::ControlStyle
An array which holds the control style, with settings for the IDE
Control::Cursor
Cursor to show when the mouse is over the control
Control::DesignColor
Specifies a color can be used by the control in design time
Control::DoParentReset
Performs a parent reset if true
Control::Enabled
Determines if the controls is enabled or not
Control::Font
Determines the Font to be used when generating this control
Control::Height
Control::Hint
Text to show in a tooltip when the mouse is over the control for some time
Control::HintAttribute
This function returns the attribute for the hint that can be included in any tag. The attribute's name is "title".
Control::IsLayer
Specifies if this control is a Layer instead be integrated into the document
Control::JsEvents
Return assigned javascript events as attributes for the tag
Control::JSWrapperHiddenFieldName
Get the name of the hidden field used to submit the value which event was fired.
Control::Layer
Determines the layer this control is going to be rendered
Control::Left
Left coordinate
Control::Parent
Determines the parent control which holds this control
Control::ParentColor
Determines where a control looks for its color information.
Control::ParentFont
Determines where a control looks for its font information.
Control::ParentShowHint
Determines where a control looks to find out if its Help Hint should be shown.
Control::PopupMenu
Specifies the PopupMenu component to show when right clicking the control
Control::ShowHint
Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the control.
Control::Style
CSS style to be used when rendering the component
Control::StyleClass
Return the normalized CSS style
Control::Top
Top coordinate
Control::Visible
Determines if the controls is visible in run-time or not
Control::Width
Control width

Class: Component

Component::ComponentCount
Indicates how many components this component is owner
Component::Components
Component list containing all the components owned by this component
Component::ControlState
A flag to know the state of the control, csLoading, csDesigning
Component::DataFieldValue
This function returns the value of the datafield, if any
Component::Name
Name for the component, to be used as an identifier, should be unique
Component::NamePath
The path to uniquely identify a component, qualified by the owner when required
Component::Owner
The owner of this component, usually the page component, but the owner of pages is the application object
Component::Tag
A versatily property of every Component that can be used in any way you want

Class: Persistent

Persistent::NamePath
Used to serialize/unserialize
Persistent::Owner
Owner of the component, in Persistent always return null

Inherited Events

Class: CustomTextField

CustomTextField::OnClick
OnClick event

Class: Control

Control::OnAfterShow
Event fired after show the control
Control::OnBeforeShow
Event fired before show the control
Control::OnShow
Event fired at the same moment the control is show, some controls can

Inherited JS Events

Class: Control

Control::OnActivate
Fires when the object is set as the active element.
Control::OnBeforeCopy
Fires on the source object before the selection is copied to the system clipboard.
Control::OnBeforeCut
Fires on the source object before the selection is deleted from the document.
Control::OnBeforeDeactivate
Fires immediately before the activeElement is changed from the current object to another object in the parent document.
Control::OnBeforeEditfocus
Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.
Control::OnBeforePaste
Fires on the target object before the selection is pasted from the system clipboard to the document.
Control::OnBlur
Fires when the object loses the input focus.
Control::OnChange
Fires when the contents of the object or selection have changed.
Control::OnClick
Fires when the user clicks the left mouse button on the object.
Control::OnContextMenu
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Control::OnControlSelect
Fires when the user is about to make a control selection of the object.
Control::OnCopy
Fires on the source element when the user copies the object or selection, adding it to the system clipboard.
Control::OnCut
Fires on the source element when the object or selection is removed from the document and added to the system clipboard.
Control::OnDblClick
Fires when the user double-clicks the object.
Control::OnDeactivate
Fires when the activeElement is changed from the current object to another object in the parent document.
Control::OnDrag
Fires on the source object continuously during a drag operation.
Control::OnDragEnter
Fires on the target element when the user drags the object to a valid drop target.
Control::OnDragLeave
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
Control::OnDragOver
Fires on the target element continuously while the user drags the object over a valid drop target.
Control::OnDragStart
Fires on the source object when the user starts to drag a text selection or selected object.
Control::OnDrop
Fires on the target object when the mouse button is released during a drag-and-drop operation.
Control::OnFilterChange
Fires when a visual filter changes state or completes a transition.
Control::OnFocus
Fires when the object receives focus
Control::OnHelp
Fires when the user presses the F1 key while the browser is the active window.
Control::OnKeyDown
Fires when the user presses a key.
Control::OnKeyPress
Fires when the user presses an alphanumeric key.
Control::OnKeyUp
Fires when the user releases a key.
Control::OnLoseCapture
Fires when the object loses the mouse capture.
Control::OnMouseDown
Fires when the user clicks the object with either mouse button.
Control::OnMouseEnter
Fires when the user moves the mouse pointer into the object.
Control::OnMouseLeave
Fires when the user moves the mouse pointer outside the boundaries of the object.
Control::OnMouseMove
Fires when the user moves the mouse over the object.
Control::OnMouseOut
Fires when the user moves the mouse pointer outside the boundaries of the object.
Control::OnMouseOver
Fires when the user moves the mouse pointer into the object.
Control::OnMouseUp
Fires when the user releases a mouse button while the mouse is over the object.
Control::OnPaste
Fires on the target object when the user pastes data, transferring the data from the system clipboard to the document.
Control::OnPropertyChange
Fires when a property changes on the object.
Control::OnReadyStateChange
Fires when the state of the object has changed.
Control::OnResize
Fires when the size of the object is about to change.
Control::OnResizeEnd
Fires when the user finishes changing the dimensions of the object in a control selection.
Control::OnResizeStart
Fires when the user begins to change the dimensions of the object in a control selection
Control::OnSelectStart
Fires when the object is being selected

Inherited Methods

Class: CustomTextField

CustomTextField::__construct
CustomTextField::AdjustText
Modify the text depending on the CharCase property
CustomTextField::CalculateEditorRect
Returns an array with the control dimensions
CustomTextField::dumpContents
CustomTextField::dumpExtraControlCode
Nothing here. See LabeledEdit for more info
CustomTextField::dumpJsEvents
CustomTextField::init
CustomTextField::loaded
CustomTextField::unserialize

Class: QWidget

QWidget::__construct
QWidget::dumpChildrenControls
Code to dump when the Widget accepts children controls.
QWidget::dumpCommonContentsBottom
Dump common qooxdoo finalization code
QWidget::dumpCommonContentsTop
Dump the common qooxdoo initialization code
QWidget::dumpCommonQWidgetJSEvents
QWidget::dumpCommonQWidgetProperties
QWidget::dumpHeaderCode
QWidget::PrepareQWJSEvent

Class: FocusControl

FocusControl::__construct
FocusControl::dumpChildren
Dump all children
FocusControl::updateChildrenColors
Update the colors for all the children if parentcolor is set
FocusControl::updateChildrenFonts
If this control has any children that have ParentFont==true then this function will assign the Font property to all children Font properties.
FocusControl::updateChildrenParentProperties
If this control has any children that use a property's value from the parent then this function will update all necessary properties.
FocusControl::updateChildrenShowHints
Update the ShowHints properties for all children controlss

Class: Control

Control::__construct
Constructor for the class
Control::addJSWrapperToEvents
Add or replace the JS event attribute with the wrapper.
Control::canShow
Determines whether a control can be shown or not
Control::dumpChildren
Dump all children components
Control::dumpContents
Dump the control contents, inherit and fill this method with the code
Control::dumpHeaderCode
Control::dumpJavascript
Dump Javascript code required for this component to work
Control::dumpJSEvent
Dumps a javascript named $event
Control::dumpJsEvents
Dump Javascript events
Control::getJSWrapperFunction
JS wrapper function that forwards a JS event to the PHP script by submitting the HTML form.
Control::getJSWrapperFunctionName
Get the function name of a JS event wrapper.
Control::getJSWrapperSubmitEventValue
Value set to the hidden field when the specific JS event was fired and the wrapper function was called.
Control::loaded
Control::show
Show control contents
Control::updateParentColor
If ParentColor == true the parent's color is assigned to this control.
Control::updateParentFont
If ParentFont == true the parent's font is assigned to this control.
Control::updateParentProperties
Updates all properties that use the parent property as source.
Control::updateParentShowHint
If ParentShowHint == true the parent's showhint is assigned to this control.

Class: Component

Component::__construct
Constructor
Component::ajaxCall
Returns the js event attribute to call the server using ajax
Component::callEvent
Calls a server event
Component::dumpChildrenHeaderCode
Dump the header code for all the children
Component::dumpChildrenJavascript
Dump the javascript code for all the children
Component::dumpHeaderCode
To dump header code required
Component::dumpHiddenKeyFields
This function dumps out the key fields for the current row, useful to
Component::dumpJavascript
To dump the javascript code needed by this component
Component::fixupProperty
This method returns the right object (or the input string if object not found) for an object name Should be used on the loaded method for object properties to find the right reference
Component::generateAjaxEvent
Returns the js event attribute to call the server using Ajax we use xajax to handle all the ajax stuff.
Component::hasValidDataField
This function returns true if the datafield is valid
Component::init
To initialize a component, the right place to process events
Component::insertComponent
Insert a component into the components collection
Component::loaded
A virtual method to get notified when the object has been fully loaded from a stream
Component::loadedChildren
Calls childrens loaded recursively
Component::loadResource
Load this component from a string
Component::preinit
To initialize a component, called before init()
Component::readAccessibility
Overwrite this method to provide accessibility info for the RPC engine
Component::readFromResource
Read a component from a resource file
Component::removeComponent
Remove a component from the components collection
Component::serializeChildren
Serialize all children
Component::unserializeChildren
Unserialize all children
Component::updateDataField
Checks if there is any datafield attached to the component

Class: Persistent

Persistent::assign
Assing the source properties to this object
Persistent::assignError
Raises an assignation error
Persistent::assignTo
Assign this object to another object
Persistent::serialize
Stores this object into the session, it uses PHP reflection system to get published properties, the ones that will be stored.
Persistent::unserialize
Read this object properties from the session, only published properties will be recovered, components need an owner to be unserialized.

Class: Object

Object::__construct
Constructor
Object::className
Returns the name of the object class
Object::classNameIs
Check if the object is from a specific class
Object::classParent
Returns the parent class of the object
Object::inheritsFrom
Check if the object inherits from a specific class
Object::methodExists
Check if a method exists
Object::readProperty
Reads a property from the streams
Object::__get
To virtualize properties
Object::__set
To virtualize properties

Properties


property BorderStyle [line 1007]

Determines whether the edit control has a single line border around the client area.

Defined in CustomTextField::BorderStyle
[ Top ]

property CharCase [line 1010]

Determines the case of the text within the edit control.

Defined in CustomTextField::CharCase
[ Top ]

property Color [line 933]

Returns the color property

Defined in Control::Color
[ Top ]

property DataField [line 1013]

DataField is the fieldname to be attached to the control

Defined in CustomTextField::DataField
[ Top ]

property DataSource [line 1016]

DataSource points to a DataSource component if used.

Defined in CustomTextField::DataSource
[ Top ]

property Enabled [line 936]

Determines if the controls is enabled or not

Defined in Control::Enabled
[ Top ]

property Font [line 930]

Determines the Font to be used when generating this control

Defined in Control::Font
[ Top ]

property IsPassword [line 1019]

If IsPassword is true then all characters are displayed with a password character defined by the browser.

Defined in CustomTextField::IsPassword
[ Top ]

property MaxLength [line 1022]

Specifies the maximum number of characters the user can enter into the edit control. A value of 0 indicates that there is no application-defined limit on the length.

Defined in CustomTextField::MaxLength
[ Top ]

property ParentColor [line 939]

Determines where a control looks for its color information.

Defined in Control::ParentColor
[ Top ]

property ParentFont [line 942]

Determines where a control looks for its font information.

Defined in Control::ParentFont
[ Top ]

property ParentShowHint [line 945]

Determines where a control looks to find out if its Help Hint should be shown.

Defined in Control::ParentShowHint
[ Top ]

property PopupMenu [line 948]

Specifies the PopupMenu component to show when right clicking the control

Defined in Control::PopupMenu
[ Top ]

property ReadOnly [line 1025]

Set the control to read-only mode. That way the user cannot enter or change the text of the edit control.

Defined in CustomTextField::ReadOnly
[ Top ]

property ShowHint [line 951]

Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the control.

Defined in Control::ShowHint
[ Top ]

property Text [line 1028]

Text info associated with control.

Defined in CustomTextField::Text
[ Top ]

property Visible [line 954]

Determines if the controls is visible in run-time or not

Defined in Control::Visible
[ Top ]


Events



Javascript Events


property OnActivate [line 958]

Fires when the object is set as the active element.

Defined in Control::OnActivate
[ Top ]

property OnBlur [line 964]

Fires when the object loses the input focus.

Defined in Control::OnBlur
[ Top ]

property OnChange [line 967]

Fires when the contents of the object or selection have changed.

Defined in Control::OnChange
[ Top ]

property OnClick [line 970]

OnClick event

Defined in CustomTextField::OnClick
[ Top ]

property OnContextMenu [line 973]

Fires when the user clicks the right mouse button in the client area, opening the context menu.

Defined in Control::OnContextMenu
[ Top ]

property OnDblClick [line 976]

Fires when the user double-clicks the object.

Defined in Control::OnDblClick
[ Top ]

property OnDeActivate [line 961]

[ Top ]

property OnFocus [line 979]

Fires when the object receives focus

Defined in Control::OnFocus
[ Top ]

property OnKeyDown [line 982]

Fires when the user presses a key.

Defined in Control::OnKeyDown
[ Top ]

property OnKeyPress [line 985]

Fires when the user presses an alphanumeric key.

Defined in Control::OnKeyPress
[ Top ]

property OnKeyUp [line 988]

Fires when the user releases a key.

Defined in Control::OnKeyUp
[ Top ]

property OnMouseDown [line 991]

Fires when the user clicks the object with either mouse button.

Defined in Control::OnMouseDown
[ Top ]

property OnMouseMove [line 997]

Fires when the user moves the mouse over the object.

Defined in Control::OnMouseMove
[ Top ]

property OnMouseOut [line 1000]

Fires when the user moves the mouse pointer outside the boundaries of the object.

Defined in Control::OnMouseOut
[ Top ]

property OnMouseOver [line 1003]

Fires when the user moves the mouse pointer into the object.

Defined in Control::OnMouseOver
[ Top ]

property OnMouseUp [line 994]

Fires when the user releases a mouse button while the mouse is over the object.

Defined in Control::OnMouseUp
[ Top ]


Methods




Documentation generated on Tue, 27 Mar 2007 13:33:53 +0200 by phpDocumentor 1.3.1