Documentation of 'tig.swing.SwingUtils' Java class
SwingUtils
tig.swing

Class SwingUtils



  • public abstract class SwingUtils
    extends java.lang.Object
    Class containing useful static methods and constants for Swing development.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int LAF_KUNSTSTOFF
      Constant to designate the Kunststoff look and feel (coming from http://www.incors.org/).
      static int LAF_MACINTOSH
      Constant to designate the Macintosh look and feel.
      static int LAF_METAL
      Constant to designate the Metal (cross platform) look and feel.
      static int LAF_MOTIF
      Constant to designate the Motif look and feel.
      static int LAF_SYSTEM
      Constant to designate the default look and feel of the system.
      static int LAF_WINDOWS
      Constant to designate the Windows look and feel.
    • Constructor Summary

      Constructors 
      Constructor and Description
      SwingUtils() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void setLookAndFeel(int laf)
      Sets the look and feel.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LAF_SYSTEM

        public static final int LAF_SYSTEM
        Constant to designate the default look and feel of the system.
        See Also:
        Constant Field Values
      • LAF_MACINTOSH

        public static final int LAF_MACINTOSH
        Constant to designate the Macintosh look and feel.
        See Also:
        Constant Field Values
      • LAF_METAL

        public static final int LAF_METAL
        Constant to designate the Metal (cross platform) look and feel.
        See Also:
        Constant Field Values
      • LAF_MOTIF

        public static final int LAF_MOTIF
        Constant to designate the Motif look and feel.
        See Also:
        Constant Field Values
      • LAF_WINDOWS

        public static final int LAF_WINDOWS
        Constant to designate the Windows look and feel.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SwingUtils

        public SwingUtils()
    • Method Detail

      • setLookAndFeel

        public static void setLookAndFeel(int laf)
                                   throws java.lang.Exception
        Sets the look and feel.
        Parameters:
        laf - The desired look and feel, using LAF_XXX constants of this class.
        Throws:
        java.lang.Exception - If not possible

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.