silverorange Code


Swat.SwatPasswordEntry
/Swat/SwatPasswordEntry.php at line 15

Class SwatPasswordEntry

SwatObject
└─SwatUIObject
└─SwatWidget
└─SwatControl
└─SwatInputControl
└─SwatEntry
└─SwatPasswordEntry

public class SwatPasswordEntry
extends SwatEntry

A password entry widget

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

Fields inherited from Swat.SwatEntry
access_key, autocomplete, maxlength, minlength, nonce, read_only, size, tab_index, value
Fields inherited from Swat.SwatInputControl
required
Constructor Summary

SwatPasswordEntry(string id)

Creates a new password entry and defaults the size to 20.

Method Summary
protected array

getCSSClassNames()

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

protected SwatHtmlTag

getInputTag()

Get the input tag to display.

Methods inherited from Swat.SwatEntry
display, getCSSClassNames, getDisplayValue, getFocusableHtmlId, getInputTag, getNonce, getRawValue, getState, getValidationMessage, hasRawValue, process, setState
Methods inherited from Swat.SwatInputControl
getForm, init
Methods inherited from Swat.SwatControl
addMessage, getNote, printWidgetTree
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

Constructor Detail

/Swat/SwatPasswordEntry.php at line 26

SwatPasswordEntry

public SwatPasswordEntry(string id)

Creates a new password entry and defaults the size to 20

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

Method Detail

/Swat/SwatPasswordEntry.php at line 51

getCSSClassNames

protected array getCSSClassNames()

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

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

/Swat/SwatPasswordEntry.php at line 35

getInputTag

protected SwatHtmlTag getInputTag()

Get the input tag to display

Can be used by sub-classes to change the setup of the input tag.

Returns:
Input tag to display.

silverorange Code