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