Class SwingUtilities
public class SwingUtilities : SwingConstants, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISwingConstants
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<SwingConstants>SwingUtilities
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<SwingConstants>.IsAssignableFrom(IJavaType)JVMBridgeBase<SwingConstants>.IsAssignableFrom<T>()JVMBridgeBase<SwingConstants>.Execute<T>(params T[])JVMBridgeBase<SwingConstants>.DynBridgeClazzJVMBridgeBase<SwingConstants>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
SwingUtilities()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public SwingUtilities()
SwingUtilities(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 SwingUtilities(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
CalculateInnerArea(JComponent, Rectangle)
public static Rectangle CalculateInnerArea(JComponent arg0, Rectangle arg1)
Parameters
arg0
JComponentarg1
Rectangle
Returns
ComputeDifference(Rectangle, Rectangle)
public static Rectangle[] ComputeDifference(Rectangle arg0, Rectangle arg1)
Parameters
Returns
ComputeIntersection(int, int, int, int, Rectangle)
public static Rectangle ComputeIntersection(int arg0, int arg1, int arg2, int arg3, Rectangle arg4)
Parameters
Returns
ComputeStringWidth(FontMetrics, String)
public static int ComputeStringWidth(FontMetrics arg0, String arg1)
Parameters
arg0
FontMetricsarg1
String
Returns
ComputeUnion(int, int, int, int, Rectangle)
public static Rectangle ComputeUnion(int arg0, int arg1, int arg2, int arg3, Rectangle arg4)
Parameters
Returns
ConvertMouseEvent(Component, MouseEvent, Component)
public static MouseEvent ConvertMouseEvent(Component arg0, MouseEvent arg1, Component arg2)
Parameters
arg0
Componentarg1
MouseEventarg2
Component
Returns
ConvertPoint(Component, Point, Component)
public static Point ConvertPoint(Component arg0, Point arg1, Component arg2)
Parameters
Returns
ConvertPoint(Component, int, int, Component)
public static Point ConvertPoint(Component arg0, int arg1, int arg2, Component arg3)
Parameters
Returns
ConvertPointFromScreen(Point, Component)
public static void ConvertPointFromScreen(Point arg0, Component arg1)
Parameters
ConvertPointToScreen(Point, Component)
public static void ConvertPointToScreen(Point arg0, Component arg1)
Parameters
ConvertRectangle(Component, Rectangle, Component)
public static Rectangle ConvertRectangle(Component arg0, Rectangle arg1, Component arg2)
Parameters
Returns
GetAccessibleAt(Component, Point)
public static Accessible GetAccessibleAt(Component arg0, Point arg1)
Parameters
Returns
GetAccessibleChild(Component, int)
public static Accessible GetAccessibleChild(Component arg0, int arg1)
Parameters
Returns
GetAccessibleChildrenCount(Component)
public static int GetAccessibleChildrenCount(Component arg0)
Parameters
Returns
GetAccessibleIndexInParent(Component)
public static int GetAccessibleIndexInParent(Component arg0)
Parameters
Returns
GetAccessibleStateSet(Component)
public static AccessibleStateSet GetAccessibleStateSet(Component arg0)
Parameters
Returns
GetAncestorNamed(String, Component)
public static Container GetAncestorNamed(String arg0, Component arg1)
Parameters
Returns
GetAncestorOfClass(Class, Component)
public static Container GetAncestorOfClass(Class arg0, Component arg1)
Parameters
Returns
GetDeepestComponentAt(Component, int, int)
public static Component GetDeepestComponentAt(Component arg0, int arg1, int arg2)
Parameters
Returns
GetLocalBounds(Component)
public static Rectangle GetLocalBounds(Component arg0)
Parameters
Returns
GetRoot(Component)
public static Component GetRoot(Component arg0)
Parameters
Returns
GetRootPane(Component)
public static JRootPane GetRootPane(Component arg0)
Parameters
Returns
GetUIActionMap(JComponent)
public static ActionMap GetUIActionMap(JComponent arg0)
Parameters
arg0
JComponent
Returns
GetUIInputMap(JComponent, int)
public static InputMap GetUIInputMap(JComponent arg0, int arg1)
Parameters
arg0
JComponentarg1
int
Returns
GetUnwrappedParent(Component)
public static Container GetUnwrappedParent(Component arg0)
Parameters
Returns
GetUnwrappedView(JViewport)
public static Component GetUnwrappedView(JViewport arg0)
Parameters
Returns
GetWindowAncestor(Component)
public static Window GetWindowAncestor(Component arg0)
Parameters
Returns
InvokeAndWait(Runnable)
public static void InvokeAndWait(Runnable arg0)
Parameters
Exceptions
InvokeLater(Runnable)
public static void InvokeLater(Runnable arg0)
Parameters
IsDescendingFrom(Component, Component)
public static bool IsDescendingFrom(Component arg0, Component arg1)
Parameters
Returns
IsEventDispatchThread()
public static bool IsEventDispatchThread()
Returns
IsLeftMouseButton(MouseEvent)
public static bool IsLeftMouseButton(MouseEvent arg0)
Parameters
arg0
MouseEvent
Returns
IsMiddleMouseButton(MouseEvent)
public static bool IsMiddleMouseButton(MouseEvent arg0)
Parameters
arg0
MouseEvent
Returns
IsRectangleContainingRectangle(Rectangle, Rectangle)
public static bool IsRectangleContainingRectangle(Rectangle arg0, Rectangle arg1)
Parameters
Returns
IsRightMouseButton(MouseEvent)
public static bool IsRightMouseButton(MouseEvent arg0)
Parameters
arg0
MouseEvent
Returns
LayoutCompoundLabel(FontMetrics, String, Icon, int, int, int, int, Rectangle, Rectangle, Rectangle, int)
public static String LayoutCompoundLabel(FontMetrics arg0, String arg1, Icon arg2, int arg3, int arg4, int arg5, int arg6, Rectangle arg7, Rectangle arg8, Rectangle arg9, int arg10)
Parameters
arg0
FontMetricsarg1
Stringarg2
Iconarg3
intarg4
intarg5
intarg6
intarg7
Rectanglearg8
Rectanglearg9
Rectanglearg10
int
Returns
LayoutCompoundLabel(JComponent, FontMetrics, String, Icon, int, int, int, int, Rectangle, Rectangle, Rectangle, int)
public static String LayoutCompoundLabel(JComponent arg0, FontMetrics arg1, String arg2, Icon arg3, int arg4, int arg5, int arg6, int arg7, Rectangle arg8, Rectangle arg9, Rectangle arg10, int arg11)
Parameters
arg0
JComponentarg1
FontMetricsarg2
Stringarg3
Iconarg4
intarg5
intarg6
intarg7
intarg8
Rectanglearg9
Rectanglearg10
Rectanglearg11
int
Returns
NotifyAction(Action, KeyStroke, KeyEvent, object, int)
public static bool NotifyAction(Action arg0, KeyStroke arg1, KeyEvent arg2, object arg3, int arg4)
Parameters
Returns
PaintComponent(Graphics, Component, Container, Rectangle)
public static void PaintComponent(Graphics arg0, Component arg1, Container arg2, Rectangle arg3)
Parameters
PaintComponent(Graphics, Component, Container, int, int, int, int)
public static void PaintComponent(Graphics arg0, Component arg1, Container arg2, int arg3, int arg4, int arg5, int arg6)
Parameters
ProcessKeyBindings(KeyEvent)
public static bool ProcessKeyBindings(KeyEvent arg0)
Parameters
Returns
ReplaceUIActionMap(JComponent, ActionMap)
public static void ReplaceUIActionMap(JComponent arg0, ActionMap arg1)
Parameters
arg0
JComponentarg1
ActionMap
ReplaceUIInputMap(JComponent, int, InputMap)
public static void ReplaceUIInputMap(JComponent arg0, int arg1, InputMap arg2)
Parameters
arg0
JComponentarg1
intarg2
InputMap
UpdateComponentTreeUI(Component)
public static void UpdateComponentTreeUI(Component arg0)
Parameters
WindowForComponent(Component)
public static Window WindowForComponent(Component arg0)