gov.nih.nlm.swing
Interface SwingConstants

All Known Implementing Classes:
SwingToolkit

public interface SwingConstants

Contains constants used by SwingToolkit.

Author:
MEME Group

Field Summary
static Border EMPTY_BORDER
          Use this to create a 15 pixel padding around a GUI component.
static Border EMPTY_BORDER_NO_TOP
          Use this to create a 15 bixel padding around a GUI component except for the top which will have no padding.
static Insets EMPTY_INSETS
          Use this if you want components to have empty insets.
static Insets GRID_INSETS
          When using GridBagLayout, this should be the default insets setting around the components in the layout.
static Border HAS_POPUP_BORDER
          Fields in GUI applications which have popup menus should use this border.
static Border IS_REQUIRED_BORDER
          Fields in GUI applications which are required should use this border.
static String VIEW
          Name of the property indicating whether or not user interaction will take place in GUI windows or on the command line.
 

Field Detail

HAS_POPUP_BORDER

public static final Border HAS_POPUP_BORDER
Fields in GUI applications which have popup menus should use this border.


IS_REQUIRED_BORDER

public static final Border IS_REQUIRED_BORDER
Fields in GUI applications which are required should use this border.


EMPTY_BORDER

public static final Border EMPTY_BORDER
Use this to create a 15 pixel padding around a GUI component.


EMPTY_BORDER_NO_TOP

public static final Border EMPTY_BORDER_NO_TOP
Use this to create a 15 bixel padding around a GUI component except for the top which will have no padding.


GRID_INSETS

public static final Insets GRID_INSETS
When using GridBagLayout, this should be the default insets setting around the components in the layout.


EMPTY_INSETS

public static final Insets EMPTY_INSETS
Use this if you want components to have empty insets.


VIEW

public static final String VIEW
Name of the property indicating whether or not user interaction will take place in GUI windows or on the command line.

See Also:
SwingToolkit.usingView(), Constant Field Values


Copyright ©2005