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=8.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 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)
Initializes a new instance by invoking the .NET constructor.
|
VisualStyleRenderer(VisualStyleElement element)
Initializes a new instance by invoking the .NET constructor.
|
| 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)
Invokes the .NET member DrawBackground.
|
void |
DrawBackground(IDeviceContext dc,
Rectangle bounds,
Rectangle clipRectangle)
Invokes the .NET member DrawBackground.
|
Rectangle |
DrawEdge(IDeviceContext dc,
Rectangle bounds,
Edges edges,
EdgeStyle style,
EdgeEffects effects)
Invokes the .NET member DrawEdge.
|
void |
DrawImage(Graphics g,
Rectangle bounds,
Image image)
Invokes the .NET member DrawImage.
|
void |
DrawImage(Graphics g,
Rectangle bounds,
ImageList imageList,
int imageIndex)
Invokes the .NET member DrawImage.
|
void |
DrawParentBackground(IDeviceContext dc,
Rectangle bounds,
Control childControl)
Invokes the .NET member DrawParentBackground.
|
void |
DrawText(IDeviceContext dc,
Rectangle bounds,
java.lang.String textToDraw)
Invokes the .NET member DrawText.
|
void |
DrawText(IDeviceContext dc,
Rectangle bounds,
java.lang.String textToDraw,
boolean drawDisabled)
Invokes the .NET member DrawText.
|
void |
DrawText(IDeviceContext dc,
Rectangle bounds,
java.lang.String textToDraw,
boolean drawDisabled,
TextFormatFlags flags)
Invokes the .NET member DrawText.
|
java.lang.String |
get_Class()
Gets the value of the .NET property _Class.
|
Rectangle |
GetBackgroundContentRectangle(IDeviceContext dc,
Rectangle bounds)
Invokes the .NET member GetBackgroundContentRectangle.
|
Rectangle |
GetBackgroundExtent(IDeviceContext dc,
Rectangle contentBounds)
Invokes the .NET member GetBackgroundExtent.
|
Region |
GetBackgroundRegion(IDeviceContext dc,
Rectangle bounds)
Invokes the .NET member GetBackgroundRegion.
|
boolean |
GetBoolean(BooleanProperty prop)
Invokes the .NET member GetBoolean.
|
Color |
GetColor(ColorProperty prop)
Invokes the .NET member GetColor.
|
int |
GetEnumValue(EnumProperty prop)
Invokes the .NET member GetEnumValue.
|
java.lang.String |
GetFilename(FilenameProperty prop)
Invokes the .NET member GetFilename.
|
Font |
GetFont(IDeviceContext dc,
FontProperty prop)
Invokes the .NET member GetFont.
|
int |
GetInteger(IntegerProperty prop)
Invokes the .NET member GetInteger.
|
static boolean |
getIsSupported()
Gets the value of the .NET property IsSupported.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
getLastHResult()
Gets the value of the .NET property LastHResult.
|
Padding |
GetMargins(IDeviceContext dc,
MarginProperty prop)
Invokes the .NET member GetMargins.
|
int |
getPart()
Gets the value of the .NET property Part.
|
Size |
GetPartSize(IDeviceContext dc,
Rectangle bounds,
ThemeSizeType type)
Invokes the .NET member GetPartSize.
|
Size |
GetPartSize(IDeviceContext dc,
ThemeSizeType type)
Invokes the .NET member GetPartSize.
|
Point |
GetPoint(PointProperty prop)
Invokes the .NET member GetPoint.
|
int |
getState()
Gets the value of the .NET property State.
|
java.lang.String |
GetString(StringProperty prop)
Invokes the .NET member GetString.
|
Rectangle |
GetTextExtent(IDeviceContext dc,
Rectangle bounds,
java.lang.String textToDraw,
TextFormatFlags flags)
Invokes the .NET member GetTextExtent.
|
Rectangle |
GetTextExtent(IDeviceContext dc,
java.lang.String textToDraw,
TextFormatFlags flags)
Invokes the .NET member GetTextExtent.
|
TextMetrics |
GetTextMetrics(IDeviceContext dc)
Invokes the .NET member GetTextMetrics.
|
HitTestCode |
HitTestBackground(Graphics g,
Rectangle backgroundRectangle,
Region region,
Point pt,
HitTestOptions options)
Invokes the .NET member HitTestBackground.
|
HitTestCode |
HitTestBackground(IDeviceContext dc,
Rectangle backgroundRectangle,
Point pt,
HitTestOptions options)
Invokes the .NET member HitTestBackground.
|
boolean |
IsBackgroundPartiallyTransparent()
Invokes the .NET member IsBackgroundPartiallyTransparent.
|
static boolean |
IsElementDefined(VisualStyleElement element)
Invokes the .NET member IsElementDefined.
|
void |
set_Class(java.lang.String Class)
Sets the value of the .NET property _Class.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetParameters(java.lang.String className,
int part,
int state)
Invokes the .NET member SetParameters.
|
void |
SetParameters(VisualStyleElement element)
Invokes the .NET member SetParameters.
|
void |
setPart(int Part)
Sets the value of the .NET property Part.
|
void |
setState(int State)
Sets the value of the .NET property State.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public VisualStyleRenderer()
throws java.lang.Throwable
java.lang.Throwablepublic VisualStyleRenderer(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic VisualStyleRenderer(java.lang.String className,
int part,
int state)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
KeyNotFoundException
className - the argument of type java.lang.Stringpart - the argument of type intstate - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic VisualStyleRenderer(VisualStyleElement element) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, KeyNotFoundException
element - the argument of type VisualStyleElementjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic 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, IndexOutOfRangeException, FormatException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextbounds - the argument of type Rectanglejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic void DrawBackground(IDeviceContext dc, Rectangle bounds, Rectangle clipRectangle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextbounds - the argument of type RectangleclipRectangle - the argument of type Rectanglejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic 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, IndexOutOfRangeException, FormatException, Win32Exception, InvalidEnumArgumentException, KeyNotFoundException
dc - the argument of type IDeviceContextbounds - the argument of type Rectangleedges - the argument of type Edgesstyle - the argument of type EdgeStyleeffects - the argument of type EdgeEffectsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic void DrawImage(Graphics g, Rectangle bounds, Image image) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException
g - the argument of type Graphicsbounds - the argument of type Rectangleimage - the argument of type Imagejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itpublic 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
g - the argument of type Graphicsbounds - the argument of type RectangleimageList - the argument of type ImageListimageIndex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void DrawParentBackground(IDeviceContext dc, Rectangle bounds, Control childControl) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, OutOfMemoryException
dc - the argument of type IDeviceContextbounds - the argument of type RectanglechildControl - the argument of type Controljava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void DrawText(IDeviceContext dc, Rectangle bounds, java.lang.String textToDraw) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, Win32Exception
dc - the argument of type IDeviceContextbounds - the argument of type RectangletextToDraw - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic void DrawText(IDeviceContext dc, Rectangle bounds, java.lang.String textToDraw, boolean drawDisabled) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextbounds - the argument of type RectangletextToDraw - the argument of type java.lang.StringdrawDisabled - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic 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, IndexOutOfRangeException, FormatException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextbounds - the argument of type RectangletextToDraw - the argument of type java.lang.StringdrawDisabled - the argument of type booleanflags - the argument of type TextFormatFlagsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic java.lang.String get_Class()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Rectangle GetBackgroundContentRectangle(IDeviceContext dc, Rectangle bounds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextbounds - the argument of type Rectanglejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Rectangle GetBackgroundExtent(IDeviceContext dc, Rectangle contentBounds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextcontentBounds - the argument of type Rectanglejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Region GetBackgroundRegion(IDeviceContext dc, Rectangle bounds) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextbounds - the argument of type Rectanglejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic boolean GetBoolean(BooleanProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, KeyNotFoundException
prop - the argument of type BooleanPropertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Color GetColor(ColorProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, KeyNotFoundException, NotSupportedException
prop - the argument of type ColorPropertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic int GetEnumValue(EnumProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, KeyNotFoundException
prop - the argument of type EnumPropertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic java.lang.String GetFilename(FilenameProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, KeyNotFoundException
prop - the argument of type FilenamePropertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Font GetFont(IDeviceContext dc, FontProperty prop) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException
dc - the argument of type IDeviceContextprop - the argument of type FontPropertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic int GetInteger(IntegerProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, KeyNotFoundException
prop - the argument of type IntegerPropertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static boolean getIsSupported()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentNullException,
KeyNotFoundException,
RankException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic int getLastHResult()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Padding GetMargins(IDeviceContext dc, MarginProperty prop) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextprop - the argument of type MarginPropertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic int getPart()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Size GetPartSize(IDeviceContext dc, Rectangle bounds, ThemeSizeType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextbounds - the argument of type Rectangletype - the argument of type ThemeSizeTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Size GetPartSize(IDeviceContext dc, ThemeSizeType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, InvalidEnumArgumentException, KeyNotFoundException
dc - the argument of type IDeviceContexttype - the argument of type ThemeSizeTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Point GetPoint(PointProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, KeyNotFoundException
prop - the argument of type PointPropertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic int getState()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetString(StringProperty prop) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, KeyNotFoundException
prop - the argument of type StringPropertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic 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, IndexOutOfRangeException, FormatException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextbounds - the argument of type RectangletextToDraw - the argument of type java.lang.Stringflags - the argument of type TextFormatFlagsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic Rectangle GetTextExtent(IDeviceContext dc, java.lang.String textToDraw, TextFormatFlags flags) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContexttextToDraw - the argument of type java.lang.Stringflags - the argument of type TextFormatFlagsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic TextMetrics GetTextMetrics(IDeviceContext dc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic 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, IndexOutOfRangeException, FormatException, Win32Exception, KeyNotFoundException
g - the argument of type GraphicsbackgroundRectangle - the argument of type Rectangleregion - the argument of type Regionpt - the argument of type Pointoptions - the argument of type HitTestOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic HitTestCode HitTestBackground(IDeviceContext dc, Rectangle backgroundRectangle, Point pt, HitTestOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception, KeyNotFoundException
dc - the argument of type IDeviceContextbackgroundRectangle - the argument of type Rectanglept - the argument of type Pointoptions - the argument of type HitTestOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic boolean IsBackgroundPartiallyTransparent()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
KeyNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic static boolean IsElementDefined(VisualStyleElement element) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, KeyNotFoundException
element - the argument of type VisualStyleElementjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic void set_Class(java.lang.String Class)
throws java.lang.Throwable
Class - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void SetParameters(java.lang.String className,
int part,
int state)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
KeyNotFoundException
className - the argument of type java.lang.Stringpart - the argument of type intstate - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic void SetParameters(VisualStyleElement element) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException
element - the argument of type VisualStyleElementjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic void setPart(int Part)
throws java.lang.Throwable
Part - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setState(int State)
throws java.lang.Throwable
State - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR