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.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.TemplatedControlDesignerstatic org.mases.jcobridge.JCType
classType
The 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 TemplatedControlDesigner
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTemplatedControlDesigner
, a cast assert is made to check if types are compatible.void
EnterTemplateMode(ITemplateEditingFrame newTemplateEditingFrame)
void
ExitTemplateMode(boolean fSwitchingTemplates, boolean fNested, boolean fSave)
ITemplateEditingFrame
getActiveTemplateEditingFrame()
boolean
getCanEnterTemplateMode()
boolean
getInTemplateMode()
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 objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class Typejava.lang.String
GetTemplateContainerDataItemProperty(java.lang.String templateName)
IEnumerable
GetTemplateContainerDataSource(java.lang.String templateName)
java.lang.String
GetTemplateContent(ITemplateEditingFrame editingFrame, java.lang.String templateName, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> allowEditing)
TemplateEditingVerb[]
GetTemplateEditingVerbs()
NetType
GetTemplatePropertyParentType(java.lang.String templateName)
void
Initialize(IComponent component)
void
OnComponentChanged(NetObject sender, ComponentChangedEventArgs ce)
void
OnSetParent()
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
SetTemplateContent(ITemplateEditingFrame editingFrame, java.lang.String templateName, java.lang.String templateContent)
void
UpdateDesignTimeHtml()
-
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
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
TemplatedControlDesigner
public TemplatedControlDesigner(java.lang.Object instance) throws java.lang.Throwable
Internal 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: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(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classControlDesigner
-
getJCOType
public org.mases.jcobridge.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 TemplatedControlDesigner cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTemplatedControlDesigner
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TemplatedControlDesigner
instance- 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.Throwable
ArgumentOutOfRangeException
-
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.Throwable
ArgumentNullException
IndexOutOfRangeException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
ConfigurationErrorsException
NotSupportedException
ConfigurationException
NullReferenceException
NotImplementedException
HttpException
OverflowException
OutOfMemoryException
-
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:
Initialize
in classControlDesigner
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentNullException
ArgumentException
MissingMethodException
TargetInvocationException
CultureNotFoundException
NotImplementedException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
NotSupportedException
NullReferenceException
MulticastNotSupportedException
ConfigurationErrorsException
SecurityException
ConfigurationException
-
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:
OnComponentChanged
in classControlDesigner
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
ObjectDisposedException
AbandonedMutexException
MissingManifestResourceException
HttpException
NotSupportedException
AmbiguousMatchException
HttpParseException
IndexOutOfRangeException
RankException
NullReferenceException
NotImplementedException
CultureNotFoundException
ConfigurationErrorsException
OverflowException
PlatformNotSupportedException
OutOfMemoryException
-
OnSetParent
public void OnSetParent() throws java.lang.Throwable
- Overrides:
OnSetParent
in 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:
UpdateDesignTimeHtml
in classControlDesigner
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
ArgumentException
MissingManifestResourceException
ConfigurationErrorsException
NotSupportedException
ConfigurationException
NullReferenceException
NotImplementedException
HttpException
OverflowException
HttpRequestValidationException
PlatformNotSupportedException
OutOfMemoryException
-
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
-
-