qnx.fuse.ui.dialog.PasswordChangeDialog

PasswordChangeDialog

Properties | Methods | Events


Packageqnx.fuse.ui.dialog
Classpublic class PasswordChangeDialog
InheritancePasswordChangeDialog Inheritance LoginDialog Inheritance AlertDialog Inheritance DialogBase Inheritance qnx.fuse.ui.window.WindowedComponent

The PasswordChangeDialog class consists of the inherited elements of the LoginDialog along with a confirm TextInput.

Class information:
BlackBerry 10 Version:   10.0.0



Public Properties

 PropertyDefined By
 InheritedallowEmptyResponse : Boolean
Determines whether the dialog enables the default button when input fields are empty or not.
DialogBase
 InheritedbuttonCount : int
[read-only] Read-only property reflecting the number of buttons in the dialog.
DialogBase
 InheritedbuttonLimit : int
Sets the limit for the number of buttons that can appear in the footer on the dialog.
DialogBase
 InheritedcancelRequired : Boolean
DialogBase
 InheritedcheckboxLabel : String
The text for the checkbox label on the dialog.
AlertDialog
  confirm : String
Sets the text for the confirm field on the dialog.
PasswordChangeDialog
  confirmKeyboard : String
PasswordChangeDialog
  confirmPrompt : String
Sets the prompt text for the confirm field on the dialog.
PasswordChangeDialog
 InheritedcontentSelectable : Boolean
Gets or Sets flag indicating the main content container is selectable.
DialogBase
 InheriteddefaultButtonIndex : int
Gets or sets the default button index value used to determine what button to automatically select in the event that the user hits the return key.
DialogBase
 InheritederrorText : String
Sets the text for the error field on the dialog.
LoginDialog
 Inheritedicon : String
Sets the icon based on absolute path
AlertDialog
 InheritedisBusy : Boolean
Determines whether the dialog should allow the activity indicator to the user or not.
DialogBase
 Inheritedmessage : String
Sets the message text for the dialog.
AlertDialog
 InheritedmessageHasEmoticons : Boolean
[write-only] Indicates whether the message text has emoticons or not.
AlertDialog
  newPassword : String
Sets the text for the new password field on the dialog.
PasswordChangeDialog
  newPasswordKeyboard : String
PasswordChangeDialog
  newPasswordPrompt : String
Sets the prompt text for the new password field on the dialog.
PasswordChangeDialog
 Inheritedpassword : String
Sets the text for the password field on the dialog.
LoginDialog
 InheritedpasswordKeyboard : String
LoginDialog
 InheritedpasswordPrompt : String
Makes password field visible and sets the prompt text for the field on the dialog.
LoginDialog
 InheritedrememberMe : Boolean
Sets the remember me state on the dialog.
LoginDialog
 InheritedrememberMeLabel : String
Sets the text for the remember me checkbox on the dialog.
LoginDialog
 InheritedreturnKeyType : String
Sets the return key type for input fields on the dialog.
DialogBase
 InheritedselectedIndex : int
[read-only] Read-only property which defines the index of the button selected to close the dialog, or -1 of no button was selected.
DialogBase
 InheritedshowPassword : Boolean
Deprecated: showPassword has been deprecated. The show password checkbox feature has been replaced by explicit mask/unmask controls in the individual password fields. The showPassword property can no longer be set and will always return false.
Sets the show password state on the dialog.
LoginDialog
 InheritedshowPasswordLabel : String
Deprecated: showPasswordLabel has been deprecated. The show password checkbox feature has been replaced by explicit mask/unmask controls in the individual password fields. The showPasswordLabel property can no longer be set and will always return "".
Sets the text for the show password checkbox on the dialog.
LoginDialog
 InheritedtextInputOptions : int
Sets the text input options for input fields on the dialog.
DialogBase
 Inheritedtitle : String
Sets the text for the dialog title.
DialogBase
 Inheritedusername : String
Sets the text for the username field on the dialog.
LoginDialog
 InheritedusernameKeyboard : String
LoginDialog
 InheritedusernamePrompt : String
Makes username field visible and sets the prompt text for the field on the dialog.
LoginDialog

Protected Properties

 PropertyDefined By
 Inheritedcheckbox : CheckBox
AlertDialog
 InheritedcheckboxContainer : Container
The always show this message (or whatever) checkbox.
AlertDialog
 Inheritedcontent : Container
The container for the dialog content area
DialogBase
 InheritedcssID : String
[override] [read-only] Returns the CSS ID of the component.
DialogBase
 InheriteddialogContainer : Container
The outer-most container for the dialog
DialogBase
 InheritederrorLabel : Label
The error Label.
LoginDialog
 Inheritedfooter : Container
The container for the dialog footer area
DialogBase
 Inheritedheader : Container
The container for the dialog header area
DialogBase
 InheritediconAndMessageLabelContainer : Container
AlertDialog
 InheritediconImage : Image
The icon.
AlertDialog
 InheritediconPath : String
AlertDialog
 InheritedmasterContent : Container
The container for the master content area
DialogBase
 InheritedmessageHTML : String
AlertDialog
 InheritedmessageLabel : Label
The message Label.
AlertDialog
 InheritedpasswordInput : TextInput
The password TextInput field.
LoginDialog
 InheritedtitleHTML : String
DialogBase
 InheritedusernameInput : TextInput
The username TextInput field.
LoginDialog

Public Methods

 MethodDefined By
  
PasswordChangeDialog
 Inherited
addButton(label:String):int
Adds a button to the dialog.
DialogBase
 Inherited
cancel():void
[override] Cancels the on-screen dialog.
DialogBase
 Inherited
[override] Called by the WindowManager class to request that the window control object immediately cancel the window.
DialogBase
 Inherited
getButtonPropertyAt(prop:String, index:int):Object
Gets the value of a property, given the property name and property object index.
DialogBase
 Inherited
getItemAt(index:int):Object
Returns the button at the given index, or null if the index is out of range.
DialogBase
 Inherited
onTransition(state:String):void
[override]
DialogBase
 Inherited
removeButtonAt(index:int):void
Removes the button from the dialog at the specified index.
DialogBase
 Inherited
setButtonPropertyAt(prop:String, value:Object, index:int):void
Sets a button property given a property name, a property value, and the index of a button property object.
DialogBase
 Inherited
show():void
[override] Shows the dialog on the screen.
DialogBase
 Inherited
update():void
[override] Updates the on-screen dialog to reflect its current attributes.
DialogBase
 Inherited
[override]
DialogBase

Protected Methods

 MethodDefined By
  
additionalFields(container:Container):void
[override]
PasswordChangeDialog
 Inherited
applyLocaleUpdates(data:Object, translate:Function):void
[override]
AlertDialog
 Inherited
This function is called whenever the textInputOptions have changed for the dialog.
DialogBase
 Inherited
createButton(position:String):LabelButton
Called to create a dialog button (must be derived from LabelButton)
DialogBase
 Inherited
createContent(container:Container):void
[override] Called to create the content area
LoginDialog
 Inherited
createDialog(container:Container):void
Called to create the dialog area
DialogBase
 Inherited
createFooter(container:Container):void
Called to create the footer area
DialogBase
 Inherited
createHeader(container:Container):void
Called to populate the header area
DialogBase
 Inherited
createIcon():void
AlertDialog
 Inherited
Called to create the content area
DialogBase
 Inherited
Called to create the button content area
DialogBase
 Inherited
Ensures the given component is properly destroyed.
DialogBase
 Inherited
The disableActionButton method disables the action button if there is more than one button, if it is not currently disabled and if defaultButtonIndex is set.
DialogBase
 Inherited
The enableActionButton method enables the action button if it was disabled.
DialogBase
 Inherited
init():void
[override]
LoginDialog
  
[override]
PasswordChangeDialog
 Inherited
onIconLoaded(e:Event):void
AlertDialog
 Inherited
onIconLoadFailed(e:IOErrorEvent):void
AlertDialog
 Inherited
removeIcon():void
AlertDialog
  
updateActionButton(event:Event = null):void
[override]
PasswordChangeDialog

Events

 Event Summary Defined By
 InheritedDispatched when a button in the dialog has been clicked.DialogBase

Protected Constants

 ConstantDefined By
 InheritedCHECKBOX_CHECKED : String = checkboxChecked
[static]
AlertDialog
 InheritedCHECKBOX_ENABLED : String = checkboxEnabled
[static]
AlertDialog
 InheritedCHECKBOX_LABEL : String = checkboxLabel
[static]
AlertDialog
 InheritedCONTENT_SELECTED_INDEX : int = -2
[static] Selected index assigned when selectable content is pressed
DialogBase
 InheritedDIALOG_CHECKBOX : String = dialogCheckBox
[static]
DialogBase
 InheritedID_ALIGN_RIGHT : String = dialogAlignRight
[static] Id tag assigned to labels or text fields that want to inherit CSS right alignment formatting.
DialogBase

Property Detail

confirm


confirm:String

Sets the text for the confirm field on the dialog.


Implementation

public function get confirm():String
public function set confirm(value:String):void

confirmKeyboard


confirmKeyboard:String


Implementation

public function get confirmKeyboard():String
public function set confirmKeyboard(value:String):void

confirmPrompt


confirmPrompt:String

Sets the prompt text for the confirm field on the dialog.


Implementation

public function get confirmPrompt():String
public function set confirmPrompt(value:String):void

newPassword


newPassword:String

Sets the text for the new password field on the dialog.


Implementation

public function get newPassword():String
public function set newPassword(value:String):void

newPasswordKeyboard


newPasswordKeyboard:String


Implementation

public function get newPasswordKeyboard():String
public function set newPasswordKeyboard(value:String):void

newPasswordPrompt


newPasswordPrompt:String

Sets the prompt text for the new password field on the dialog.


Implementation

public function get newPasswordPrompt():String
public function set newPasswordPrompt(value:String):void

Constructor Detail

PasswordChangeDialog()


public function PasswordChangeDialog()



Method Detail

additionalFields()


override protected function additionalFields(container:Container):void

Parameters

container:Container

onClearPasswords()


override protected function onClearPasswords():void

setData()


override qnx_internal function setData(value:Object, translate:Function = null):void

Parameters

value:Object
translate:Function (default = null)

updateActionButton()


override protected function updateActionButton(event:Event = null):void

Parameters

event:Event (default = null)





comments powered by Disqus