C# Class LayoutFarm.WebDom.DomElement

Inheritance: DomNode
Show file Open project: prepare/HTML-Renderer Class Usage Examples

Private Properties

Property Type Description
IEventListener bool
IEventListener void
IEventListener void
IEventListener void
IEventListener void
IEventListener void
IEventListener void
IEventListener void

Public Methods

Method Description
AddAttribute ( DomAttribute attr ) : void
AddChild ( DomNode childNode ) : void
AttachEvent ( UIEventName eventName, HtmlEventHandler handler ) : void
AttachEventOnMouseLostFocus ( HtmlEventHandler handler ) : void
ClearAllElements ( ) : void

clear all children elements

DetachEvent ( UIEventName eventName, HtmlEventHandler handler ) : void
DomElement ( WebDocument ownerDoc, int nodePrefixNameIndex, int nodeLocalNameIndex ) : System.Collections.Generic
EqualNames ( DomElement node1, DomElement node2 ) : bool
FindAttribute ( int attrLocalNameIndex ) : DomAttribute
FindAttribute ( string attrname ) : DomAttribute
GetAttributeIterForward ( ) : IEnumerable
GetChildNode ( int index ) : DomNode
GetChildNodeIterForward ( ) : IEnumerable
GetGlobalLocation ( int &x, int &y ) : void
NotifyChange ( ElementChangeKind changeKind ) : void
RemoveChild ( DomNode childNode ) : bool
SetAttribute ( DomAttribute attr ) : void
SetAttribute ( string attrName, string value ) : void
ToString ( ) : string

Protected Methods

Method Description
OnCollapsed ( ) : void
OnContentLayout ( ) : void
OnContentUpdate ( ) : void
OnDoubleClick ( UIMouseEventArgs e ) : void
OnElementChanged ( ) : void
OnElementChangedInIdleState ( ElementChangeKind changeKind ) : void
OnElementLanded ( ) : void
OnExpanded ( ) : void
OnGotFocus ( UIFocusEventArgs e ) : void
OnHide ( ) : void
OnInterComponentMsg ( object sender, int msgcode, string msg ) : void
OnKeyDown ( UIKeyEventArgs e ) : void
OnKeyPress ( UIKeyEventArgs e ) : void
OnKeyUp ( UIKeyEventArgs e ) : void
OnLostFocus ( UIFocusEventArgs e ) : void
OnLostMouseFocus ( UIMouseEventArgs e ) : void
OnMouseDown ( UIMouseEventArgs e ) : void
OnMouseEnter ( UIMouseEventArgs e ) : void
OnMouseHover ( UIMouseEventArgs e ) : void
OnMouseLeave ( UIMouseEventArgs e ) : void
OnMouseMove ( UIMouseEventArgs e ) : void
OnMouseUp ( UIMouseEventArgs e ) : void
OnMouseWheel ( UIMouseEventArgs e ) : void
OnProcessDialogKey ( UIKeyEventArgs e ) : bool
OnShown ( ) : void

Private Methods

Method Description
IEventListener ( UIKeyEventArgs e ) : bool
IEventListener ( ) : void
IEventListener ( UIFocusEventArgs e ) : void
IEventListener ( UIGuestTalkEventArgs e ) : void
IEventListener ( UIKeyEventArgs e ) : void
IEventListener ( UIMouseEventArgs e ) : void
IEventListener ( int &x, int &y ) : void
IEventListener ( object sender, int msgcode, string msg ) : void

Method Details

AddAttribute() public method

public AddAttribute ( DomAttribute attr ) : void
attr DomAttribute
return void

AddChild() public method

public AddChild ( DomNode childNode ) : void
childNode DomNode
return void

AttachEvent() public method

public AttachEvent ( UIEventName eventName, HtmlEventHandler handler ) : void
eventName UIEventName
handler HtmlEventHandler
return void

AttachEventOnMouseLostFocus() public method

public AttachEventOnMouseLostFocus ( HtmlEventHandler handler ) : void
handler HtmlEventHandler
return void

ClearAllElements() public method

clear all children elements
public ClearAllElements ( ) : void
return void

DetachEvent() public method

public DetachEvent ( UIEventName eventName, HtmlEventHandler handler ) : void
eventName UIEventName
handler HtmlEventHandler
return void

DomElement() public method

public DomElement ( WebDocument ownerDoc, int nodePrefixNameIndex, int nodeLocalNameIndex ) : System.Collections.Generic
ownerDoc WebDocument
nodePrefixNameIndex int
nodeLocalNameIndex int
return System.Collections.Generic

EqualNames() public static method

public static EqualNames ( DomElement node1, DomElement node2 ) : bool
node1 DomElement
node2 DomElement
return bool

FindAttribute() public method

public FindAttribute ( int attrLocalNameIndex ) : DomAttribute
attrLocalNameIndex int
return DomAttribute

FindAttribute() public method

public FindAttribute ( string attrname ) : DomAttribute
attrname string
return DomAttribute

GetAttributeIterForward() public method

public GetAttributeIterForward ( ) : IEnumerable
return IEnumerable

GetChildNode() public method

public GetChildNode ( int index ) : DomNode
index int
return DomNode

GetChildNodeIterForward() public method

public GetChildNodeIterForward ( ) : IEnumerable
return IEnumerable

GetGlobalLocation() public abstract method

public abstract GetGlobalLocation ( int &x, int &y ) : void
x int
y int
return void

NotifyChange() public method

public NotifyChange ( ElementChangeKind changeKind ) : void
changeKind ElementChangeKind
return void

OnCollapsed() protected method

protected OnCollapsed ( ) : void
return void

OnContentLayout() protected method

protected OnContentLayout ( ) : void
return void

OnContentUpdate() protected method

protected OnContentUpdate ( ) : void
return void

OnDoubleClick() protected method

protected OnDoubleClick ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
return void

OnElementChanged() protected method

protected OnElementChanged ( ) : void
return void

OnElementChangedInIdleState() protected method

protected OnElementChangedInIdleState ( ElementChangeKind changeKind ) : void
changeKind ElementChangeKind
return void

OnElementLanded() protected method

protected OnElementLanded ( ) : void
return void

OnExpanded() protected method

protected OnExpanded ( ) : void
return void

OnGotFocus() protected method

protected OnGotFocus ( UIFocusEventArgs e ) : void
e UIFocusEventArgs
return void

OnHide() protected method

protected OnHide ( ) : void
return void

OnInterComponentMsg() protected method

protected OnInterComponentMsg ( object sender, int msgcode, string msg ) : void
sender object
msgcode int
msg string
return void

OnKeyDown() protected method

protected OnKeyDown ( UIKeyEventArgs e ) : void
e UIKeyEventArgs
return void

OnKeyPress() protected method

protected OnKeyPress ( UIKeyEventArgs e ) : void
e UIKeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( UIKeyEventArgs e ) : void
e UIKeyEventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( UIFocusEventArgs e ) : void
e UIFocusEventArgs
return void

OnLostMouseFocus() protected method

protected OnLostMouseFocus ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
return void

OnMouseHover() protected method

protected OnMouseHover ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
return void

OnProcessDialogKey() protected method

protected OnProcessDialogKey ( UIKeyEventArgs e ) : bool
e UIKeyEventArgs
return bool

OnShown() protected method

protected OnShown ( ) : void
return void

RemoveChild() public method

public RemoveChild ( DomNode childNode ) : bool
childNode DomNode
return bool

SetAttribute() public method

public SetAttribute ( DomAttribute attr ) : void
attr DomAttribute
return void

SetAttribute() public method

public SetAttribute ( string attrName, string value ) : void
attrName string
value string
return void

ToString() public method

public ToString ( ) : string
return string