Abstract Class AHTMLElement

Description

Abstract class for all HTML Element widgets defines attributes and signals common to most elements

  • author: Jordan CM Wambaugh <jordan@wambaugh.org>
  • abstract:
  • signal: mouseOut() Emitted when the mouse leaves the widget
  • signal: clicked() Emitted when the widget is clicked
  • signal: mouseDown() Emitted when the mouse button is pressed down on the widget
  • signal: mouseOver() Emitted when the mouse hovers over the widget
  • signal: dblClicked() Emitted when the widget is double-clicked
  • signal: mouseMove() Emitted when the mouse moves over the widget
  • signal: keyUp() Emitted when a key is released
  • signal: keyPressed() Emitted when a key is pressed within the widget
  • signal: focus() Emitted when the widget gets keyboard focus
  • signal: mouseUP() Emitted when the mouse button is released from the wwidget

Located in /lib/widgets/AHTMLElement.php (line 30)

AObject
   |
   --AWidget
      |
      --AHTMLElement
Direct descendents
Class Description
 class AImage class AImage
 class ALineEdit class ALineEdit
 class AParagraph class AParagraph
 class APushButton class APushButton
 class ATableCell ATableCell class - a widget representing a single cell in a table.
 class ATextEdit class AButton
 class AWindow
Variable Summary
 unknown_type $innerHTML
 unknown_type $tagName
Method Summary
 AHTMLElement __construct ()
 string getInnerHTML ()
 string getTagName ()
 string render ()
 void setInnerHTML (string $html)
 void setTagName (string $name)
Variables
unknown_type $innerHTML (line 37)

The inner html (if any)

  • access: private
unknown_type $tagName (line 44)

The name of the html tag

  • access: private

Inherited Variables

Inherited from AWidget

AWidget::$__attributes
AWidget::$__layout

Inherited from AObject

AObject::$__connections
AObject::$__objectID
AObject::$__signalDefinitions
Methods
Constructor __construct (line 50)
  • access: public
AHTMLElement __construct ()

Redefinition of:
AWidget::__construct()
* Methods **

Redefined in descendants as:
getInnerHTML (line 165)

returns the inner HTML

  • access: public
string getInnerHTML ()
getTagName (line 147)

returns the name of the tag

  • access: public
string getTagName ()
render (line 77)

set the event attributes, but only if we have a connection (save page weight)

  • access: public
string render ()

Redefinition of:
AWidget::render()

Redefined in descendants as:
setInnerHTML (line 156)

sets the inner HTML

  • access: public
void setInnerHTML (string $html)
  • string $html
setTagName (line 137)

Sets the name of the tag

  • access: public
void setTagName (string $name)
  • string $name

Inherited Methods

Inherited From AWidget

 AWidget::__construct()
 AWidget::addAttribute()
 AWidget::getAttribute()
 AWidget::getAttributes()
 AWidget::getLayout()
 AWidget::redraw()
 AWidget::render()
 AWidget::setAttribute()
 AWidget::setLayout()
 AWidget::setObjectID()

Inherited From AObject

 AObject::__construct()
 AObject::addConnection()
 AObject::clearConnections()
 AObject::defineSignal()
 AObject::emit()
 AObject::getObjectID()
 AObject::hasConnection()
 AObject::setObjectID()
 AObject::__hasSignalDefinition()

Documentation generated on Fri, 11 Jul 2008 13:28:40 -0400 by phpDocumentor 1.4.2