Package system.web.ui.webcontrols
Class WebControl
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.ui.Control
-
- system.web.ui.webcontrols.WebControl
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IAttributeAccessor
,IParserAccessor
- Direct Known Subclasses:
BaseDataBoundControl
,BaseDataList
,Button
,Calendar
,CheckBox
,CompositeControl
,DataListItem
,FileUpload
,HyperLink
,Image
,Label
,LinkButton
,LoginName
,Panel
,SiteMapNodeItem
,Table
,TableCell
,TableRow
,TextBox
,ValidationSummary
public class WebControl extends Control implements IAttributeAccessor
The base .NET class managing System.Web.UI.WebControls.WebControl, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.UI.WebControls.WebControl
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Webstatic java.lang.String
className
Qualified class name: System.Web.UI.WebControls.WebControlstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description WebControl()
WebControl(java.lang.Object instance)
Internal constructor.WebControl(HtmlTextWriterTag tag)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ApplyStyle(Style s)
static WebControl
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoWebControl
, a cast assert is made to check if types are compatible.void
CopyBaseAttributes(WebControl controlSrc)
java.lang.String
getAccessKey()
AttributeCollection
getAttributes()
Color
getBackColor()
Color
getBorderColor()
BorderStyle
getBorderStyle()
Unit
getBorderWidth()
Style
getControlStyle()
boolean
getControlStyleCreated()
java.lang.String
getCssClass()
static java.lang.String
getDisabledCssClass()
boolean
getEnabled()
FontInfo
getFont()
Color
getForeColor()
boolean
getHasAttributes()
Unit
getHeight()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class TypeCssStyleCollection
getStyle()
boolean
getSupportsDisabledAttribute()
short
getTabIndex()
java.lang.String
getToolTip()
Unit
getWidth()
void
MergeStyle(Style s)
void
RenderBeginTag(HtmlTextWriter writer)
void
RenderEndTag(HtmlTextWriter writer)
void
setAccessKey(java.lang.String AccessKey)
void
setBackColor(Color BackColor)
void
setBorderColor(Color BorderColor)
void
setBorderStyle(BorderStyle BorderStyle)
void
setBorderWidth(Unit BorderWidth)
void
setCssClass(java.lang.String CssClass)
static void
setDisabledCssClass(java.lang.String DisabledCssClass)
void
setEnabled(boolean Enabled)
void
setForeColor(Color ForeColor)
void
setHeight(Unit Height)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
setTabIndex(short TabIndex)
void
setToolTip(java.lang.String ToolTip)
void
setWidth(Unit Width)
-
Methods inherited from class system.web.ui.Control
addDataBinding, addDisposed, addInit, addLoad, addPreRender, addUnload, ApplyStyleSheetSkin, close, DataBind, Dispose, FindControl, Focus, getAppRelativeTemplateSourceDirectory, getBindingContainer, getClientID, getClientIDMode, getControls, getDataItemContainer, getDataKeysContainer, getEnableTheming, getEnableViewState, getID, getNamingContainer, getPage, getParent, getRenderingCompatibility, GetRouteUrl, GetRouteUrl, GetRouteUrl, GetRouteUrl, getSite, getSkinID, getTemplateControl, getTemplateSourceDirectory, getUniqueID, GetUniqueIDRelativeTo, getValidateRequestMode, getViewStateMode, getVisible, HasControls, removeDataBinding, removeDisposed, removeInit, removeLoad, removePreRender, removeUnload, RenderControl, ResolveClientUrl, ResolveUrl, setAppRelativeTemplateSourceDirectory, setClientIDMode, setEnableTheming, setEnableViewState, setID, setPage, setRenderingCompatibility, SetRenderMethodDelegate, setSite, setSkinID, setTemplateControl, SetTraceData, SetTraceData, setValidateRequestMode, setViewStateMode, setVisible
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.web.ui.IAttributeAccessor
GetAttribute, SetAttribute
-
Methods inherited from interface system.web.ui.IParserAccessor
AddParsedSubObject
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.UI.WebControls.WebControl- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
WebControl
public WebControl(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
WebControl
public WebControl() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
WebControl
public WebControl(HtmlTextWriterTag tag) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIAttributeAccessor
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIParserAccessor
- Overrides:
getJCOAssemblyName
in classControl
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIAttributeAccessor
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIParserAccessor
- Overrides:
getJCOClassName
in classControl
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIAttributeAccessor
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIParserAccessor
- Overrides:
getJCOObjectName
in classControl
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIAttributeAccessor
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIParserAccessor
- Overrides:
getJCOInstance
in classControl
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classControl
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIAttributeAccessor
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIParserAccessor
- Overrides:
getJCOType
in classControl
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static WebControl cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoWebControl
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
WebControl
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
ApplyStyle
public void ApplyStyle(Style s) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException
-
CopyBaseAttributes
public void CopyBaseAttributes(WebControl controlSrc) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
MergeStyle
public void MergeStyle(Style s) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException
-
RenderBeginTag
public void RenderBeginTag(HtmlTextWriter writer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ConfigurationErrorsException, InvalidOperationException, ArgumentNullException, NotSupportedException, MissingManifestResourceException, ConfigurationException, HttpException, IndexOutOfRangeException, ThreadAbortException, NullReferenceException, OutOfMemoryException, FormatException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ConfigurationErrorsException
InvalidOperationException
ArgumentNullException
NotSupportedException
MissingManifestResourceException
ConfigurationException
HttpException
IndexOutOfRangeException
ThreadAbortException
NullReferenceException
OutOfMemoryException
FormatException
-
RenderEndTag
public void RenderEndTag(HtmlTextWriter writer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
getControlStyleCreated
public boolean getControlStyleCreated() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEnabled
public boolean getEnabled() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setEnabled
public void setEnabled(boolean Enabled) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHasAttributes
public boolean getHasAttributes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSupportsDisabledAttribute
public boolean getSupportsDisabledAttribute() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTabIndex
public short getTabIndex() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setTabIndex
public void setTabIndex(short TabIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
getBackColor
public Color getBackColor() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
setBackColor
public void setBackColor(Color BackColor) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
getBorderColor
public Color getBorderColor() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
setBorderColor
public void setBorderColor(Color BorderColor) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
getForeColor
public Color getForeColor() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
setForeColor
public void setForeColor(Color ForeColor) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
getAccessKey
public java.lang.String getAccessKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setAccessKey
public void setAccessKey(java.lang.String AccessKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
getCssClass
public java.lang.String getCssClass() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
setCssClass
public void setCssClass(java.lang.String CssClass) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
getDisabledCssClass
public static java.lang.String getDisabledCssClass() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDisabledCssClass
public static void setDisabledCssClass(java.lang.String DisabledCssClass) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getToolTip
public java.lang.String getToolTip() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setToolTip
public void setToolTip(java.lang.String ToolTip) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
getAttributes
public AttributeCollection getAttributes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getStyle
public CssStyleCollection getStyle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBorderStyle
public BorderStyle getBorderStyle() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
setBorderStyle
public void setBorderStyle(BorderStyle BorderStyle) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
getFont
public FontInfo getFont() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
getControlStyle
public Style getControlStyle() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
getBorderWidth
public Unit getBorderWidth() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
setBorderWidth
public void setBorderWidth(Unit BorderWidth) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
getHeight
public Unit getHeight() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
setHeight
public void setHeight(Unit Height) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
getWidth
public Unit getWidth() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
setWidth
public void setWidth(Unit Width) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
-