silverorange Code


Swat.SwatGroupingFormField
/Swat/SwatGroupingFormField.php at line 18

Class SwatGroupingFormField

SwatObject
└─SwatUIObject
└─SwatWidget
└─SwatContainer
└─SwatDisplayableContainer
└─SwatFormField
└─SwatGroupingFormField

public class SwatGroupingFormField
extends SwatFormField

A grouping form field

A specialized form field that semantically groups controls in an XHTML 'fieldset' tag.

Copyright:
2006 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1

Fields inherited from Swat.SwatFormField
access_key, container_tag, contents_tag, display_messages, note, note_content_type, required, show_colon, title, title_content_type, title_reversed, widget_class
Method Summary
void

display()

Displays this form field.

protected array

getCSSClassNames()

Gets the array of CSS classes that are applied to this footer form field.

protected SwatHtmlTag

getTitleTag()

Get a SwatHtmlTag to display the title.

Methods inherited from Swat.SwatFormField
display, displayContent, displayMessages, displayNotes, displayRequired, displayTitle, getCSSClassNames, getTitle, getTitleTag, notifyOfAdd
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

Method Detail

/Swat/SwatGroupingFormField.php at line 45

display

public void display()

Displays this form field

Associates a label with the first widget of this container.


/Swat/SwatGroupingFormField.php at line 81

getCSSClassNames

protected array getCSSClassNames()

Gets the array of CSS classes that are applied to this footer form field

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

/Swat/SwatGroupingFormField.php at line 29

getTitleTag

protected SwatHtmlTag getTitleTag()

Get a SwatHtmlTag to display the title.

Subclasses can change this to change their appearance.

Returns:
a tag object containing the title.

silverorange Code