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

Class: OverInfo

Source Location: /html/components/OverInfo.class.php

Class Overview

ABSTObject
   |
   --ABSTHTMLTag
      |
      --HTMLLayer
         |
         --HTMLSpan
            |
            --OverInfo

A class to generate a "<div>"-layer which makes a second layer visible when the user goes over it with the mousecursor.


Author(s):

Version:

  • 0.1.61

Copyright:

  • Copyright (c) 2005 Daniel Plücken <daniel@debakel.net>

    This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License.

    This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Variables

Methods


Inherited Variables

Inherited Methods

Class: HTMLSpan

HTMLSpan::HTMLSpan()
Constructor.
HTMLSpan::get()
Returns a generated string based on the attributes of this HTML-Object.

Class: HTMLLayer

HTMLLayer::HTMLLayer()
Constructor.
HTMLLayer::get()
Returns a generated string based on the attributes of this HTML-Object.
HTMLLayer::setBGColor()
Sets the background color of this layer.
HTMLLayer::setBody()
Sets the content of this layer.
HTMLLayer::setHeight()
Sets the height of this layer.
HTMLLayer::setInvisible()
Sets the visibility of this layer to visible.
HTMLLayer::setLeft()
Sets the left-position of this layer.
HTMLLayer::setPosition()
Sets the behaviour of the position of this layer.
HTMLLayer::setTop()
Sets the top-position of this layer.
HTMLLayer::setVisible()
Sets the visibility of this layer to visible.
HTMLLayer::setWidth()
Sets the width of this layer.
HTMLLayer::setZIndex()
Sets the depth of this layer.

Class: ABSTHTMLTag

ABSTHTMLTag::getId()
Returns the value of this tag's "id"-attribute.
ABSTHTMLTag::getName()
Returns the value of this tag's "name"-attribute.
ABSTHTMLTag::HTMLTag()
The Constructor let the script die, cause this is an abstract class!
ABSTHTMLTag::idExists()
Stores all used ids and makes sure that every id in the document is unique. It should called in every get method of classes in the packages forms and html.
ABSTHTMLTag::setAttributes()
This method allows to set the attributes of the tag that are not handled by other methods.
ABSTHTMLTag::setFreeStyle()
Set the value of style definitions that are not handled by implemented methods.
ABSTHTMLTag::setId()
Stores the value of this item's "id"-attribute.
ABSTHTMLTag::setName()
Stores the value of this tag's "name"-attribute.
ABSTHTMLTag::setNoFormat()
Stores that the HTML-elements should not format by "\r\n" in the source.
ABSTHTMLTag::setOnBlur()
Sets the value of the blur-attribute of this html-tag.
ABSTHTMLTag::setOnClick()
Sets the value of the click-attribute of this html-tag.
ABSTHTMLTag::setOnFocus()
Sets the value of the focus-attribute of this html-tag.
ABSTHTMLTag::setOnMouseMove()
Sets the value of the mousemove-attribute of this html-tag.
ABSTHTMLTag::setOnMouseOut()
Sets the value of the mouseout-attribute of this html-tag.
ABSTHTMLTag::setOnMouseOver()
Sets the value of the mouseover-attribute of this html-tag.
ABSTHTMLTag::setOnMouseUp()
Sets the value of the mouseup-attribute of this html-tag.
ABSTHTMLTag::setStyle()
Set the value of the class-attribute of this tag.

Class: ABSTObject

ABSTObject::printComplexData()
Prints out the more complex data by the given array.
ABSTObject::printPrimitiveData()
Prints out the primitive data by the given arrays.
ABSTObject::printStructure()
Prints out the Structure of this Object.
ABSTObject::same()
Checks whether the passed object reference points to this object.
ABSTObject::sameReferences()
Compares two references whether they points to the same object

Class Details

[line 55]
A class to generate a "<div>"-layer which makes a second layer visible when the user goes over it with the mousecursor.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  0.1.61
copyright:  

Copyright (c) 2005 Daniel Plücken <daniel@debakel.net>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

license:  GNU Lesser General Public License


[ Top ]


Class Variables

$hide_selects_on_over =  true

[line 81]



Tags:

access:  public

Type:   boolean


[ Top ]

$move_popup_with_mouse =  true

[line 86]



Tags:

access:  public

Type:   boolean


[ Top ]

$pop_layer =

[line 66]



Tags:

access:  public

Type:   object


[ Top ]

$write_to_doc_directly =  false

[line 61]



Tags:

access:  public

Type:   object


[ Top ]

$x_margin_to_cursor =  20

[line 71]



Tags:

access:  public

Type:   integer


[ Top ]

$y_margin_to_cursor =  0

[line 76]



Tags:

access:  public

Type:   integer


[ Top ]



Class Methods


constructor OverInfo [line 105]

OverInfo OverInfo( $label $label, $content $content, [$style_pop_layer $style_pop_layer = ""], [$style_base_layer $style_base_layer = ""], [$x_margin_to_cursor $x_margin_to_cursor = 20], [$y_margin_to_cursor $y_margin_to_cursor = 0], [$hide_selects $hide_selects_on_over = true], [ $move_popup_with_mouse = true])

Constructor.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.37
since:  0.1.0
access:  public


Parameters:

$label   $label  
$content   $content  
$style_pop_layer   $style_pop_layer  
$style_base_layer   $style_base_layer  
$x_margin_to_cursor   $x_margin_to_cursor  
$y_margin_to_cursor   $y_margin_to_cursor  
$hide_selects   $hide_selects_on_over  
   $move_popup_with_mouse  

[ Top ]

method get [line 347]

string get( )

Returns a generated string based on the attributes of this HTML-Object.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.22
since:  0.1.0
access:  public


Overrides HTMLSpan::get() (Returns a generated string based on the attributes of this HTML-Object.)

[ Top ]

method setAutoZIndex [line 171]

void setAutoZIndex( &$obj_ref)

Stores the popup layer of this OverInfo to the next z-index.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.0
since:  0.1.2


Parameters:

   &$obj_ref  

[ Top ]

method setGlobalJavaScript [line 191]

void setGlobalJavaScript( [$x_margin_to_cursor $x_margin_to_cursor = 0], [$y_margin_to_cursor $y_margin_to_cursor = 0])

Stores the needed javascript to output in the head of html-document.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.07
since:  0.1.3


Parameters:

$x_margin_to_cursor   $x_margin_to_cursor  
$y_margin_to_cursor   $y_margin_to_cursor  

[ Top ]

method writeToDocumentDirectly [line 158]

void writeToDocumentDirectly( )

Order that the div-tag (popup layer) should be written directly to the body; otherwise the div-tag will be written onload-event of the body-tag.

It is useful to keep the javascript function trough an ajax request, when the body is already loaded.




Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.0
since:  0.1.6


[ Top ]


Documentation generated on Thu, 05 Jun 2008 19:14:41 +0200 by phpDocumentor 1.4.1