Package system.web.ui.design
Class TemplatedControlDesigner
- 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.TemplatedControlDesigner
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,IDesignerFilter
- Direct Known Subclasses:
BaseDataListDesigner
public class TemplatedControlDesigner extends ControlDesigner
The base .NET class managing System.Web.UI.Design.TemplatedControlDesigner, 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.TemplatedControlDesigner
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.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Designstatic java.lang.StringclassNameQualified class name: System.Web.UI.Design.TemplatedControlDesignerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TemplatedControlDesigner()TemplatedControlDesigner(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplatedControlDesignercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoTemplatedControlDesigner, a cast assert is made to check if types are compatible.voidEnterTemplateMode(ITemplateEditingFrame newTemplateEditingFrame)voidExitTemplateMode(boolean fSwitchingTemplates, boolean fNested, boolean fSave)ITemplateEditingFramegetActiveTemplateEditingFrame()booleangetCanEnterTemplateMode()booleangetInTemplateMode()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 Typejava.lang.StringGetTemplateContainerDataItemProperty(java.lang.String templateName)IEnumerableGetTemplateContainerDataSource(java.lang.String templateName)java.lang.StringGetTemplateContent(ITemplateEditingFrame editingFrame, java.lang.String templateName, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> allowEditing)TemplateEditingVerb[]GetTemplateEditingVerbs()NetTypeGetTemplatePropertyParentType(java.lang.String templateName)voidInitialize(IComponent component)voidOnComponentChanged(NetObject sender, ComponentChangedEventArgs ce)voidOnSetParent()voidsetJCOInstance(JCObject instance)voidSetTemplateContent(ITemplateEditingFrame editingFrame, java.lang.String templateName, java.lang.String templateContent)voidUpdateDesignTimeHtml()-
Methods inherited from class system.web.ui.design.ControlDesigner
getAllowResize, getAutoFormats, GetBounds, GetDesignTimeHtml, GetDesignTimeHtml, getDesignTimeHtmlRequiresLoadComplete, GetDesignTimeResourceProviderFactory, GetEditableDesignerRegionContent, getID, getIsDirty, GetPersistenceContent, GetPersistInnerHtml, getReadOnly, getTemplateGroups, getViewControl, getViewControlCreated, GetViewRendering, GetViewRendering, GetViewRendering, Invalidate, Invalidate, InvokeTransactedChange, InvokeTransactedChange, InvokeTransactedChange, IsPropertyBound, Localize, OnAutoFormatApplied, OnComponentChanging, RaiseResizeEvent, RegisterClone, SetEditableDesignerRegionContent, setID, setIsDirty, setReadOnly, setViewControl, setViewControlCreated
-
Methods inherited from class system.web.ui.design.HtmlControlDesigner
getBehavior, getDataBindings, getExpressions, getShouldCodeSerialize, 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.TemplatedControlDesigner- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TemplatedControlDesigner
public TemplatedControlDesigner(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
TemplatedControlDesigner
public TemplatedControlDesigner() 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 interfaceIDesignerFilter- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classControlDesigner- 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 interfaceIDesignerFilter- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classControlDesigner- 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 interfaceIDesignerFilter- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classControlDesigner- 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 interfaceIDesignerFilter- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classControlDesigner- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classControlDesigner
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDesignerFilter- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classControlDesigner- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static TemplatedControlDesigner cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoTemplatedControlDesigner, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
TemplatedControlDesignerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetTemplateContainerDataSource
public IEnumerable GetTemplateContainerDataSource(java.lang.String templateName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetTemplateContainerDataItemProperty
public java.lang.String GetTemplateContainerDataItemProperty(java.lang.String templateName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetTemplateContent
public java.lang.String GetTemplateContent(ITemplateEditingFrame editingFrame, java.lang.String templateName, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> allowEditing) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetTemplatePropertyParentType
public NetType GetTemplatePropertyParentType(java.lang.String templateName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetTemplateEditingVerbs
public TemplateEditingVerb[] GetTemplateEditingVerbs() throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
EnterTemplateMode
public void EnterTemplateMode(ITemplateEditingFrame newTemplateEditingFrame) throws java.lang.Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, ConfigurationException, ArgumentOutOfRangeException, NotImplementedException, HttpException, OverflowException, IndexOutOfRangeException, OutOfMemoryException
-
ExitTemplateMode
public void ExitTemplateMode(boolean fSwitchingTemplates, boolean fNested, boolean fSave) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, NullReferenceException, NotImplementedException, HttpException, OverflowException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionConfigurationErrorsExceptionNotSupportedExceptionConfigurationExceptionNullReferenceExceptionNotImplementedExceptionHttpExceptionOverflowExceptionOutOfMemoryException
-
Initialize
public void Initialize(IComponent component) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotImplementedException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException, NullReferenceException, MulticastNotSupportedException, ConfigurationErrorsException, SecurityException, ConfigurationException
- Overrides:
Initializein classControlDesigner- Throws:
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotImplementedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNotSupportedExceptionNullReferenceExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionSecurityExceptionConfigurationException
-
OnComponentChanged
public void OnComponentChanged(NetObject sender, ComponentChangedEventArgs ce) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, HttpException, NotSupportedException, AmbiguousMatchException, HttpParseException, IndexOutOfRangeException, RankException, NullReferenceException, NotImplementedException, CultureNotFoundException, ConfigurationErrorsException, OverflowException, PlatformNotSupportedException, OutOfMemoryException
- Overrides:
OnComponentChangedin classControlDesigner- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionMissingManifestResourceExceptionHttpExceptionNotSupportedExceptionAmbiguousMatchExceptionHttpParseExceptionIndexOutOfRangeExceptionRankExceptionNullReferenceExceptionNotImplementedExceptionCultureNotFoundExceptionConfigurationErrorsExceptionOverflowExceptionPlatformNotSupportedExceptionOutOfMemoryException
-
OnSetParent
public void OnSetParent() throws java.lang.Throwable- Overrides:
OnSetParentin classHtmlControlDesigner- Throws:
java.lang.Throwable
-
SetTemplateContent
public void SetTemplateContent(ITemplateEditingFrame editingFrame, java.lang.String templateName, java.lang.String templateContent) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
UpdateDesignTimeHtml
public void UpdateDesignTimeHtml() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, MissingManifestResourceException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, NullReferenceException, NotImplementedException, HttpException, OverflowException, HttpRequestValidationException, PlatformNotSupportedException, OutOfMemoryException- Overrides:
UpdateDesignTimeHtmlin classControlDesigner- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionNotSupportedExceptionConfigurationExceptionNullReferenceExceptionNotImplementedExceptionHttpExceptionOverflowExceptionHttpRequestValidationExceptionPlatformNotSupportedExceptionOutOfMemoryException
-
getCanEnterTemplateMode
public boolean getCanEnterTemplateMode() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getInTemplateMode
public boolean getInTemplateMode() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getActiveTemplateEditingFrame
public ITemplateEditingFrame getActiveTemplateEditingFrame() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-