Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module : java.desktop - Package : javax.swing
Version documentée : Java SE 17

Classe « SwingUtilities »

Informations générales

Héritage

java.lang.Object
    javax.swing.SwingUtilities

Définition

public class SwingUtilities extends java.lang.Object
implements javax.swing.SwingConstants

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription

Liste des constructeurs

Constructeurs Constructeurs dépréciés
ConstructeurDescription

Liste des propriétés (getters/setters)

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
public static boolean eventDispatchThread R/-

Propriétés héritées de la classe java.lang.Object

class

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes concrètes Méthodes abstraites Méthodes dépréciées
QualificateursType de retourPrototype de la méthodeDescription
public static Rectangle calculateInnerArea( JComponent c, Rectangle r )
public static Rectangle[] computeDifference( Rectangle rectA, Rectangle rectB )
public static Rectangle computeIntersection( int x, int y, int width, int height, Rectangle dest )
public static int computeStringWidth( FontMetrics fm, String str )
public static Rectangle computeUnion( int x, int y, int width, int height, Rectangle dest )
public static MouseEvent convertMouseEvent( Component source, MouseEvent sourceEvent, Component destination )
public static Point convertPoint( Component source, Point aPoint, Component destination )
public static Point convertPoint( Component source, int x, int y, Component destination )
public static void convertPointFromScreen( Point p, Component c )
public static void convertPointToScreen( Point p, Component c )
public static Rectangle convertRectangle( Component source, Rectangle aRectangle, Component destination )
public static Component findFocusOwner( Component c )
public static Accessible getAccessibleAt( Component c, Point p )
public static Accessible getAccessibleChild( Component c, int i )
public static int getAccessibleChildrenCount( Component c )
public static int getAccessibleIndexInParent( Component c )
public static AccessibleStateSet getAccessibleStateSet( Component c )
public static Container getAncestorNamed( String name, Component comp )
public static Container getAncestorOfClass( Class<?> c, Component comp )
public static Component getDeepestComponentAt( Component parent, int x, int y )
public static Rectangle getLocalBounds( Component aComponent )
public static Component getRoot( Component c )
public static JRootPane getRootPane( Component c )
public static ActionMap getUIActionMap( JComponent component )
public static InputMap getUIInputMap( JComponent component, int condition )
public static Container getUnwrappedParent( Component component )
public static Component getUnwrappedView( JViewport viewport )
public static Window getWindowAncestor( Component c )
public static void invokeAndWait( Runnable doRun )
public static void invokeLater( Runnable doRun )
public static boolean isDescendingFrom( Component a, Component b )
public static boolean isEventDispatchThread()
public static boolean isLeftMouseButton( MouseEvent anEvent )
public static boolean isMiddleMouseButton( MouseEvent anEvent )
public static boolean isRectangleContainingRectangle( Rectangle a, Rectangle b )
public static boolean isRightMouseButton( MouseEvent anEvent )
public static String layoutCompoundLabel( FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap )
public static String layoutCompoundLabel( JComponent c, FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap )
public static boolean notifyAction( Action action, KeyStroke ks, KeyEvent event, Object sender, int modifiers )
public static void paintComponent( Graphics g, Component c, Container p, int x, int y, int w, int h )
public static void paintComponent( Graphics g, Component c, Container p, Rectangle r )
public static boolean processKeyBindings( KeyEvent event )
public static void replaceUIActionMap( JComponent component, ActionMap uiActionMap )
public static void replaceUIInputMap( JComponent component, int type, InputMap uiInputMap )
public static void updateComponentTreeUI( Component c )
public static Window windowForComponent( Component c )

Méthodes héritées de la classe java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait