C# Class SciterSharp.SciterElement

Mostra file Open project: MISoftware/SciterSharp Class Usage Examples

Public Methods

Method Description
Append ( SciterElement se ) : void
AttachEvh ( SciterEventHandler evh ) : void
CallFunction ( string name ) : SciterValue
CallMethod ( string name ) : SciterValue
Clear ( ) : void
Clone ( ) : SciterElement
CombineURL ( string url = "" ) : string
Create ( string tagname, string text = null ) : SciterElement
Delete ( ) : void
DetachEvh ( SciterEventHandler evh ) : void
Dettach ( ) : void
Equals ( object o ) : bool
Eval ( string script ) : SciterValue
FireEvent ( SciterXBehaviors evt, bool post = true ) : bool
GetAttribute ( string name ) : string
GetAttribute ( uint n ) : string
GetAttributeName ( uint n ) : string
GetChild ( uint idx ) : SciterElement
GetHashCode ( ) : int
GetLocation ( SciterXDom area = SciterXDom.ELEMENT_AREAS.ROOT_RELATIVE|SciterXDom.ELEMENT_AREAS.CONTENT_BOX ) : PInvokeUtils.RECT
GetNativeHwnd ( bool rootWindow = true ) : IntPtr
GetState ( ) : SciterXDom.ELEMENT_STATE_BITS
GetStyle ( string name ) : string
Insert ( SciterElement se, uint index ) : void
IsChildOf ( SciterElement parent_test ) : bool
PostEvent ( uint event_code, uint reason, SciterElement heSource = null ) : void
Refresh ( ) : void
Refresh ( PInvokeUtils rc ) : void
RemoveAttribute ( string name ) : void
SciterElement ( IntPtr he ) : System
SciterElement ( SciterValue sv ) : System
SelectAll ( string selector ) : List
SelectFirst ( string selector ) : SciterElement
SelectFirstById ( string id ) : SciterElement
SelectNearestParent ( string selector ) : SciterElement
SendEvent ( uint event_code, uint reason, SciterElement heSource = null ) : bool
SetAttribute ( string name, string value ) : void
SetHTML ( string html, SciterXDom where = SciterXDom.SET_ELEMENT_HTML.SIH_REPLACE_CONTENT ) : void
SetState ( SciterXDom bitsToSet, SciterXDom bitsToClear, bool update = true ) : void
SetStyle ( string name, string value ) : void
Swap ( SciterElement sewith ) : void
Test ( string selector ) : bool

Test this element against CSS selector(s)

ToNode ( ) : SciterNode
ToString ( ) : string
TransformHTML ( string html, SciterXDom how = SciterXDom.SET_ELEMENT_HTML.SIH_REPLACE_CONTENT ) : void
Update ( bool andForceRender = false ) : void
operator ( ) : bool
this ( uint idx ) : SciterElement
this ( string name ) : string

Method Details

Append() public method

public Append ( SciterElement se ) : void
se SciterElement
return void

AttachEvh() public method

public AttachEvh ( SciterEventHandler evh ) : void
evh SciterEventHandler
return void

CallFunction() public method

public CallFunction ( string name ) : SciterValue
name string
return SciterValue

CallMethod() public method

public CallMethod ( string name ) : SciterValue
name string
return SciterValue

Clear() public method

public Clear ( ) : void
return void

Clone() public method

public Clone ( ) : SciterElement
return SciterElement

CombineURL() public method

public CombineURL ( string url = "" ) : string
url string
return string

Create() public static method

public static Create ( string tagname, string text = null ) : SciterElement
tagname string
text string
return SciterElement

Delete() public method

public Delete ( ) : void
return void

DetachEvh() public method

public DetachEvh ( SciterEventHandler evh ) : void
evh SciterEventHandler
return void

Dettach() public method

public Dettach ( ) : void
return void

Equals() public method

public Equals ( object o ) : bool
o object
return bool

Eval() public method

public Eval ( string script ) : SciterValue
script string
return SciterValue

FireEvent() public method

public FireEvent ( SciterXBehaviors evt, bool post = true ) : bool
evt SciterXBehaviors
post bool
return bool

GetAttribute() public method

public GetAttribute ( string name ) : string
name string
return string

GetAttribute() public method

public GetAttribute ( uint n ) : string
n uint
return string

GetAttributeName() public method

public GetAttributeName ( uint n ) : string
n uint
return string

GetChild() public method

public GetChild ( uint idx ) : SciterElement
idx uint
return SciterElement

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetLocation() public method

public GetLocation ( SciterXDom area = SciterXDom.ELEMENT_AREAS.ROOT_RELATIVE|SciterXDom.ELEMENT_AREAS.CONTENT_BOX ) : PInvokeUtils.RECT
area SciterXDom
return SciterSharp.Interop.PInvokeUtils.RECT

GetNativeHwnd() public method

public GetNativeHwnd ( bool rootWindow = true ) : IntPtr
rootWindow bool
return System.IntPtr

GetState() public method

public GetState ( ) : SciterXDom.ELEMENT_STATE_BITS
return SciterXDom.ELEMENT_STATE_BITS

GetStyle() public method

public GetStyle ( string name ) : string
name string
return string

Insert() public method

public Insert ( SciterElement se, uint index ) : void
se SciterElement
index uint
return void

IsChildOf() public method

public IsChildOf ( SciterElement parent_test ) : bool
parent_test SciterElement
return bool

PostEvent() public method

public PostEvent ( uint event_code, uint reason, SciterElement heSource = null ) : void
event_code uint
reason uint
heSource SciterElement
return void

Refresh() public method

public Refresh ( ) : void
return void

Refresh() public method

public Refresh ( PInvokeUtils rc ) : void
rc SciterSharp.Interop.PInvokeUtils
return void

RemoveAttribute() public method

public RemoveAttribute ( string name ) : void
name string
return void

SciterElement() public method

public SciterElement ( IntPtr he ) : System
he System.IntPtr
return System

SciterElement() public method

public SciterElement ( SciterValue sv ) : System
sv SciterValue
return System

SelectAll() public method

public SelectAll ( string selector ) : List
selector string
return List

SelectFirst() public method

public SelectFirst ( string selector ) : SciterElement
selector string
return SciterElement

SelectFirstById() public method

public SelectFirstById ( string id ) : SciterElement
id string
return SciterElement

SelectNearestParent() public method

public SelectNearestParent ( string selector ) : SciterElement
selector string
return SciterElement

SendEvent() public method

public SendEvent ( uint event_code, uint reason, SciterElement heSource = null ) : bool
event_code uint
reason uint
heSource SciterElement
return bool

SetAttribute() public method

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

SetHTML() public method

public SetHTML ( string html, SciterXDom where = SciterXDom.SET_ELEMENT_HTML.SIH_REPLACE_CONTENT ) : void
html string
where SciterXDom
return void

SetState() public method

public SetState ( SciterXDom bitsToSet, SciterXDom bitsToClear, bool update = true ) : void
bitsToSet SciterXDom
bitsToClear SciterXDom
update bool
return void

SetStyle() public method

public SetStyle ( string name, string value ) : void
name string
value string
return void

Swap() public method

public Swap ( SciterElement sewith ) : void
sewith SciterElement
return void

Test() public method

Test this element against CSS selector(s)
public Test ( string selector ) : bool
selector string
return bool

ToNode() public method

public ToNode ( ) : SciterNode
return SciterNode

ToString() public method

public ToString ( ) : string
return string

TransformHTML() public method

public TransformHTML ( string html, SciterXDom how = SciterXDom.SET_ELEMENT_HTML.SIH_REPLACE_CONTENT ) : void
html string
how SciterXDom
return void

Update() public method

public Update ( bool andForceRender = false ) : void
andForceRender bool
return void

operator() public static method

public static operator ( ) : bool
return bool

this() public method

public this ( uint idx ) : SciterElement
idx uint
return SciterElement

this() public method

public this ( string name ) : string
name string
return string