Package system.web.ui.webcontrols
Class ListItem
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.ui.webcontrols.ListItem
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IAttributeAccessor
,IParserAccessor
public class ListItem extends NetObject implements IParserAccessor, IAttributeAccessor
The base .NET class managing System.Web.UI.WebControls.ListItem, 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.ListItem
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.ListItemstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListItem
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoListItem
, a cast assert is made to check if types are compatible.static ListItem
FromString(java.lang.String s)
AttributeCollection
getAttributes()
boolean
getEnabled()
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 objectJCType
getJCOType()
Returns the instantiated class Typeboolean
getSelected()
java.lang.String
getText()
java.lang.String
getValue()
void
setEnabled(boolean Enabled)
void
setJCOInstance(JCObject instance)
void
setSelected(boolean Selected)
void
setText(java.lang.String Text)
void
setValue(java.lang.String Value)
-
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.ListItem- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ListItem
public ListItem(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ListItem
public ListItem() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ListItem
public ListItem(java.lang.String text) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ListItem
public ListItem(java.lang.String text, java.lang.String value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ListItem
public ListItem(java.lang.String text, java.lang.String value, boolean enabled) 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 classNetObject
- 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 classNetObject
- 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 classNetObject
- 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 classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
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
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ListItem cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoListItem
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ListItem
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
FromString
public static ListItem FromString(java.lang.String s) 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
-
getSelected
public boolean getSelected() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSelected
public void setSelected(boolean Selected) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getText
public java.lang.String getText() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setText
public void setText(java.lang.String Text) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getValue
public java.lang.String getValue() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setValue
public void setValue(java.lang.String Value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAttributes
public AttributeCollection getAttributes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-