org.gudy.azureus2.ui.swt.views.columnsetup
Class TableColumnSetupWindow

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.views.columnsetup.TableColumnSetupWindow
All Implemented Interfaces:
UIUpdatable

public class TableColumnSetupWindow
extends Object
implements UIUpdatable

Author:
TuxPaper

Field Summary
protected  boolean apply
           
protected  boolean doReset
           
 
Constructor Summary
TableColumnSetupWindow(Class<?> forDataSourceType, String _tableID, TableRow sampleRow, TableStructureModificationListener<?> _listener)
           
 
Method Summary
protected  void alignChosen(int align)
           
protected  void apply()
           
 void chooseColumn(TableColumnCore column)
           
 void chooseColumn(TableColumnCore column, TableRowCore placeAboveRow, boolean ignoreExisting)
           
protected  void fillAvail()
           
 TableRow getSampleRow()
           
 String getUpdateUIName()
          A name for this UIUpdatable so we can track who's being bad
 boolean isColumnAdded(TableColumnCore column)
           
protected  void moveChosenDown()
           
protected  void moveChosenUp()
           
 void open()
           
protected  void removeSelectedChosen()
           
 void updateUI()
          Update your UI!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

apply

protected boolean apply

doReset

protected boolean doReset
Constructor Detail

TableColumnSetupWindow

public TableColumnSetupWindow(Class<?> forDataSourceType,
                              String _tableID,
                              TableRow sampleRow,
                              TableStructureModificationListener<?> _listener)
Method Detail

fillAvail

protected void fillAvail()
Since:
4.0.0.5

removeSelectedChosen

protected void removeSelectedChosen()
Since:
4.0.0.5

moveChosenDown

protected void moveChosenDown()
Since:
4.0.0.5

moveChosenUp

protected void moveChosenUp()
Since:
4.0.0.5

alignChosen

protected void alignChosen(int align)

apply

protected void apply()
Since:
4.0.0.5

open

public void open()

getUpdateUIName

public String getUpdateUIName()
Description copied from interface: UIUpdatable
A name for this UIUpdatable so we can track who's being bad

Specified by:
getUpdateUIName in interface UIUpdatable
Returns:
some name

updateUI

public void updateUI()
Description copied from interface: UIUpdatable
Update your UI!

Specified by:
updateUI in interface UIUpdatable

getSampleRow

public TableRow getSampleRow()

chooseColumn

public void chooseColumn(TableColumnCore column)

isColumnAdded

public boolean isColumnAdded(TableColumnCore column)

chooseColumn

public void chooseColumn(TableColumnCore column,
                         TableRowCore placeAboveRow,
                         boolean ignoreExisting)
Parameters:
column -
Since:
4.0.0.5