C# Класс LayoutFarm.WebDom.DomElement

Наследование: DomNode
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
IEventListener bool
IEventListener void
IEventListener void
IEventListener void
IEventListener void
IEventListener void
IEventListener void
IEventListener void

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddAttribute() публичный Метод

public AddAttribute ( DomAttribute attr ) : void
attr DomAttribute
Результат void

AddChild() публичный Метод

public AddChild ( DomNode childNode ) : void
childNode DomNode
Результат void

AttachEvent() публичный Метод

public AttachEvent ( UIEventName eventName, HtmlEventHandler handler ) : void
eventName UIEventName
handler HtmlEventHandler
Результат void

AttachEventOnMouseLostFocus() публичный Метод

public AttachEventOnMouseLostFocus ( HtmlEventHandler handler ) : void
handler HtmlEventHandler
Результат void

ClearAllElements() публичный Метод

clear all children elements
public ClearAllElements ( ) : void
Результат void

DetachEvent() публичный Метод

public DetachEvent ( UIEventName eventName, HtmlEventHandler handler ) : void
eventName UIEventName
handler HtmlEventHandler
Результат void

DomElement() публичный Метод

public DomElement ( WebDocument ownerDoc, int nodePrefixNameIndex, int nodeLocalNameIndex ) : System.Collections.Generic
ownerDoc WebDocument
nodePrefixNameIndex int
nodeLocalNameIndex int
Результат System.Collections.Generic

EqualNames() публичный статический Метод

public static EqualNames ( DomElement node1, DomElement node2 ) : bool
node1 DomElement
node2 DomElement
Результат bool

FindAttribute() публичный Метод

public FindAttribute ( int attrLocalNameIndex ) : DomAttribute
attrLocalNameIndex int
Результат DomAttribute

FindAttribute() публичный Метод

public FindAttribute ( string attrname ) : DomAttribute
attrname string
Результат DomAttribute

GetAttributeIterForward() публичный Метод

public GetAttributeIterForward ( ) : IEnumerable
Результат IEnumerable

GetChildNode() публичный Метод

public GetChildNode ( int index ) : DomNode
index int
Результат DomNode

GetChildNodeIterForward() публичный Метод

public GetChildNodeIterForward ( ) : IEnumerable
Результат IEnumerable

GetGlobalLocation() публичный абстрактный Метод

public abstract GetGlobalLocation ( int &x, int &y ) : void
x int
y int
Результат void

NotifyChange() публичный Метод

public NotifyChange ( ElementChangeKind changeKind ) : void
changeKind ElementChangeKind
Результат void

OnCollapsed() защищенный Метод

protected OnCollapsed ( ) : void
Результат void

OnContentLayout() защищенный Метод

protected OnContentLayout ( ) : void
Результат void

OnContentUpdate() защищенный Метод

protected OnContentUpdate ( ) : void
Результат void

OnDoubleClick() защищенный Метод

protected OnDoubleClick ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
Результат void

OnElementChanged() защищенный Метод

protected OnElementChanged ( ) : void
Результат void

OnElementChangedInIdleState() защищенный Метод

protected OnElementChangedInIdleState ( ElementChangeKind changeKind ) : void
changeKind ElementChangeKind
Результат void

OnElementLanded() защищенный Метод

protected OnElementLanded ( ) : void
Результат void

OnExpanded() защищенный Метод

protected OnExpanded ( ) : void
Результат void

OnGotFocus() защищенный Метод

protected OnGotFocus ( UIFocusEventArgs e ) : void
e UIFocusEventArgs
Результат void

OnHide() защищенный Метод

protected OnHide ( ) : void
Результат void

OnInterComponentMsg() защищенный Метод

protected OnInterComponentMsg ( object sender, int msgcode, string msg ) : void
sender object
msgcode int
msg string
Результат void

OnKeyDown() защищенный Метод

protected OnKeyDown ( UIKeyEventArgs e ) : void
e UIKeyEventArgs
Результат void

OnKeyPress() защищенный Метод

protected OnKeyPress ( UIKeyEventArgs e ) : void
e UIKeyEventArgs
Результат void

OnKeyUp() защищенный Метод

protected OnKeyUp ( UIKeyEventArgs e ) : void
e UIKeyEventArgs
Результат void

OnLostFocus() защищенный Метод

protected OnLostFocus ( UIFocusEventArgs e ) : void
e UIFocusEventArgs
Результат void

OnLostMouseFocus() защищенный Метод

protected OnLostMouseFocus ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
Результат void

OnMouseDown() защищенный Метод

protected OnMouseDown ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
Результат void

OnMouseEnter() защищенный Метод

protected OnMouseEnter ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
Результат void

OnMouseHover() защищенный Метод

protected OnMouseHover ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
Результат void

OnMouseLeave() защищенный Метод

protected OnMouseLeave ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
Результат void

OnMouseMove() защищенный Метод

protected OnMouseMove ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
Результат void

OnMouseUp() защищенный Метод

protected OnMouseUp ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
Результат void

OnMouseWheel() защищенный Метод

protected OnMouseWheel ( UIMouseEventArgs e ) : void
e UIMouseEventArgs
Результат void

OnProcessDialogKey() защищенный Метод

protected OnProcessDialogKey ( UIKeyEventArgs e ) : bool
e UIKeyEventArgs
Результат bool

OnShown() защищенный Метод

protected OnShown ( ) : void
Результат void

RemoveChild() публичный Метод

public RemoveChild ( DomNode childNode ) : bool
childNode DomNode
Результат bool

SetAttribute() публичный Метод

public SetAttribute ( DomAttribute attr ) : void
attr DomAttribute
Результат void

SetAttribute() публичный Метод

public SetAttribute ( string attrName, string value ) : void
attrName string
value string
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string