Package system.web.ui.design
Class DataSourceDesigner
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.design.ComponentDesigner
-
- system.web.ui.design.HtmlControlDesigner
-
- system.web.ui.design.ControlDesigner
-
- system.web.ui.design.DataSourceDesigner
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IDesignerFilter
- Direct Known Subclasses:
ObjectDataSourceDesigner
,SqlDataSourceDesigner
public class DataSourceDesigner extends ControlDesigner
The base .NET class managing System.Web.UI.Design.DataSourceDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.UI.Design.DataSourceDesigner
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.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Designstatic java.lang.String
className
Qualified class name: System.Web.UI.Design.DataSourceDesignerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataSourceDesigner()
DataSourceDesigner(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDataSourceChanged(EventHandler handler)
void
addSchemaRefreshed(EventHandler handler)
static DataSourceDesigner
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDataSourceDesigner
, a cast assert is made to check if types are compatible.void
Configure()
boolean
getCanConfigure()
boolean
getCanRefreshSchema()
java.lang.String
GetDesignTimeHtml()
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 TypeDesignerDataSourceView
GetView(java.lang.String viewName)
java.lang.String[]
GetViewNames()
void
RefreshSchema(boolean preferSilent)
void
removeDataSourceChanged(EventHandler handler)
void
removeSchemaRefreshed(EventHandler handler)
void
ResumeDataSourceEvents()
static boolean
SchemasEquivalent(IDataSourceSchema schema1, IDataSourceSchema schema2)
void
setJCOInstance(JCObject instance)
void
SuppressDataSourceEvents()
static boolean
ViewSchemasEquivalent(IDataSourceViewSchema viewSchema1, IDataSourceViewSchema viewSchema2)
-
Methods inherited from class system.web.ui.design.ControlDesigner
getAllowResize, getAutoFormats, GetBounds, GetDesignTimeHtml, getDesignTimeHtmlRequiresLoadComplete, GetDesignTimeResourceProviderFactory, GetEditableDesignerRegionContent, getID, getIsDirty, GetPersistenceContent, GetPersistInnerHtml, getReadOnly, getTemplateGroups, getViewControl, getViewControlCreated, GetViewRendering, GetViewRendering, GetViewRendering, Initialize, Invalidate, Invalidate, InvokeTransactedChange, InvokeTransactedChange, InvokeTransactedChange, IsPropertyBound, Localize, OnAutoFormatApplied, OnComponentChanged, OnComponentChanging, RaiseResizeEvent, RegisterClone, SetEditableDesignerRegionContent, setID, setIsDirty, setReadOnly, setViewControl, setViewControlCreated, UpdateDesignTimeHtml
-
Methods inherited from class system.web.ui.design.HtmlControlDesigner
getBehavior, getDataBindings, getExpressions, getShouldCodeSerialize, OnSetParent, setBehavior, setShouldCodeSerialize
-
Methods inherited from class system.componentmodel.design.ComponentDesigner
close, Dispose, DoDefaultAction, getActionLists, getAssociatedComponents, getComponent, getVerbs, InitializeExistingComponent, InitializeNewComponent, InitializeNonDefault, OnSetComponentDefaults
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.componentmodel.design.IDesignerFilter
PostFilterAttributes, PostFilterEvents, PostFilterProperties, PreFilterAttributes, PreFilterEvents, PreFilterProperties
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Design, 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.Design- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.UI.Design.DataSourceDesigner- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDesignerFilter
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classControlDesigner
- 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 interfaceIDesignerFilter
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classControlDesigner
- 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 interfaceIDesignerFilter
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classControlDesigner
- 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 interfaceIDesignerFilter
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classControlDesigner
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classControlDesigner
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDesignerFilter
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classControlDesigner
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DataSourceDesigner cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDataSourceDesigner
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DataSourceDesigner
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
SchemasEquivalent
public static boolean SchemasEquivalent(IDataSourceSchema schema1, IDataSourceSchema schema2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ViewSchemasEquivalent
public static boolean ViewSchemasEquivalent(IDataSourceViewSchema viewSchema1, IDataSourceViewSchema viewSchema2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetDesignTimeHtml
public java.lang.String GetDesignTimeHtml() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException
- Overrides:
GetDesignTimeHtml
in classControlDesigner
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
-
GetViewNames
public java.lang.String[] GetViewNames() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetView
public DesignerDataSourceView GetView(java.lang.String viewName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Configure
public void Configure() throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
-
RefreshSchema
public void RefreshSchema(boolean preferSilent) throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
-
ResumeDataSourceEvents
public void ResumeDataSourceEvents() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
SuppressDataSourceEvents
public void SuppressDataSourceEvents() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCanConfigure
public boolean getCanConfigure() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCanRefreshSchema
public boolean getCanRefreshSchema() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDataSourceChanged
public void addDataSourceChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDataSourceChanged
public void removeDataSourceChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSchemaRefreshed
public void addSchemaRefreshed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSchemaRefreshed
public void removeSchemaRefreshed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-