Class Utilities
public class Utilities : JVMBridgeBase<Utilities>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
Utilities
- Implements
- Inherited Members
-
JVMBridgeBase.ReferenceEqualsJVM(JVMBridgeBase, JVMBridgeBase)JVMBridgeBase.Equals(IJVMBridgeBase)
- Extension Methods
Constructors
Utilities()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Utilities()
Utilities(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public Utilities(params object[] args)
Parameters
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
DrawTabbedText(Segment, float, float, Graphics2D, TabExpander, int)
public static float DrawTabbedText(Segment arg0, float arg1, float arg2, Graphics2D arg3, TabExpander arg4, int arg5)
Parameters
arg0Segmentarg1floatarg2floatarg3Graphics2Darg4TabExpanderarg5int
Returns
GetBreakLocation(Segment, FontMetrics, float, float, TabExpander, int)
public static int GetBreakLocation(Segment arg0, FontMetrics arg1, float arg2, float arg3, TabExpander arg4, int arg5)
Parameters
arg0Segmentarg1FontMetricsarg2floatarg3floatarg4TabExpanderarg5int
Returns
GetNextWord(JTextComponent, int)
public static int GetNextWord(JTextComponent arg0, int arg1)
Parameters
arg0JTextComponentarg1int
Returns
Exceptions
GetParagraphElement(JTextComponent, int)
public static Element GetParagraphElement(JTextComponent arg0, int arg1)
Parameters
arg0JTextComponentarg1int
Returns
GetPositionAbove(JTextComponent, int, float)
public static int GetPositionAbove(JTextComponent arg0, int arg1, float arg2)
Parameters
arg0JTextComponentarg1intarg2float
Returns
Exceptions
GetPositionBelow(JTextComponent, int, float)
public static int GetPositionBelow(JTextComponent arg0, int arg1, float arg2)
Parameters
arg0JTextComponentarg1intarg2float
Returns
Exceptions
GetPreviousWord(JTextComponent, int)
public static int GetPreviousWord(JTextComponent arg0, int arg1)
Parameters
arg0JTextComponentarg1int
Returns
Exceptions
GetRowEnd(JTextComponent, int)
public static int GetRowEnd(JTextComponent arg0, int arg1)
Parameters
arg0JTextComponentarg1int
Returns
Exceptions
GetRowStart(JTextComponent, int)
public static int GetRowStart(JTextComponent arg0, int arg1)
Parameters
arg0JTextComponentarg1int
Returns
Exceptions
GetTabbedTextOffset(Segment, FontMetrics, float, float, TabExpander, int, bool)
public static int GetTabbedTextOffset(Segment arg0, FontMetrics arg1, float arg2, float arg3, TabExpander arg4, int arg5, bool arg6)
Parameters
arg0Segmentarg1FontMetricsarg2floatarg3floatarg4TabExpanderarg5intarg6bool
Returns
GetTabbedTextWidth(Segment, FontMetrics, float, TabExpander, int)
public static float GetTabbedTextWidth(Segment arg0, FontMetrics arg1, float arg2, TabExpander arg3, int arg4)
Parameters
arg0Segmentarg1FontMetricsarg2floatarg3TabExpanderarg4int
Returns
GetWordEnd(JTextComponent, int)
public static int GetWordEnd(JTextComponent arg0, int arg1)
Parameters
arg0JTextComponentarg1int
Returns
Exceptions
GetWordStart(JTextComponent, int)
public static int GetWordStart(JTextComponent arg0, int arg1)
Parameters
arg0JTextComponentarg1int