Package system.web.ui.webcontrols
Class TextBox
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.ui.Control
-
- system.web.ui.webcontrols.WebControl
-
- system.web.ui.webcontrols.TextBox
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
,IAttributeAccessor
,IParserAccessor
,IPostBackDataHandler
public class TextBox extends WebControl implements IPostBackDataHandler
The base .NET class managing System.Web.UI.WebControls.TextBox, 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.TextBox
Powered by JCOBridge: more info at https://www.jcobridge.com
- Version:
- 1.14.3.0
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: System.Webstatic String
className
Qualified class name: System.Web.UI.WebControls.TextBoxstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addTextChanged(EventHandler handler)
static TextBox
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTextBox
, a cast assert is made to check if types are compatible.AutoCompleteType
getAutoCompleteType()
boolean
getAutoPostBack()
boolean
getCausesValidation()
int
getColumns()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
getMaxLength()
boolean
getReadOnly()
int
getRows()
String
getText()
TextBoxMode
getTextMode()
String
getValidationGroup()
boolean
getWrap()
boolean
LoadPostData(String postDataKey, NameValueCollection postCollection)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.void
RaisePostDataChangedEvent()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.void
removeTextChanged(EventHandler handler)
void
setAutoCompleteType(AutoCompleteType AutoCompleteType)
void
setAutoPostBack(boolean AutoPostBack)
void
setCausesValidation(boolean CausesValidation)
void
setColumns(int Columns)
void
setJCOInstance(JCObject instance)
void
setMaxLength(int MaxLength)
void
setReadOnly(boolean ReadOnly)
void
setRows(int Rows)
void
setText(String Text)
void
setTextMode(TextBoxMode TextMode)
void
setValidationGroup(String ValidationGroup)
void
setWrap(boolean Wrap)
-
Methods inherited from class system.web.ui.webcontrols.WebControl
ApplyStyle, CopyBaseAttributes, getAccessKey, GetAttribute, getAttributes, getBackColor, getBorderColor, getBorderStyle, getBorderWidth, getControlStyle, getControlStyleCreated, getCssClass, getDisabledCssClass, getEnabled, getFont, getForeColor, getHasAttributes, getHeight, getStyle, getSupportsDisabledAttribute, getTabIndex, getToolTip, getWidth, MergeStyle, RenderBeginTag, RenderEndTag, setAccessKey, SetAttribute, setBackColor, setBorderColor, setBorderStyle, setBorderWidth, setCssClass, setDisabledCssClass, setEnabled, setForeColor, setHeight, setTabIndex, setToolTip, setWidth
-
Methods inherited from class system.web.ui.Control
addDataBinding, addDisposed, addInit, addLoad, AddParsedSubObject, addPreRender, addUnload, ApplyStyleSheetSkin, close, DataBind, Dispose, FindControl, Focus, getAppRelativeTemplateSourceDirectory, getBindingContainer, getClientID, getClientIDMode, getControls, getDataItemContainer, getDataKeysContainer, GetDesignModeState, 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, SetDesignModeState, setEnableTheming, setEnableViewState, setID, SetOwnerControl, 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, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final 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 String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Web.UI.WebControls.TextBox- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public 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
- Specified by:
getJCOAssemblyName
in interfaceIPostBackDataHandler
- Overrides:
getJCOAssemblyName
in classWebControl
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public 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
- Specified by:
getJCOClassName
in interfaceIPostBackDataHandler
- Overrides:
getJCOClassName
in classWebControl
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public 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
- Specified by:
getJCOObjectName
in interfaceIPostBackDataHandler
- Overrides:
getJCOObjectName
in classWebControl
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public 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
- Specified by:
getJCOInstance
in interfaceIPostBackDataHandler
- Overrides:
getJCOInstance
in classWebControl
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classWebControl
-
getJCOType
public 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
- Specified by:
getJCOType
in interfaceIPostBackDataHandler
- Overrides:
getJCOType
in classWebControl
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TextBox cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoTextBox
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TextBox
instance- Throws:
Throwable
- in case of error during cast operation
-
LoadPostData
@Deprecated public boolean LoadPostData(String postDataKey, NameValueCollection postCollection) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIPostBackDataHandler method available in IPostBackDataHandler to obtain an object with an invocable method- Specified by:
LoadPostData
in interfaceIPostBackDataHandler
- Throws:
Throwable
-
RaisePostDataChangedEvent
@Deprecated public void RaisePostDataChangedEvent() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIPostBackDataHandler method available in IPostBackDataHandler to obtain an object with an invocable method- Specified by:
RaisePostDataChangedEvent
in interfaceIPostBackDataHandler
- Throws:
Throwable
-
getAutoPostBack
public boolean getAutoPostBack() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setAutoPostBack
public void setAutoPostBack(boolean AutoPostBack) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
getCausesValidation
public boolean getCausesValidation() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setCausesValidation
public void setCausesValidation(boolean CausesValidation) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
getReadOnly
public boolean getReadOnly() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setReadOnly
public void setReadOnly(boolean ReadOnly) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
getWrap
public boolean getWrap() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setWrap
public void setWrap(boolean Wrap) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
getColumns
public int getColumns() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setColumns
public void setColumns(int Columns) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
getMaxLength
public int getMaxLength() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setMaxLength
public void setMaxLength(int MaxLength) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException
-
getRows
public int getRows() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setRows
public void setRows(int Rows) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
getText
public String getText() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setText
public void setText(String Text) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
getValidationGroup
public String getValidationGroup() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setValidationGroup
public void setValidationGroup(String ValidationGroup) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
getAutoCompleteType
public AutoCompleteType getAutoCompleteType() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setAutoCompleteType
public void setAutoCompleteType(AutoCompleteType AutoCompleteType) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException
-
getTextMode
public TextBoxMode getTextMode() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
setTextMode
public void setTextMode(TextBoxMode TextMode) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException
-
addTextChanged
public void addTextChanged(EventHandler handler) throws Throwable
- Throws:
Throwable
-
removeTextChanged
public void removeTextChanged(EventHandler handler) throws Throwable
- Throws:
Throwable
-
-