1 /************************************************************************* 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * 4 * Copyright 2000, 2010 Oracle and/or its affiliates. 5 * 6 * OpenOffice.org - a multi-platform office productivity suite 7 * 8 * This file is part of OpenOffice.org. 9 * 10 * OpenOffice.org is free software: you can redistribute it and/or modify 11 * it under the terms of the GNU Lesser General Public License version 3 12 * only, as published by the Free Software Foundation. 13 * 14 * OpenOffice.org is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU Lesser General Public License version 3 for more details 18 * (a copy is included in the LICENSE file that accompanied this code). 19 * 20 * You should have received a copy of the GNU Lesser General Public License 21 * version 3 along with OpenOffice.org. If not, see 22 * <http://www.openoffice.org/license.html> 23 * for a copy of the LGPLv3 License. 24 * 25 *************************************************************************/ 26 27 package complex.toolkit.awtgrid; 28 29 import com.sun.star.awt.grid.XGridColumn; 30 import com.sun.star.awt.grid.XGridColumnListener; 31 import com.sun.star.lang.IllegalArgumentException; 32 import com.sun.star.lang.XEventListener; 33 import com.sun.star.style.HorizontalAlignment; 34 import com.sun.star.util.XCloneable; 35 36 /** 37 * a dummy implementation of css.awt.grid.XGridColumn 38 * @author frank.schoenheit@oracle.com 39 */ 40 public class DummyColumn implements XGridColumn 41 { 42 public DummyColumn() 43 { 44 } 45 46 public Object getIdentifier() 47 { 48 throw new UnsupportedOperationException( "Not supported yet." ); 49 } 50 51 public void setIdentifier( Object o ) 52 { 53 throw new UnsupportedOperationException( "Not supported yet." ); 54 } 55 56 public int getColumnWidth() 57 { 58 throw new UnsupportedOperationException( "Not supported yet." ); 59 } 60 61 public void setColumnWidth( int i ) 62 { 63 throw new UnsupportedOperationException( "Not supported yet." ); 64 } 65 66 public int getMinWidth() 67 { 68 throw new UnsupportedOperationException( "Not supported yet." ); 69 } 70 71 public void setMinWidth( int i ) 72 { 73 throw new UnsupportedOperationException( "Not supported yet." ); 74 } 75 76 public int getMaxWidth() 77 { 78 throw new UnsupportedOperationException( "Not supported yet." ); 79 } 80 81 public void setMaxWidth( int i ) 82 { 83 throw new UnsupportedOperationException( "Not supported yet." ); 84 } 85 86 public boolean getResizeable() 87 { 88 throw new UnsupportedOperationException( "Not supported yet." ); 89 } 90 91 public void setResizeable( boolean bln ) 92 { 93 throw new UnsupportedOperationException( "Not supported yet." ); 94 } 95 96 public int getFlexibility() 97 { 98 throw new UnsupportedOperationException( "Not supported yet." ); 99 } 100 101 public void setFlexibility( int i ) throws IllegalArgumentException 102 { 103 throw new UnsupportedOperationException( "Not supported yet." ); 104 } 105 106 public HorizontalAlignment getHorizontalAlign() 107 { 108 throw new UnsupportedOperationException( "Not supported yet." ); 109 } 110 111 public void setHorizontalAlign( HorizontalAlignment ha ) 112 { 113 throw new UnsupportedOperationException( "Not supported yet." ); 114 } 115 116 public String getTitle() 117 { 118 throw new UnsupportedOperationException( "Not supported yet." ); 119 } 120 121 public void setTitle( String string ) 122 { 123 throw new UnsupportedOperationException( "Not supported yet." ); 124 } 125 126 public String getHelpText() 127 { 128 throw new UnsupportedOperationException( "Not supported yet." ); 129 } 130 131 public void setHelpText( String string ) 132 { 133 throw new UnsupportedOperationException( "Not supported yet." ); 134 } 135 136 public int getIndex() 137 { 138 throw new UnsupportedOperationException( "Not supported yet." ); 139 } 140 141 public int getDataColumnIndex() 142 { 143 throw new UnsupportedOperationException( "Not supported yet." ); 144 } 145 146 public void setDataColumnIndex( int i ) 147 { 148 throw new UnsupportedOperationException( "Not supported yet." ); 149 } 150 151 public void addGridColumnListener( XGridColumnListener xl ) 152 { 153 throw new UnsupportedOperationException( "Not supported yet." ); 154 } 155 156 public void removeGridColumnListener( XGridColumnListener xl ) 157 { 158 throw new UnsupportedOperationException( "Not supported yet." ); 159 } 160 161 public void dispose() 162 { 163 throw new UnsupportedOperationException( "Not supported yet." ); 164 } 165 166 public void addEventListener( XEventListener xl ) 167 { 168 throw new UnsupportedOperationException( "Not supported yet." ); 169 } 170 171 public void removeEventListener( XEventListener xl ) 172 { 173 throw new UnsupportedOperationException( "Not supported yet." ); 174 } 175 176 public XCloneable createClone() 177 { 178 throw new UnsupportedOperationException( "Not supported yet." ); 179 } 180 } 181