All Packages This Package Class Hierarchy Class Search Index
Class grendel.widgets.ColumnModelImp
java.lang.Object | +----grendel.widgets.ColumnModelImp
public class ColumnModelImp
extends java.lang.Object
implements grendel.widgets.ColumnModel,
grendel.widgets.ColumnChangeListener
{
// Fields 4
Vector fColumns;
ColumnModelListener fListeners;
int fMargin;
Column fSelectedColumn;
// Constructors 1
public ColumnModelImp();
// Methods 21
public void addColumn(Column);
public void addColumnAt(Column, int);
public synchronized void addColumnModelListener(ColumnModelListener);
public void columnWidthChanged(ChangeEvent);
public Column getColumn(int);
public Column getColumn(Object);
private Column getColumn(String);
public int getColumnCount();
public int getColumnIndex(Column);
public int getColumnIndexAtX(int);
public int getColumnMargin();
public Enumeration getColumns();
public synchronized String getPrefString();
public Column getSelectedColumn();
public int getTotalColumnWidth();
public void moveColumn(int, int);
public void removeColumn(Column);
public synchronized void removeColumnModelListener(ColumnModelListener);
public void setColumnMargin(int);
public synchronized void setPrefString(String);
public void setSelectedColumn(Column);
}
Fields
fColumns
Vector fColumns
fListeners
ColumnModelListener fListeners
fMargin
int fMargin
fSelectedColumn
Column fSelectedColumn
Constructors
ColumnModelImp
public ColumnModelImp()
Default constructor
Methods
addColumn
public void addColumn(Column aColumn)
- Implements:
- addColumn in interface ColumnModel
addColumnAt
public void addColumnAt(Column aColumn, int aIndex)
- Implements:
- addColumnAt in interface ColumnModel
removeColumn
public void removeColumn(Column aColumn)
- Implements:
- removeColumn in interface ColumnModel
moveColumn
public void moveColumn(int aSource,
int aDest)
- Implements:
- moveColumn in interface ColumnModel
getColumnCount
public int getColumnCount()
- Implements:
- getColumnCount in interface ColumnModel
getColumn
public Column getColumn(int aIndex)
- Implements:
- getColumn in interface ColumnModel
getColumn
public Column getColumn(Object aID)
- Implements:
- getColumn in interface ColumnModel
getColumn
private Column getColumn(String aID)
getColumns
public Enumeration getColumns()
- Implements:
- getColumns in interface ColumnModel
getColumnIndex
public int getColumnIndex(Column aColumn)
- Implements:
- getColumnIndex in interface ColumnModel
getColumnIndexAtX
public int getColumnIndexAtX(int aX)
- Implements:
- getColumnIndexAtX in interface ColumnModel
setColumnMargin
public void setColumnMargin(int aMargin)
- Implements:
- setColumnMargin in interface ColumnModel
getColumnMargin
public int getColumnMargin()
- Implements:
- getColumnMargin in interface ColumnModel
getTotalColumnWidth
public int getTotalColumnWidth()
- Implements:
- getTotalColumnWidth in interface ColumnModel
setSelectedColumn
public void setSelectedColumn(Column aColumn)
- Implements:
- setSelectedColumn in interface ColumnModel
getSelectedColumn
public Column getSelectedColumn()
- Implements:
- getSelectedColumn in interface ColumnModel
getPrefString
public synchronized String getPrefString()
- Implements:
- getPrefString in interface ColumnModel
setPrefString
public synchronized void setPrefString(String aString)
- Implements:
- setPrefString in interface ColumnModel
addColumnModelListener
public synchronized void addColumnModelListener(ColumnModelListener aListener)
- Implements:
- addColumnModelListener in interface ColumnModel
removeColumnModelListener
public synchronized void removeColumnModelListener(ColumnModelListener aListener)
- Implements:
- removeColumnModelListener in interface ColumnModel
columnWidthChanged
public void columnWidthChanged(ChangeEvent aEvent)
- Implements:
- columnWidthChanged in interface ColumnChangeListener
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4