1*1b0aaa91SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*1b0aaa91SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*1b0aaa91SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*1b0aaa91SAndrew Rist * distributed with this work for additional information 6*1b0aaa91SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*1b0aaa91SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*1b0aaa91SAndrew Rist * "License"); you may not use this file except in compliance 9*1b0aaa91SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*1b0aaa91SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*1b0aaa91SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*1b0aaa91SAndrew Rist * software distributed under the License is distributed on an 15*1b0aaa91SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*1b0aaa91SAndrew Rist * KIND, either express or implied. See the License for the 17*1b0aaa91SAndrew Rist * specific language governing permissions and limitations 18*1b0aaa91SAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*1b0aaa91SAndrew Rist *************************************************************/ 21*1b0aaa91SAndrew Rist 22*1b0aaa91SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir package complex.toolkit.awtgrid; 25cdf0e10cSrcweir 26cdf0e10cSrcweir import com.sun.star.awt.grid.XGridColumn; 27cdf0e10cSrcweir import com.sun.star.awt.grid.XGridColumnListener; 28cdf0e10cSrcweir import com.sun.star.lang.IllegalArgumentException; 29cdf0e10cSrcweir import com.sun.star.lang.XEventListener; 30cdf0e10cSrcweir import com.sun.star.style.HorizontalAlignment; 31cdf0e10cSrcweir import com.sun.star.util.XCloneable; 32cdf0e10cSrcweir 33cdf0e10cSrcweir /** 34cdf0e10cSrcweir * a dummy implementation of css.awt.grid.XGridColumn 35cdf0e10cSrcweir * @author frank.schoenheit@oracle.com 36cdf0e10cSrcweir */ 37cdf0e10cSrcweir public class DummyColumn implements XGridColumn 38cdf0e10cSrcweir { DummyColumn()39cdf0e10cSrcweir public DummyColumn() 40cdf0e10cSrcweir { 41cdf0e10cSrcweir } 42cdf0e10cSrcweir getIdentifier()43cdf0e10cSrcweir public Object getIdentifier() 44cdf0e10cSrcweir { 45cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 46cdf0e10cSrcweir } 47cdf0e10cSrcweir setIdentifier( Object o )48cdf0e10cSrcweir public void setIdentifier( Object o ) 49cdf0e10cSrcweir { 50cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 51cdf0e10cSrcweir } 52cdf0e10cSrcweir getColumnWidth()53cdf0e10cSrcweir public int getColumnWidth() 54cdf0e10cSrcweir { 55cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 56cdf0e10cSrcweir } 57cdf0e10cSrcweir setColumnWidth( int i )58cdf0e10cSrcweir public void setColumnWidth( int i ) 59cdf0e10cSrcweir { 60cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 61cdf0e10cSrcweir } 62cdf0e10cSrcweir getMinWidth()63cdf0e10cSrcweir public int getMinWidth() 64cdf0e10cSrcweir { 65cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 66cdf0e10cSrcweir } 67cdf0e10cSrcweir setMinWidth( int i )68cdf0e10cSrcweir public void setMinWidth( int i ) 69cdf0e10cSrcweir { 70cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 71cdf0e10cSrcweir } 72cdf0e10cSrcweir getMaxWidth()73cdf0e10cSrcweir public int getMaxWidth() 74cdf0e10cSrcweir { 75cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 76cdf0e10cSrcweir } 77cdf0e10cSrcweir setMaxWidth( int i )78cdf0e10cSrcweir public void setMaxWidth( int i ) 79cdf0e10cSrcweir { 80cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 81cdf0e10cSrcweir } 82cdf0e10cSrcweir getResizeable()83cdf0e10cSrcweir public boolean getResizeable() 84cdf0e10cSrcweir { 85cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 86cdf0e10cSrcweir } 87cdf0e10cSrcweir setResizeable( boolean bln )88cdf0e10cSrcweir public void setResizeable( boolean bln ) 89cdf0e10cSrcweir { 90cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 91cdf0e10cSrcweir } 92cdf0e10cSrcweir getFlexibility()93cdf0e10cSrcweir public int getFlexibility() 94cdf0e10cSrcweir { 95cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 96cdf0e10cSrcweir } 97cdf0e10cSrcweir setFlexibility( int i )98cdf0e10cSrcweir public void setFlexibility( int i ) throws IllegalArgumentException 99cdf0e10cSrcweir { 100cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 101cdf0e10cSrcweir } 102cdf0e10cSrcweir getHorizontalAlign()103cdf0e10cSrcweir public HorizontalAlignment getHorizontalAlign() 104cdf0e10cSrcweir { 105cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 106cdf0e10cSrcweir } 107cdf0e10cSrcweir setHorizontalAlign( HorizontalAlignment ha )108cdf0e10cSrcweir public void setHorizontalAlign( HorizontalAlignment ha ) 109cdf0e10cSrcweir { 110cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 111cdf0e10cSrcweir } 112cdf0e10cSrcweir getTitle()113cdf0e10cSrcweir public String getTitle() 114cdf0e10cSrcweir { 115cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 116cdf0e10cSrcweir } 117cdf0e10cSrcweir setTitle( String string )118cdf0e10cSrcweir public void setTitle( String string ) 119cdf0e10cSrcweir { 120cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 121cdf0e10cSrcweir } 122cdf0e10cSrcweir getHelpText()123cdf0e10cSrcweir public String getHelpText() 124cdf0e10cSrcweir { 125cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 126cdf0e10cSrcweir } 127cdf0e10cSrcweir setHelpText( String string )128cdf0e10cSrcweir public void setHelpText( String string ) 129cdf0e10cSrcweir { 130cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 131cdf0e10cSrcweir } 132cdf0e10cSrcweir getIndex()133cdf0e10cSrcweir public int getIndex() 134cdf0e10cSrcweir { 135cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 136cdf0e10cSrcweir } 137cdf0e10cSrcweir getDataColumnIndex()138cdf0e10cSrcweir public int getDataColumnIndex() 139cdf0e10cSrcweir { 140cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 141cdf0e10cSrcweir } 142cdf0e10cSrcweir setDataColumnIndex( int i )143cdf0e10cSrcweir public void setDataColumnIndex( int i ) 144cdf0e10cSrcweir { 145cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 146cdf0e10cSrcweir } 147cdf0e10cSrcweir addGridColumnListener( XGridColumnListener xl )148cdf0e10cSrcweir public void addGridColumnListener( XGridColumnListener xl ) 149cdf0e10cSrcweir { 150cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 151cdf0e10cSrcweir } 152cdf0e10cSrcweir removeGridColumnListener( XGridColumnListener xl )153cdf0e10cSrcweir public void removeGridColumnListener( XGridColumnListener xl ) 154cdf0e10cSrcweir { 155cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 156cdf0e10cSrcweir } 157cdf0e10cSrcweir dispose()158cdf0e10cSrcweir public void dispose() 159cdf0e10cSrcweir { 160cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 161cdf0e10cSrcweir } 162cdf0e10cSrcweir addEventListener( XEventListener xl )163cdf0e10cSrcweir public void addEventListener( XEventListener xl ) 164cdf0e10cSrcweir { 165cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 166cdf0e10cSrcweir } 167cdf0e10cSrcweir removeEventListener( XEventListener xl )168cdf0e10cSrcweir public void removeEventListener( XEventListener xl ) 169cdf0e10cSrcweir { 170cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 171cdf0e10cSrcweir } 172cdf0e10cSrcweir createClone()173cdf0e10cSrcweir public XCloneable createClone() 174cdf0e10cSrcweir { 175cdf0e10cSrcweir throw new UnsupportedOperationException( "Not supported yet." ); 176cdf0e10cSrcweir } 177cdf0e10cSrcweir } 178