C# Class NHtmlUnit.Html.HtmlSelect

Inheritance: NHtmlUnit.Html.HtmlElement, NHtmlUnit.W3C.Dom.INode, NHtmlUnit.W3C.Dom.IElement, NHtmlUnit.W3C.Dom.IElementTraversal, NHtmlUnit.Html.IDisabledElement, NHtmlUnit.Html.ISubmittableElement, NHtmlUnit.Html.IFormFieldWithNameHistory
显示文件 Open project: HtmlUnit/NHtmlUnit

Public Methods

Method Description
AppendOption ( NHtmlUnit newOption ) : void
EnsureSelectedIndex ( ) : void
GetOption ( int index ) : NHtmlUnit.Html.HtmlOption
GetOptionByText ( string text ) : NHtmlUnit.Html.HtmlOption
GetOptionByValue ( string value ) : NHtmlUnit.Html.HtmlOption
HtmlSelect ( com wrappedObject ) : System
IndexOf ( NHtmlUnit option ) : int
IsDefaultChecked ( ) : bool
IsDisabled ( ) : bool
IsMultipleSelectEnabled ( ) : bool
RemoveOption ( int index ) : void
ReplaceOption ( int index, NHtmlUnit newOption ) : void
Reset ( ) : void
SetSelectedAttribute ( NHtmlUnit selectedOption, bool isSelected ) : NHtmlUnit.IPage
SetSelectedAttribute ( NHtmlUnit selectedOption, bool isSelected, bool invokeOnFocus ) : NHtmlUnit.IPage
SetSelectedAttribute ( string optionValue, bool isSelected ) : NHtmlUnit.IPage
SetSelectedAttribute ( string optionValue, bool isSelected, bool invokeOnFocus ) : NHtmlUnit.IPage

Private Methods

Method Description
HtmlSelect ( ) : System

Method Details

AppendOption() public method

public AppendOption ( NHtmlUnit newOption ) : void
newOption NHtmlUnit
return void

EnsureSelectedIndex() public method

public EnsureSelectedIndex ( ) : void
return void

GetOption() public method

public GetOption ( int index ) : NHtmlUnit.Html.HtmlOption
index int
return NHtmlUnit.Html.HtmlOption

GetOptionByText() public method

public GetOptionByText ( string text ) : NHtmlUnit.Html.HtmlOption
text string
return NHtmlUnit.Html.HtmlOption

GetOptionByValue() public method

public GetOptionByValue ( string value ) : NHtmlUnit.Html.HtmlOption
value string
return NHtmlUnit.Html.HtmlOption

HtmlSelect() public method

public HtmlSelect ( com wrappedObject ) : System
wrappedObject com
return System

IndexOf() public method

public IndexOf ( NHtmlUnit option ) : int
option NHtmlUnit
return int

IsDefaultChecked() public method

public IsDefaultChecked ( ) : bool
return bool

IsDisabled() public method

public IsDisabled ( ) : bool
return bool

IsMultipleSelectEnabled() public method

public IsMultipleSelectEnabled ( ) : bool
return bool

RemoveOption() public method

public RemoveOption ( int index ) : void
index int
return void

ReplaceOption() public method

public ReplaceOption ( int index, NHtmlUnit newOption ) : void
index int
newOption NHtmlUnit
return void

Reset() public method

public Reset ( ) : void
return void

SetSelectedAttribute() public method

public SetSelectedAttribute ( NHtmlUnit selectedOption, bool isSelected ) : NHtmlUnit.IPage
selectedOption NHtmlUnit
isSelected bool
return NHtmlUnit.IPage

SetSelectedAttribute() public method

public SetSelectedAttribute ( NHtmlUnit selectedOption, bool isSelected, bool invokeOnFocus ) : NHtmlUnit.IPage
selectedOption NHtmlUnit
isSelected bool
invokeOnFocus bool
return NHtmlUnit.IPage

SetSelectedAttribute() public method

public SetSelectedAttribute ( string optionValue, bool isSelected ) : NHtmlUnit.IPage
optionValue string
isSelected bool
return NHtmlUnit.IPage

SetSelectedAttribute() public method

public SetSelectedAttribute ( string optionValue, bool isSelected, bool invokeOnFocus ) : NHtmlUnit.IPage
optionValue string
isSelected bool
invokeOnFocus bool
return NHtmlUnit.IPage