/[classpath]/classpath/javax/swing/table/TableColumnModel.java
ViewVC logotype

Diff of /classpath/javax/swing/table/TableColumnModel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mkoch, Sun Oct 12 16:48:34 2003 UTC revision 1.4 by mark, Thu Jul 22 19:45:39 2004 UTC
# Line 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38  package javax.swing.table;  package javax.swing.table;
39    
 // Imports  
40  import java.util.Enumeration;  import java.util.Enumeration;
41  import javax.swing.ListSelectionModel;  import javax.swing.ListSelectionModel;
42  import javax.swing.event.TableColumnModelListener;  import javax.swing.event.TableColumnModelListener;
43    
44    
45  /**  /**
46   * TableColumnModel public interface   * TableColumnModel public interface
47   * @author Andrew Selkirk   * @author Andrew Selkirk
48   */   */
49  public interface TableColumnModel {  public interface TableColumnModel
50    {
51          /**          /**
52           * addColumn           * addColumn
53           * @param column TableColumn           * @param column TableColumn
# Line 75  public interface TableColumnModel { Line 75  public interface TableColumnModel {
75    
76          /**          /**
77           * getColumnCount           * getColumnCount
78           * @returns Column count     * @return Column count
79           */           */
80          int getColumnCount();          int getColumnCount();
81    
82          /**          /**
83           * getColumns           * getColumns
84           * @returns Enumeration of columns     * @return Enumeration of columns
85           */           */
86          Enumeration getColumns();          Enumeration getColumns();
87    
# Line 99  public interface TableColumnModel { Line 99  public interface TableColumnModel {
99    
100          /**          /**
101           * getColumnMargin           * getColumnMargin
102           * @returns Column margin     * @return Column margin
103           */           */
104          int getColumnMargin();          int getColumnMargin();
105    
106          /**          /**
107           * getColumnIndexAtX           * getColumnIndexAtX
108           * @returns Column index as position x     * @return Column index as position x
109           */           */
110          int getColumnIndexAtX(int xPosition);          int getColumnIndexAtX(int xPosition);
111    
112          /**          /**
113           * getTotalColumnWidth           * getTotalColumnWidth
114           * @returns Total column width     * @return Total column width
115           */           */
116          int getTotalColumnWidth();          int getTotalColumnWidth();
117    
# Line 123  public interface TableColumnModel { Line 123  public interface TableColumnModel {
123    
124          /**          /**
125           * getColumnSelectionAllowed           * getColumnSelectionAllowed
126           * @returns true if column selection allowed, false otherwise     * @return true if column selection allowed, false otherwise
127           */           */
128          boolean getColumnSelectionAllowed();          boolean getColumnSelectionAllowed();
129    
130          /**          /**
131           * getSelectedColumns           * getSelectedColumns
132           * @returns Selected columns     * @return Selected columns
133           */           */
134          int[] getSelectedColumns();          int[] getSelectedColumns();
135    
136          /**          /**
137           * getSelectedColumnCount           * getSelectedColumnCount
138           * @returns Count of selected columns     * @return Count of selected columns
139           */           */
140          int getSelectedColumnCount();          int getSelectedColumnCount();
141    
# Line 162  public interface TableColumnModel { Line 162  public interface TableColumnModel {
162           * @param listener TableColumnModelListener           * @param listener TableColumnModelListener
163           */           */
164          void removeColumnModelListener(TableColumnModelListener listener);          void removeColumnModelListener(TableColumnModelListener listener);
165    }
   
 } // TableColumnModel  

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26