public class VisualStyleRenderer extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.VisualStyles.VisualStyleRenderer
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.VisualStyles.VisualStyleRenderer
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
VisualStyleRenderer() |
VisualStyleRenderer(java.lang.Object instance)
Internal constructor.
|
VisualStyleRenderer(java.lang.String className,
int part,
int state) |
VisualStyleRenderer(VisualStyleElement element) |
| Modifier and Type | Method and Description |
|---|---|
static VisualStyleRenderer |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into VisualStyleRenderer, a cast assert is made to check if types are compatible. |
void |
DrawBackground(IDeviceContext dc,
Rectangle bounds) |
void |
DrawBackground(IDeviceContext dc,
Rectangle bounds,
Rectangle clipRectangle) |
Rectangle |
DrawEdge(IDeviceContext dc,
Rectangle bounds,
Edges edges,
EdgeStyle style,
EdgeEffects effects) |
void |
DrawImage(Graphics g,
Rectangle bounds,
Image image) |
void |
DrawImage(Graphics g,
Rectangle bounds,
ImageList imageList,
int imageIndex) |
void |
DrawParentBackground(IDeviceContext dc,
Rectangle bounds,
Control childControl) |
void |
DrawText(IDeviceContext dc,
Rectangle bounds,
java.lang.String textToDraw) |
void |
DrawText(IDeviceContext dc,
Rectangle bounds,
java.lang.String textToDraw,
boolean drawDisabled) |
void |
DrawText(IDeviceContext dc,
Rectangle bounds,
java.lang.String textToDraw,
boolean drawDisabled,
TextFormatFlags flags) |
java.lang.String |
get_Class() |
Rectangle |
GetBackgroundContentRectangle(IDeviceContext dc,
Rectangle bounds) |
Rectangle |
GetBackgroundExtent(IDeviceContext dc,
Rectangle contentBounds) |
Region |
GetBackgroundRegion(IDeviceContext dc,
Rectangle bounds) |
boolean |
GetBoolean(BooleanProperty prop) |
Color |
GetColor(ColorProperty prop) |
int |
GetEnumValue(EnumProperty prop) |
java.lang.String |
GetFilename(FilenameProperty prop) |
Font |
GetFont(IDeviceContext dc,
FontProperty prop) |
int |
GetInteger(IntegerProperty prop) |
static boolean |
getIsSupported() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getLastHResult() |
Padding |
GetMargins(IDeviceContext dc,
MarginProperty prop) |
int |
getPart() |
Size |
GetPartSize(IDeviceContext dc,
Rectangle bounds,
ThemeSizeType type) |
Size |
GetPartSize(IDeviceContext dc,
ThemeSizeType type) |
Point |
GetPoint(PointProperty prop) |
int |
getState() |
java.lang.String |
GetString(StringProperty prop) |
Rectangle |
GetTextExtent(IDeviceContext dc,
Rectangle bounds,
java.lang.String textToDraw,
TextFormatFlags flags) |
Rectangle |
GetTextExtent(IDeviceContext dc,
java.lang.String textToDraw,
TextFormatFlags flags) |
TextMetrics |
GetTextMetrics(IDeviceContext dc) |
HitTestCode |
HitTestBackground(Graphics g,
Rectangle backgroundRectangle,
Region region,
Point pt,
HitTestOptions options) |
HitTestCode |
HitTestBackground(IDeviceContext dc,
Rectangle backgroundRectangle,
Point pt,
HitTestOptions options) |
boolean |
IsBackgroundPartiallyTransparent() |
static boolean |
IsElementDefined(VisualStyleElement element) |
void |
set_Class(java.lang.String Class) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
SetParameters(java.lang.String className,
int part,
int state) |
void |
SetParameters(VisualStyleElement element) |
void |
setPart(int Part) |
void |
setState(int State) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic VisualStyleRenderer()
throws java.lang.Throwable
java.lang.Throwablepublic VisualStyleRenderer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic VisualStyleRenderer(java.lang.String className,
int part,
int state)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
KeyNotFoundException
public VisualStyleRenderer(VisualStyleElement element) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, KeyNotFoundException
public static VisualStyleRenderer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into VisualStyleRenderer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedVisualStyleRenderer instancejava.lang.Throwable - in case of error during cast operationpublic void DrawBackground(IDeviceContext dc, Rectangle bounds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException
public void DrawBackground(IDeviceContext dc, Rectangle bounds, Rectangle clipRectangle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException
public Rectangle DrawEdge(IDeviceContext dc, Rectangle bounds, Edges edges, EdgeStyle style, EdgeEffects effects) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException, InvalidEnumArgumentException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionFormatExceptionInvalidEnumArgumentExceptionKeyNotFoundExceptionpublic void DrawImage(Graphics g, Rectangle bounds, Image image) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException
public void DrawImage(Graphics g, Rectangle bounds, ImageList imageList, int imageIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OverflowException
public void DrawParentBackground(IDeviceContext dc, Rectangle bounds, Control childControl) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, InvalidCastException, Win32Exception, LockRecursionException, AbandonedMutexException, SynchronizationLockException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionInvalidCastExceptionWin32ExceptionLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic void DrawText(IDeviceContext dc, Rectangle bounds, java.lang.String textToDraw) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionpublic void DrawText(IDeviceContext dc, Rectangle bounds, java.lang.String textToDraw, boolean drawDisabled) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionKeyNotFoundExceptionpublic void DrawText(IDeviceContext dc, Rectangle bounds, java.lang.String textToDraw, boolean drawDisabled, TextFormatFlags flags) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException
public java.lang.String get_Class()
throws java.lang.Throwable
java.lang.Throwablepublic Rectangle GetBackgroundContentRectangle(IDeviceContext dc, Rectangle bounds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException
public Rectangle GetBackgroundExtent(IDeviceContext dc, Rectangle contentBounds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException
public Region GetBackgroundRegion(IDeviceContext dc, Rectangle bounds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException, FormatException
public boolean GetBoolean(BooleanProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, KeyNotFoundException
public Color GetColor(ColorProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, KeyNotFoundException, NotSupportedException
public int GetEnumValue(EnumProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, KeyNotFoundException
public java.lang.String GetFilename(FilenameProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, KeyNotFoundException, NotSupportedException
public Font GetFont(IDeviceContext dc, FontProperty prop) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionpublic int GetInteger(IntegerProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, KeyNotFoundException
public static boolean getIsSupported()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
KeyNotFoundException,
RankException,
ArrayTypeMismatchException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic int getLastHResult()
throws java.lang.Throwable
java.lang.Throwablepublic Padding GetMargins(IDeviceContext dc, MarginProperty prop) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionKeyNotFoundExceptionpublic int getPart()
throws java.lang.Throwable
java.lang.Throwablepublic Size GetPartSize(IDeviceContext dc, Rectangle bounds, ThemeSizeType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionKeyNotFoundExceptionpublic Size GetPartSize(IDeviceContext dc, ThemeSizeType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException, InvalidEnumArgumentException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionFormatExceptionInvalidEnumArgumentExceptionKeyNotFoundExceptionpublic Point GetPoint(PointProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, KeyNotFoundException
public int getState()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String GetString(StringProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, KeyNotFoundException, NotSupportedException
public Rectangle GetTextExtent(IDeviceContext dc, Rectangle bounds, java.lang.String textToDraw, TextFormatFlags flags) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException
public Rectangle GetTextExtent(IDeviceContext dc, java.lang.String textToDraw, TextFormatFlags flags) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException
public TextMetrics GetTextMetrics(IDeviceContext dc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException
public HitTestCode HitTestBackground(Graphics g, Rectangle backgroundRectangle, Region region, Point pt, HitTestOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException, KeyNotFoundException
public HitTestCode HitTestBackground(IDeviceContext dc, Rectangle backgroundRectangle, Point pt, HitTestOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException
public boolean IsBackgroundPartiallyTransparent()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
KeyNotFoundException
public static boolean IsElementDefined(VisualStyleElement element) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, KeyNotFoundException
public void set_Class(java.lang.String Class)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic void SetParameters(java.lang.String className,
int part,
int state)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
KeyNotFoundException
public void SetParameters(VisualStyleElement element) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException
public void setPart(int Part)
throws java.lang.Throwable
java.lang.Throwablepublic void setState(int State)
throws java.lang.Throwable
java.lang.Throwable