freemind.modes.attributes
Class AttributeTableLayoutModel

java.lang.Object
  extended by freemind.modes.attributes.AttributeTableLayoutModel

public class AttributeTableLayoutModel
extends java.lang.Object

Author:
Dimitri Polivaev 24.07.2005

Field Summary
static int DEFAULT_COLUMN_WIDTH
           
static java.lang.String HIDE_ALL
           
static java.lang.String SHOW_ALL
           
static java.lang.String SHOW_SELECTED
           
 
Constructor Summary
AttributeTableLayoutModel()
           
 
Method Summary
 void addColumnWidthChangeListener(ColumnWidthChangeListener l)
           
protected  void fireColumnWidthChanged(int col)
           
 int getColumnWidth(int col)
           
 void removeColumnWidthChangeListener(ColumnWidthChangeListener l)
           
 void setColumnWidth(int col, int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHOW_SELECTED

public static final java.lang.String SHOW_SELECTED
See Also:
Constant Field Values

SHOW_ALL

public static final java.lang.String SHOW_ALL
See Also:
Constant Field Values

HIDE_ALL

public static final java.lang.String HIDE_ALL
See Also:
Constant Field Values

DEFAULT_COLUMN_WIDTH

public static final int DEFAULT_COLUMN_WIDTH
See Also:
Constant Field Values
Constructor Detail

AttributeTableLayoutModel

public AttributeTableLayoutModel()
Method Detail

getColumnWidth

public int getColumnWidth(int col)

setColumnWidth

public void setColumnWidth(int col,
                           int width)

addColumnWidthChangeListener

public void addColumnWidthChangeListener(ColumnWidthChangeListener l)

removeColumnWidthChangeListener

public void removeColumnWidthChangeListener(ColumnWidthChangeListener l)

fireColumnWidthChanged

protected void fireColumnWidthChanged(int col)