001    package org.shiftone.jrat.desktop.util;
002    
003    /**
004     * @author (jeff@shiftone.org) Jeff Drost
005     */
006    public class ColumnInfo {
007    
008        private String title;
009        private Class type = Object.class;
010        private boolean defaultVisible;
011    
012    
013        public ColumnInfo(String title, boolean defaultVisible) {
014            this.title = title;
015            this.defaultVisible = defaultVisible;
016        }
017    
018    
019        public ColumnInfo(String title) {
020            this.title = title;
021            this.defaultVisible = true;
022        }
023    
024        public String getTitle() {
025            return title;
026        }
027    
028        public boolean isDefaultVisible() {
029            return defaultVisible;
030        }
031    
032        public Class getType() {
033            return type;
034        }
035    }