silverorange Code


Swat.SwatDetailsViewVerticalField
/Swat/SwatDetailsViewVerticalField.php at line 16

Class SwatDetailsViewVerticalField

SwatObject
└─SwatUIObject
└─SwatCellRendererContainer
└─SwatDetailsViewField
└─SwatDetailsViewVerticalField

public class SwatDetailsViewVerticalField
extends SwatDetailsViewField

A visible field in a SwatDetailsView that has its label displayed above its content

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

Fields inherited from Swat.SwatDetailsViewField
id, odd, title, title_content_type, view, visible
Fields inherited from Swat.SwatCellRendererContainer
renderers
Fields inherited from Swat.SwatUIObject
classes, html_head_entry_set, parent, visible
Method Summary
void

display(mixed data, boolean odd)

Displays this details view field using a data object.

void

displayHeader()

Displays the header for this details view field.

protected void

displayRenderers(mixed data)

Renders each cell renderer in this details-view field.

protected array

getBaseCSSClassNames()

Gets the base CSS class names of this details-view field.

Methods inherited from Swat.SwatDetailsViewField
display, displayHeader, displayRenderers, displayValue, getBaseCSSClassNames, getCSSClassNames, getHtmlHeadEntrySet, getTdAttributes, init, process
Methods inherited from Swat.SwatCellRendererContainer
addChild, addMappingToRenderer, addRenderer, copy, getDescendantStates, getDescendants, getFirstDescendant, getFirstRenderer, getHtmlHeadEntrySet, getRenderer, getRendererByPosition, getRendererInlineJavaScript, getRenderers, setDescendantStates
Methods inherited from Swat.SwatUIObject
addComment, addJavaScript, addStyleSheet, addTangoAttribution, copy, getCSSClassNames, getCSSClassString, getFirstAncestor, getHtmlHeadEntrySet, getInlineJavaScript, getUniqueId, isVisible

Method Detail

/Swat/SwatDetailsViewVerticalField.php at line 30

display

public void display(mixed data, boolean odd)

Displays this details view field using a data object

Parameters:
data - a data object used to display the cell renderers in this field.
odd - whether this is an odd or even field so alternating style can be applied.
See Also:
SwatDetailsViewField::display()

/Swat/SwatDetailsViewVerticalField.php at line 60

displayHeader

public void displayHeader()

Displays the header for this details view field

See Also:
SwatDetailsViewField::displayHeader()

/Swat/SwatDetailsViewVerticalField.php at line 79

displayRenderers

protected void displayRenderers(mixed data)

Renders each cell renderer in this details-view field

Parameters:
data - the data object being used to render the cell renderers of this field.
See Also:
SwatDetailsViewField::displayRenderers()

/Swat/SwatDetailsViewVerticalField.php at line 101

getBaseCSSClassNames

protected array getBaseCSSClassNames()

Gets the base CSS class names of this details-view field

Returns:
the array of base CSS class names for this vertical details-view field.

silverorange Code