Class Utilities
public class Utilities : JVMBridgeBase<Utilities>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
Utilities
- Implements
- Inherited Members
- 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
args
object[]
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
arg0
Segmentarg1
floatarg2
floatarg3
Graphics2Darg4
TabExpanderarg5
int
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
arg0
Segmentarg1
FontMetricsarg2
floatarg3
floatarg4
TabExpanderarg5
int
Returns
GetNextWord(JTextComponent, int)
public static int GetNextWord(JTextComponent arg0, int arg1)
Parameters
arg0
JTextComponentarg1
int
Returns
Exceptions
GetParagraphElement(JTextComponent, int)
public static Element GetParagraphElement(JTextComponent arg0, int arg1)
Parameters
arg0
JTextComponentarg1
int
Returns
GetPositionAbove(JTextComponent, int, float)
public static int GetPositionAbove(JTextComponent arg0, int arg1, float arg2)
Parameters
arg0
JTextComponentarg1
intarg2
float
Returns
Exceptions
GetPositionBelow(JTextComponent, int, float)
public static int GetPositionBelow(JTextComponent arg0, int arg1, float arg2)
Parameters
arg0
JTextComponentarg1
intarg2
float
Returns
Exceptions
GetPreviousWord(JTextComponent, int)
public static int GetPreviousWord(JTextComponent arg0, int arg1)
Parameters
arg0
JTextComponentarg1
int
Returns
Exceptions
GetRowEnd(JTextComponent, int)
public static int GetRowEnd(JTextComponent arg0, int arg1)
Parameters
arg0
JTextComponentarg1
int
Returns
Exceptions
GetRowStart(JTextComponent, int)
public static int GetRowStart(JTextComponent arg0, int arg1)
Parameters
arg0
JTextComponentarg1
int
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
arg0
Segmentarg1
FontMetricsarg2
floatarg3
floatarg4
TabExpanderarg5
intarg6
bool
Returns
GetTabbedTextWidth(Segment, FontMetrics, float, TabExpander, int)
public static float GetTabbedTextWidth(Segment arg0, FontMetrics arg1, float arg2, TabExpander arg3, int arg4)
Parameters
arg0
Segmentarg1
FontMetricsarg2
floatarg3
TabExpanderarg4
int
Returns
GetWordEnd(JTextComponent, int)
public static int GetWordEnd(JTextComponent arg0, int arg1)
Parameters
arg0
JTextComponentarg1
int
Returns
Exceptions
GetWordStart(JTextComponent, int)
public static int GetWordStart(JTextComponent arg0, int arg1)
Parameters
arg0
JTextComponentarg1
int