Base class for Jaxcent paged objects.

Namespace: Jaxcent.Web
Assembly: Jaxcent (in Jaxcent.dll) Version: 2.3.1.0 (2.3.1.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class JaxcentObject
Public Class JaxcentObject
public ref class JaxcentObject

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
JaxcentObject(JaxcentPage, String)
Search for object on page by specified ID
JaxcentObject(JaxcentPage, SearchType, String)
Search for object on page by specified search type and search string. If the search returns multiple objects, use the first one. searchType can be createNew, in which case the string parameter is the tag instead. The surrounding less than and greater than characters must not be a part of the tag.
JaxcentObject(JaxcentPage, SearchType, String, Int32)
Search for object on page by specified search type and search string, and search index. The search is expected to return multiple results. The search index is 0-based, and specifies the index in the multiple results. This constructor is not for use with createNew.
JaxcentObject(JaxcentPage, SearchType, String, String)
Create new object on page using the specified tag. Search type must be createNew. If text is non null, the new element is populated with that text.
JaxcentObject(JaxcentPage, SearchType, String, array<String>[]()[][], array<String>[]()[][])
Create new object on page using the specified attributes and values. Search type must be createNew. Attributes and values arrays must have the same length.
JaxcentObject(JaxcentPage, SearchType, String, String, array<String>[]()[][], array<String>[]()[][])
Create new object on page using the specified attributes and values and text. Search type must be createNew. Attributes and values arrays must have the same length.
AddJavaScriptVerification(String, String, array<Object>[]()[][])
Add JavaScript verification code on a handler. If the event is being over-ridden, the verification code is called first. If it does not return a value of true, or if it fails, the Java event handler is not called.

This method can be used to reduct client-server trips by doing some of the verification on the client side before calling the event handler.

The arguments array can contain strings, Integers, Doubles, strings, bool, other Jaxcent HTML Elements (or "this"), or can be null. If the argument array is not null, the "verifier" must not contain the parentheses character. The characters "( )" containing any arguments are appended to the "verifier". The array specifies the list of parameters. If the argument array is null, the "verifier" is evaluated as is, as an expression. To call a function with no args, use the form addJavaScriptVerification( "click", "myCheckFunction()", null );

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetJaxcentPage()()()()
Get Jaxcent page that this object is connected to.
GetProperty(String)
Get the value of a a property.
GetSelectedIndex(Object)
Utility method to retrieve the index from the string returned in the Map for SELECT items. The string is of the form "index: value". This method parses it and returns the index as an integer. If the input is ill-formatted, returns -2. -1 is a valid value, indicating nothing was selected.
GetSelectedValue(Object)
Utility method to retrieve the value from the string returned in the Map for SELECT items. The string is of the form "index: value". This method parses it and returns the value as a string, without the leading index. If the input is ill-formatted, returns null.
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ID
The ID property of HTML object
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
SetProperty(String, Boolean)
Set a property to the specified bool value.
SetProperty(String, Color)
Set a property to the specified System.Drawing.Color value.
SetProperty(String, Int32)
Set a property to the specified int value.
SetProperty(String, String)
Set a property to the specified value.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

System..::..Object
  Jaxcent.Web..::..JaxcentObject
    Jaxcent.Web.Html..::..JaxcentHtmlBase

See Also