1    package com.instantbank.common.uiutils;
2    
3    import java.awt.Insets;
4    import java.awt.Dimension;
5    import javax.swing.border.EmptyBorder;
6    
7    /**
8     *  Some useful constants for gui embellishment.
9     *
10    * @author Instant-bank (Rodrigo Lopez)
11    * @created August 2002
12    */
13   public interface MiscDecoration {
14   
15     /**
16      *  Border with right space for small components
17      */
18     public static final EmptyBorder rBorder = new EmptyBorder(new Insets(0, 0, 0, 10));
19     /**
20      *  Border with left and right space for small components.
21      */
22     public static final EmptyBorder lrBorder = new EmptyBorder(new Insets(0, 20, 0, 10));
23     /**
24      *  Border with top and down space for small components
25      */
26     public static final EmptyBorder tdBorder = new EmptyBorder(new Insets(10, 0, 10, 0));
27     /**
28      *  Border with down space for small components.
29      */
30     public static final EmptyBorder dBorder = new EmptyBorder(new Insets(0, 0, 10, 0));
31   
32     /**
33      *  Dimension for short fields.
34      */
35     public static final Dimension shortField = new Dimension(40, 20);
36     /**
37      *  Dimension for long fields
38      */
39     public static final Dimension longField = new Dimension(100, 20);
40   }
41   
42