home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 139 / dpcs0999.iso / Web / CFserver / data1.cab / Java / allaire / controls / CFGridFormColumn.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-04-12  |  1.1 KB  |  63 lines

  1. package allaire.controls;
  2.  
  3. import java.awt.Font;
  4.  
  5. class CFGridFormColumn {
  6.    public static final int TYPE_STRING = 0;
  7.    public static final int TYPE_NUMBER = 1;
  8.    public static final int TYPE_DATE = 2;
  9.    public static final int TYPE_TIME = 3;
  10.    public static final int TYPE_DATETIME = 4;
  11.    public static final int TYPE_IMAGE = 5;
  12.    String m_name;
  13.    String m_header;
  14.    String m_url;
  15.    String m_urlkey;
  16.    String m_urldestination;
  17.    String m_formatMask;
  18.    Font m_dataFont;
  19.    Font m_headerFont;
  20.    int m_dataWidth;
  21.    int m_dataAlign;
  22.    int m_headerAlign;
  23.    int m_formatType;
  24.    int m_dataType;
  25.    boolean m_sparse;
  26.    boolean m_visible;
  27.    boolean m_readonly;
  28.  
  29.    CFGridFormColumn() {
  30.       this.m_name = null;
  31.       this.m_header = null;
  32.       this.m_dataFont = null;
  33.       this.m_headerFont = null;
  34.       this.m_url = null;
  35.       this.m_urlkey = null;
  36.       this.m_urldestination = null;
  37.       this.m_formatMask = null;
  38.       this.m_dataAlign = -1;
  39.       this.m_headerAlign = -1;
  40.       this.m_dataWidth = -1;
  41.       this.m_visible = true;
  42.       this.m_readonly = false;
  43.       this.m_formatType = 0;
  44.    }
  45.  
  46.    CFGridFormColumn(String var1, String var2) {
  47.       this.m_name = var1;
  48.       this.m_header = var2;
  49.       this.m_dataFont = null;
  50.       this.m_headerFont = null;
  51.       this.m_url = null;
  52.       this.m_urlkey = null;
  53.       this.m_urldestination = null;
  54.       this.m_formatMask = null;
  55.       this.m_dataAlign = -1;
  56.       this.m_headerAlign = -1;
  57.       this.m_dataWidth = -1;
  58.       this.m_visible = true;
  59.       this.m_readonly = false;
  60.       this.m_formatType = 0;
  61.    }
  62. }
  63.