Class VisualStyleRenderer
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.forms.visualstyles.VisualStyleRenderer
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class VisualStyleRenderer extends NetObject
The base .NET class managing System.Windows.Forms.VisualStyles.VisualStyleRenderer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.VisualStyles.VisualStyleRenderer
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.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Formsstatic java.lang.String
className
Qualified class name: System.Windows.Forms.VisualStyles.VisualStyleRendererstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description VisualStyleRenderer()
VisualStyleRenderer(java.lang.Object instance)
Internal constructor.VisualStyleRenderer(java.lang.String className, int part, int state)
VisualStyleRenderer(VisualStyleElement element)
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.VisualStyles.VisualStyleRenderer- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VisualStyleRenderer
public VisualStyleRenderer(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
VisualStyleRenderer
public VisualStyleRenderer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
VisualStyleRenderer
public VisualStyleRenderer(java.lang.String className, int part, int state) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException
-
VisualStyleRenderer
public VisualStyleRenderer(VisualStyleElement element) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- 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 interfaceIJCOBridgeReflected
- 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 interfaceIJCOBridgeReflected
- 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 interfaceIJCOBridgeReflected
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static VisualStyleRenderer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoVisualStyleRenderer
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
VisualStyleRenderer
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetBoolean
public boolean GetBoolean(BooleanProperty prop) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
IsBackgroundPartiallyTransparent
public boolean IsBackgroundPartiallyTransparent() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException
-
IsElementDefined
public static boolean IsElementDefined(VisualStyleElement element) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException
-
GetEnumValue
public int GetEnumValue(EnumProperty prop) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
GetInteger
public int GetInteger(IntegerProperty prop) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
GetColor
public Color GetColor(ColorProperty prop) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
GetFont
public Font GetFont(IDeviceContext dc, FontProperty prop) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AbandonedMutexException, MulticastNotSupportedException, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
AbandonedMutexException
MulticastNotSupportedException
SecurityException
-
GetPoint
public Point GetPoint(PointProperty prop) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
DrawEdge
public Rectangle DrawEdge(IDeviceContext dc, Rectangle bounds, Edges edges, EdgeStyle style, EdgeEffects effects) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AbandonedMutexException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
AbandonedMutexException
MulticastNotSupportedException
-
GetBackgroundContentRectangle
public Rectangle GetBackgroundContentRectangle(IDeviceContext dc, Rectangle bounds) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException, ArgumentException, MulticastNotSupportedException
-
GetBackgroundExtent
public Rectangle GetBackgroundExtent(IDeviceContext dc, Rectangle contentBounds) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException, ArgumentException, MulticastNotSupportedException
-
GetTextExtent
public Rectangle GetTextExtent(IDeviceContext dc, Rectangle bounds, java.lang.String textToDraw, TextFormatFlags flags) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException, ArgumentException, MulticastNotSupportedException
-
GetTextExtent
public Rectangle GetTextExtent(IDeviceContext dc, java.lang.String textToDraw, TextFormatFlags flags) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException, ArgumentException, MulticastNotSupportedException
-
GetBackgroundRegion
public Region GetBackgroundRegion(IDeviceContext dc, Rectangle bounds) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException, ArgumentException, MulticastNotSupportedException
-
GetPartSize
public Size GetPartSize(IDeviceContext dc, Rectangle bounds, ThemeSizeType type) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AbandonedMutexException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
AbandonedMutexException
MulticastNotSupportedException
-
GetPartSize
public Size GetPartSize(IDeviceContext dc, ThemeSizeType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, ConfigurationErrorsException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
ConfigurationErrorsException
NotSupportedException
-
GetFilename
public java.lang.String GetFilename(FilenameProperty prop) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
GetString
public java.lang.String GetString(StringProperty prop) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
GetMargins
public Padding GetMargins(IDeviceContext dc, MarginProperty prop) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, AbandonedMutexException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
AbandonedMutexException
MulticastNotSupportedException
-
HitTestBackground
public HitTestCode HitTestBackground(Graphics g, Rectangle backgroundRectangle, Region region, Point pt, HitTestOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException
-
HitTestBackground
public HitTestCode HitTestBackground(IDeviceContext dc, Rectangle backgroundRectangle, Point pt, HitTestOptions options) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException, ArgumentException, MulticastNotSupportedException
-
GetTextMetrics
public TextMetrics GetTextMetrics(IDeviceContext dc) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException, ArgumentException, MulticastNotSupportedException
-
DrawBackground
public void DrawBackground(IDeviceContext dc, Rectangle bounds) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, OutOfMemoryException, ObjectDisposedException, ArgumentException, NotImplementedException, CultureNotFoundException, InvalidOperationException
-
DrawBackground
public void DrawBackground(IDeviceContext dc, Rectangle bounds, Rectangle clipRectangle) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, OutOfMemoryException, ObjectDisposedException, ArgumentException, NotImplementedException, CultureNotFoundException, InvalidOperationException
-
DrawImage
public void DrawImage(Graphics g, Rectangle bounds, Image image) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
DrawImage
public void DrawImage(Graphics g, Rectangle bounds, ImageList imageList, int imageIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SecurityException, OverflowException, AccessViolationException
-
DrawParentBackground
public void DrawParentBackground(IDeviceContext dc, Rectangle bounds, Control childControl) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, NotSupportedException, ConfigurationErrorsException, SecurityException, NullReferenceException, OutOfMemoryException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
Win32Exception
NotSupportedException
ConfigurationErrorsException
SecurityException
NullReferenceException
OutOfMemoryException
MulticastNotSupportedException
-
DrawText
public void DrawText(IDeviceContext dc, Rectangle bounds, java.lang.String textToDraw) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentNullException
OutOfMemoryException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
-
DrawText
public void DrawText(IDeviceContext dc, Rectangle bounds, java.lang.String textToDraw, boolean drawDisabled) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, OutOfMemoryException, ObjectDisposedException, ArgumentException, InvalidOperationException
-
DrawText
public void DrawText(IDeviceContext dc, Rectangle bounds, java.lang.String textToDraw, boolean drawDisabled, TextFormatFlags flags) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException, ArgumentException, MulticastNotSupportedException
-
SetParameters
public void SetParameters(java.lang.String className, int part, int state) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException
-
SetParameters
public void SetParameters(VisualStyleElement element) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, InvalidOperationException
-
getIsSupported
public static boolean getIsSupported() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, NotImplementedException, InvalidOperationException
-
getLastHResult
public int getLastHResult() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPart
public int getPart() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getState
public int getState() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
get_Class
public java.lang.String get_Class() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-