Class: XULTextBox

Source Location: /class/controls.php.inc

Class Overview

Node
   |
   --BranchNode
      |
      --XULTextBox

Textbox element



Author(s):

Variables

Methods

Inherited Variables

Class: BranchNode

BranchNode::$children

Class: Node

Node::$behavior
Node::$eventHandler
Node::$eventType
Node::$eventYielder
Node::$handlerFor
Node::$id
Node::$isChild
Node::$isRegistered
Node::$observerTopics
Node::$parent
Node::$rootApplication
Node::$rootWindow
Node::$yielderFor

Inherited Methods

Class: BranchNode

BranchNode::addChild()
Add one or more nodes to this node's child collection
BranchNode::addChildAfter()
Add a new childnode after an existing one
BranchNode::addChildBefore()
Add a new childnode before an existing one
BranchNode::addChildFirst()
Adds one or more new childnodes in front of all existing childnodes
BranchNode::extractChild()
Extracts one or more childnodes from this node's child collection
BranchNode::extractChildren()
Extracts all childnodes from this node's child collection
BranchNode::findChild()
Get the index of a child node
BranchNode::getDescendants()
Recursively collects all nodes under this node
BranchNode::registerChildren()
[INTERNAL FUNCTION] Registers childnodes, called when this node is registered
BranchNode::removeChild()
Removes one or more childnodes from this node's child collection
BranchNode::removeChildren()
Removes all childnodes from this node's child collection
BranchNode::unregisterChildren()
[INTERNAL FUNCTION] Registers childnodes, called when this node is registered

Class: Node

Node::__construct()
Dynamic Constructor
Node::accessKey()
Set the accessKey attribute for this element
Node::addBehavior()
Add a behavior class
Node::addObserver()
Add an observer to this Node
Node::align()
Set the align attribute for this element
Node::attach()
[INTERNAL FUNCTION] Default attach method
Node::attributeMethod()
Convenient attribute setter
Node::backgroundColor()
Set the background color for the element
Node::backgroundImage()
Set the background of a node using CSS background-image property
Node::BehaviorCreateClass()
Constructs a Behavior class from a string classname and a settings array.
Node::BehaviorSetClassSettings()
Automatically initializes Behavior object
Node::blur()
Make this node loose focus
Node::callMethod()
Call a JavaScript method on the client-side node
Node::callMethodDelayed()
Call a JavaScript method on the client-side node in a delayed fashion
Node::className()
Set the CSS classname for the element
Node::commandHandler()
[INTERNAL FUNCTION] Handles an incoming event for this node
Node::context()
Set a contextmenu to show when clicking the context (right) mouse or keyboard button on this element
Node::createClientEvent()
Creates a new event on the client side
Node::createRemoteObject()
[INTERNAL FUNCTION] Calls the remote constructor of this class
Node::crop()
Set the crop attribute for this element
Node::detach()
[INTERNAL FUNCTION] Default detach method
Node::disableBehavior()
Disable behavior
Node::disabled()
Set the disabled attribute for this element
Node::enableBehavior()
Enable behavior
Node::equalsize()
Set the equalsize attribute for this element
Node::extractNode()
Extracts this node and its childnodes
Node::findAncestor()
Return the first ancestor of a certain class of this node
Node::fireClientEvent()
Fires a remote (client) event
Node::fireLocalEvent()
Fires a local (server) event
Node::flex()
Set the flex attribute for this element
Node::focus()
Give this node focus
Node::getBehavior()
Get a behavior class.
Node::height()
Set the height of the element
Node::hidden()
Set the hidden attribute for this element
Node::initNodeLayout()
[INTERNAL FUNCTION] Initializes the attributes of a node when it is registered
Node::insertElement()
[INTERNAL FUNCTION] Inserts the newly constructed node's element into the DOM tree on the client side
Node::label()
Set the label attribute for this element
Node::margin()
Set the margin of the element
Node::marginBottom()
Set the bottom margin of the element
Node::marginLeft()
Set the left margin of the element
Node::marginRight()
Set the right margin of the element
Node::marginTop()
Set the top margin of the element
Node::mousethrough()
Indicate whether mouse events should pass through this node onto its parent
Node::orient()
Set the orient attribute for this element
Node::pack()
Set the pack attribute for this element
Node::padding()
Set the padding of the element
Node::paddingBottom()
Set the bottom padding of the element
Node::paddingLeft()
Set the left padding of the element
Node::paddingRight()
Set the right padding of the element
Node::paddingTop()
Set the top padding of the element
Node::popup()
Set a popup menu to show when clicking on this element
Node::removeAttribute()
Remove an attribute on the client-side XUL node
Node::removeBehavior()
Delete behavior
Node::removeElement()
[INTERNAL FUNCTION] Removes the node's element from the client DOM tree
Node::removeEventHandler()
Removes an event handler
Node::removeEventReflex()
Removes a previously set reflex for a certain event
Node::removeEventYielder()
Removed a node this is yielded when an event on this node fires
Node::removeNode()
Removes and unregisters this node and its childnodes
Node::removeObserver()
Remove an observer from this Node
Node::removeObservers()
Remove all observers from this Node
Node::setAttribute()
Set an attribute on the client-side XUL node
Node::setDraggable()
Set this element as draggable
Node::setDroppable()
Set this element as a dropzone
Node::setEvent()
Shorthand version for setEventType, setEventHandler and setEventYielder
Node::setEventBlocking()
Sets whether the event should block (be synchronous)
Node::setEventHandler()
Sets an event handler
Node::setEventReflex()
Sets a reflex for a certain event
Node::setEventType()
Sets the event type for a certain event
Node::setEventYielder()
Sets a node to yield when an event on this node fires
Node::setMethod()
Set a JavaScript method on the client-side node
Node::setProperty()
Set a JavaScript property on the client-side node
Node::setStyle()
Set a CSS style property on the client-side XUL node
Node::size()
Set the size of the element
Node::textColor()
Set the text color for the element
Node::textSize()
Set the text size for the element
Node::textStyle()
Set the text style for the element
Node::tooltip()
Set a tooltip to show when hovering over this element
Node::tooltiptext()
Set the tooltiptext attribute for this element
Node::unbind()
[INTERNAL FUNCTION] Removes links to child and parent nodes
Node::unlink()
[INTERNAL FUNCTION] Removes event handler and yielder links to other nodes
Node::unRegister()
[INTERNAL FUNCTION] Removes this node from the client registry
Node::value()
Set the value attribute for this element
Node::width()
Set the width of the element
Node::yield()
Manually yield this node
Node::_dropHandler()
Node::__call()
PHP Magic function: Behavior pattern handler.

Class Variables

$initAttributes = array('multiline', 'readonly', 'type', 'cols', 'rows',
        'timeout', 'wrap', 'maxlength', 'min', 'max', 'searchbutton', 'increment',
        'emptytext', 'hidespinbuttons', 'decimalplaces', 'newlines', 'wraparound')

access:  public
Type:   mixed

$remoteConstructor =  'TextBox'

access:  public
Type:   mixed

$validity =

access:  public
Type:   mixed



Class Methods


constructor __construct() [line 301]

XULTextBox __construct( [ $value = ''], [ $multiline = FALSE], [ $width = NULL], [ $height = NULL])

access:  public

Overrides Node::__construct() (Dynamic Constructor)

Parameters:

   $value  
   $multiline  
   $width  
   $height  

[ Top ]

method attach() [line 310]

void attach( )

access:  public

Overrides Node::attach() ([INTERNAL FUNCTION] Default attach method)

[ Top ]

method autocompletepopup() [line 440]

void autocompletepopup( [ $node = NULL])

access:  public

Parameters:

   $node  

[ Top ]

method autocompletesearch() [line 436]

void autocompletesearch( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method autocompletesearchparam() [line 450]

void autocompletesearchparam( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method cols() [line 332]

void cols( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method completedefaultindex() [line 428]

void completedefaultindex( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method decimalplaces() [line 376]

void decimalplaces( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method emptytext() [line 368]

void emptytext( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method enablehistory() [line 420]

void enablehistory( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method getValidity() [line 414]

void getValidity( )

access:  public

[ Top ]

method hidespinbuttons() [line 372]

void hidespinbuttons( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method highlightnonmatches() [line 424]

void highlightnonmatches( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method increment() [line 364]

void increment( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method max() [line 356]

void max( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method maxlength() [line 348]

void maxlength( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method min() [line 352]

void min( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method multiline() [line 320]

void multiline( [ $state = NULL])

access:  public

Parameters:

   $state  

[ Top ]

method newlines() [line 380]

void newlines( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method readonly() [line 324]

void readonly( [ $state = NULL])

access:  public

Parameters:

   $state  

[ Top ]

method rows() [line 336]

void rows( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method searchbutton() [line 360]

void searchbutton( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method setInputFieldPattern() [line 409]

void setInputFieldPattern( $pattern)

access:  public

Parameters:

   $pattern  

[ Top ]

method setInputFieldPlaceholder() [line 405]

void setInputFieldPlaceholder( $placeholder)

access:  public

Parameters:

   $placeholder  

[ Top ]

method setInputFieldRequired() [line 398]

void setInputFieldRequired( $state)

access:  public

Parameters:

   $state  

[ Top ]

method setInputFieldType() [line 394]

void setInputFieldType( $type)

access:  public

Parameters:

   $type  

[ Top ]

method showcommentcolumn() [line 432]

void showcommentcolumn( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method timeout() [line 340]

void timeout( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method type() [line 328]

void type( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method unsigned() [line 388]

void unsigned( [ $signed = false])

access:  public

Parameters:

   $signed  

[ Top ]

method wrap() [line 344]

void wrap( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method wraparound() [line 384]

void wraparound( [ $val = NULL])

access:  public

Parameters:

   $val  

[ Top ]

method yieldCollect() [line 315]

void yieldCollect( $e, $val, $validity)

access:  public

Parameters:

   $e  
   $val  
   $validity  

[ Top ]


Documentation generated on Mon, 07 Apr 2014 00:51:03 +0200 by phpDocumentor 1.4.3