silverorange Code


Swat.SwatFieldset
/Swat/SwatFieldset.php at line 18

Class SwatFieldset

SwatObject
└─SwatUIObject
└─SwatWidget
└─SwatContainer
└─SwatDisplayableContainer
└─SwatFieldset

public class SwatFieldset
extends SwatDisplayableContainer

Fieldset tag container

An HTML fieldset tag with an optional HTML legend title.

Copyright:
2004-2007 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1

Field Summary
string

$access_key

Access key.

string

$title

Fieldset title.

Constructor Summary

SwatFieldset(string id)

Creates a new fieldset.

Method Summary
void

display()

Displays this widget.

protected array

getCSSClassNames()

Gets the array of CSS classes that are applied to this fieldset.

protected string

getInlineJavaScript()

Gets fieldset specific inline JavaScript.

the

getTitle()

Gets the title of this fieldset.

Methods inherited from Swat.SwatDisplayableContainer
display, getCSSClassNames
Methods inherited from Swat.SwatContainer
add, addChild, copy, display, displayChildren, getChild, getChildren, getDescendantStates, getDescendants, getFirst, getFirstDescendant, getFocusableHtmlId, getHtmlHeadEntrySet, getMessages, hasMessage, init, notifyOfAdd, packEnd, packStart, printWidgetTree, process, remove, replace, sendAddNotifySignal, setDescendantStates
Methods inherited from Swat.SwatWidget
addCompositeWidget, addMessage, confirmCompositeWidgets, copy, createCompositeWidgets, display, displayHtmlHeadEntries, getCSSClassNames, getCompositeWidget, getCompositeWidgets, getFocusableHtmlId, getHtmlHeadEntrySet, getMessages, hasMessage, init, isDisplayed, isInitialized, isProcessed, isSensitive, printWidgetTree, process, replaceWithContainer
Methods inherited from Swat.SwatUIObject
addComment, addJavaScript, addStyleSheet, addTangoAttribution, copy, getCSSClassNames, getCSSClassString, getFirstAncestor, getHtmlHeadEntrySet, getInlineJavaScript, getUniqueId, isVisible

Field Detail

/Swat/SwatFieldset.php at line 38

access_key

public string $access_key = null

Access key

Access key for this fieldset legend, for keyboard nagivation.


/Swat/SwatFieldset.php at line 29

title

public string $title = null

Fieldset title

A visible title for this fieldset, or null.


Constructor Detail

/Swat/SwatFieldset.php at line 50

SwatFieldset

public SwatFieldset(string id)

Creates a new fieldset

Parameters:
id - a non-visible unique id for this widget.
See Also:
SwatWidget::__construct()

Method Detail

/Swat/SwatFieldset.php at line 79

display

public void display()

Displays this widget

Displays this widget displays as well as recursively displays any child widgets of this widget.

If this widget has not been initialized, it is automatically initialized before displaying.


/Swat/SwatFieldset.php at line 130

getCSSClassNames

protected array getCSSClassNames()

Gets the array of CSS classes that are applied to this fieldset

Returns:
the array of CSS classes that are applied to this fieldset.
See Also:
SwatUIObject::getCSSClassString()

/Swat/SwatFieldset.php at line 116

getInlineJavaScript

protected string getInlineJavaScript()

Gets fieldset specific inline JavaScript

Returns:
fieldset specific inline JavaScript.

/Swat/SwatFieldset.php at line 71

getTitle

public the getTitle()

Gets the title of this fieldset

Implements the {SwatTitleable::getTitle()} interface.

Returns:
title of this fieldset.

silverorange Code