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.StringassemblyFullNameFully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Webstatic java.lang.StringclassNameQualified class name: System.Web.UI.WebControls.WebControlstatic JCTypeclassTypeThe 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 voidApplyStyle(Style s)static WebControlcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoWebControl, a cast assert is made to check if types are compatible.voidCopyBaseAttributes(WebControl controlSrc)java.lang.StringgetAccessKey()AttributeCollectiongetAttributes()ColorgetBackColor()ColorgetBorderColor()BorderStylegetBorderStyle()UnitgetBorderWidth()StylegetControlStyle()booleangetControlStyleCreated()java.lang.StringgetCssClass()static java.lang.StringgetDisabledCssClass()booleangetEnabled()FontInfogetFont()ColorgetForeColor()booleangetHasAttributes()UnitgetHeight()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeCssStyleCollectiongetStyle()booleangetSupportsDisabledAttribute()shortgetTabIndex()java.lang.StringgetToolTip()UnitgetWidth()voidMergeStyle(Style s)voidRenderBeginTag(HtmlTextWriter writer)voidRenderEndTag(HtmlTextWriter writer)voidsetAccessKey(java.lang.String AccessKey)voidsetBackColor(Color BackColor)voidsetBorderColor(Color BorderColor)voidsetBorderStyle(BorderStyle BorderStyle)voidsetBorderWidth(Unit BorderWidth)voidsetCssClass(java.lang.String CssClass)static voidsetDisabledCssClass(java.lang.String DisabledCssClass)voidsetEnabled(boolean Enabled)voidsetForeColor(Color ForeColor)voidsetHeight(Unit Height)voidsetJCOInstance(JCObject instance)voidsetTabIndex(short TabIndex)voidsetToolTip(java.lang.String ToolTip)voidsetWidth(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
-
-
Constructor Detail
-
WebControl
public WebControl(java.lang.Object instance) throws java.lang.ThrowableInternal 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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIAttributeAccessor- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceIParserAccessor- Overrides:
getJCOAssemblyNamein classControl- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIAttributeAccessor- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceIParserAccessor- Overrides:
getJCOClassNamein classControl- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIAttributeAccessor- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceIParserAccessor- Overrides:
getJCOObjectNamein classControl- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIAttributeAccessor- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceIParserAccessor- Overrides:
getJCOInstancein classControl- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIAttributeAccessor- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceIParserAccessor- Overrides:
getJCOTypein classControl- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static WebControl cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoWebControl, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
WebControlinstance- 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.ThrowableArgumentExceptionArgumentOutOfRangeExceptionConfigurationErrorsExceptionInvalidOperationExceptionArgumentNullExceptionNotSupportedExceptionMissingManifestResourceExceptionConfigurationExceptionHttpExceptionIndexOutOfRangeExceptionThreadAbortExceptionNullReferenceExceptionOutOfMemoryExceptionFormatException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
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
-
-