public class FontDialog extends CommonDialog
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.FontDialog
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.FontDialog
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FontDialog()
Initializes a new instance by invoking the .NET constructor.
|
FontDialog(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addApply(EventHandler handler)
Invokes the .NET member addApply.
|
static FontDialog |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FontDialog, a cast assert is made to check if types are compatible. |
boolean |
getAllowScriptChange()
Gets the value of the .NET property AllowScriptChange.
|
boolean |
getAllowSimulations()
Gets the value of the .NET property AllowSimulations.
|
boolean |
getAllowVectorFonts()
Gets the value of the .NET property AllowVectorFonts.
|
boolean |
getAllowVerticalFonts()
Gets the value of the .NET property AllowVerticalFonts.
|
Color |
getColor()
Gets the value of the .NET property Color.
|
boolean |
getFixedPitchOnly()
Gets the value of the .NET property FixedPitchOnly.
|
Font |
getFont()
Gets the value of the .NET property Font.
|
boolean |
getFontMustExist()
Gets the value of the .NET property FontMustExist.
|
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 |
getMaxSize()
Gets the value of the .NET property MaxSize.
|
int |
getMinSize()
Gets the value of the .NET property MinSize.
|
boolean |
getScriptsOnly()
Gets the value of the .NET property ScriptsOnly.
|
boolean |
getShowApply()
Gets the value of the .NET property ShowApply.
|
boolean |
getShowColor()
Gets the value of the .NET property ShowColor.
|
boolean |
getShowEffects()
Gets the value of the .NET property ShowEffects.
|
boolean |
getShowHelp()
Gets the value of the .NET property ShowHelp.
|
void |
removeApply(EventHandler handler)
Invokes the .NET member removeApply.
|
void |
Reset()
Invokes the .NET member Reset.
|
void |
setAllowScriptChange(boolean AllowScriptChange)
Sets the value of the .NET property AllowScriptChange.
|
void |
setAllowSimulations(boolean AllowSimulations)
Sets the value of the .NET property AllowSimulations.
|
void |
setAllowVectorFonts(boolean AllowVectorFonts)
Sets the value of the .NET property AllowVectorFonts.
|
void |
setAllowVerticalFonts(boolean AllowVerticalFonts)
Sets the value of the .NET property AllowVerticalFonts.
|
void |
setColor(Color Color)
Sets the value of the .NET property Color.
|
void |
setFixedPitchOnly(boolean FixedPitchOnly)
Sets the value of the .NET property FixedPitchOnly.
|
void |
setFont(Font Font)
Sets the value of the .NET property Font.
|
void |
setFontMustExist(boolean FontMustExist)
Sets the value of the .NET property FontMustExist.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMaxSize(int MaxSize)
Sets the value of the .NET property MaxSize.
|
void |
setMinSize(int MinSize)
Sets the value of the .NET property MinSize.
|
void |
setScriptsOnly(boolean ScriptsOnly)
Sets the value of the .NET property ScriptsOnly.
|
void |
setShowApply(boolean ShowApply)
Sets the value of the .NET property ShowApply.
|
void |
setShowColor(boolean ShowColor)
Sets the value of the .NET property ShowColor.
|
void |
setShowEffects(boolean ShowEffects)
Sets the value of the .NET property ShowEffects.
|
void |
setShowHelp(boolean ShowHelp)
Sets the value of the .NET property ShowHelp.
|
addHelpRequest, getTag, removeHelpRequest, setTag, ShowDialog, ShowDialogaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FontDialog()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic FontDialog(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 void addApply(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static FontDialog cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FontDialog, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFontDialog instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAllowScriptChange()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowSimulations()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowVectorFonts()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowVerticalFonts()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Color getColor() throws java.lang.Throwable, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean getFixedPitchOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Font getFont() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic boolean getFontMustExist()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CommonDialogpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CommonDialogpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CommonDialognull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CommonDialogpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class CommonDialogpublic int getMaxSize()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getMinSize()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getScriptsOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowApply()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowColor()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowEffects()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowHelp()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeApply(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Reset()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException
Reset in class CommonDialogjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void setAllowScriptChange(boolean AllowScriptChange)
throws java.lang.Throwable
AllowScriptChange - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowSimulations(boolean AllowSimulations)
throws java.lang.Throwable
AllowSimulations - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowVectorFonts(boolean AllowVectorFonts)
throws java.lang.Throwable
AllowVectorFonts - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowVerticalFonts(boolean AllowVerticalFonts)
throws java.lang.Throwable
AllowVerticalFonts - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setColor(Color Color) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException
Color - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void setFixedPitchOnly(boolean FixedPitchOnly)
throws java.lang.Throwable
FixedPitchOnly - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFont(Font Font) throws java.lang.Throwable
Font - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFontMustExist(boolean FontMustExist)
throws java.lang.Throwable
FontMustExist - 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 CommonDialoginstance - the new underlying objectpublic void setMaxSize(int MaxSize)
throws java.lang.Throwable
MaxSize - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setMinSize(int MinSize)
throws java.lang.Throwable
MinSize - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setScriptsOnly(boolean ScriptsOnly)
throws java.lang.Throwable
ScriptsOnly - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowApply(boolean ShowApply)
throws java.lang.Throwable
ShowApply - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowColor(boolean ShowColor)
throws java.lang.Throwable
ShowColor - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowEffects(boolean ShowEffects)
throws java.lang.Throwable
ShowEffects - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowHelp(boolean ShowHelp)
throws java.lang.Throwable
ShowHelp - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR