org.fopps.ui.config
Class ConfigurationTableListController

java.lang.Object
  |
  +--org.fopps.ui.TableListController
        |
        +--org.fopps.ui.config.ConfigurationTableListController
All Implemented Interfaces:
java.awt.event.ActionListener, ContainerSelectable, Controller, java.util.EventListener, java.awt.ItemSelectable, javax.swing.event.ListSelectionListener, ModelListener, javax.swing.event.TableModelListener

public class ConfigurationTableListController
extends TableListController
implements java.awt.event.ActionListener, ModelListener

ConfigurationTableListController is a specialized controller for the configuration view.


Field Summary
static java.lang.String EXPORT_CFG
           
static java.lang.String IMPORT_CFG
           
static java.lang.String REFRESH
           
 
Constructor Summary
ConfigurationTableListController(EnhancedTable pTable, EnhancedList pList)
          Creates a new ConfigurationTableListController
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 javax.swing.JPanel getContentPane()
          Returns the panel
protected  void initLayout()
           
 void itemDeselected(java.lang.Object pSelectedObject)
          Called if an item in the list was deselected.
 void itemSelected(java.lang.Object pSelectedObject, int pIndex)
          Called if an item in the list was selected.
 void modelChanged(ModelEvent ev)
          Invoked on model changes.
 void setContainer(ProjectContainer pContainer)
          Sets the container
 
Methods inherited from class org.fopps.ui.TableListController
addItemListener, getList, getSelectedObject, getSelectedObjects, getTable, getViews, notifyListeners, removeAllItemListener, removeItemListener, tableChanged, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REFRESH

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

EXPORT_CFG

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

IMPORT_CFG

public static final java.lang.String IMPORT_CFG
See Also:
Constant Field Values
Constructor Detail

ConfigurationTableListController

public ConfigurationTableListController(EnhancedTable pTable,
                                        EnhancedList pList)
Creates a new ConfigurationTableListController

See Also:
TableListController.TableListController(EnhancedTable,EnhancedList)
Method Detail

itemDeselected

public void itemDeselected(java.lang.Object pSelectedObject)
Called if an item in the list was deselected.

Specified by:
itemDeselected in class TableListController
Parameters:
pSelectedObject - Deselected item in list

itemSelected

public void itemSelected(java.lang.Object pSelectedObject,
                         int pIndex)
Called if an item in the list was selected. Please note, that the list model in this context only allows single selection.

Specified by:
itemSelected in class TableListController
Parameters:
pSelectedObject - Selected item in list
pIndex - Index of item.

setContainer

public void setContainer(ProjectContainer pContainer)
Description copied from interface: ContainerSelectable
Sets the container

Specified by:
setContainer in interface ContainerSelectable
Specified by:
setContainer in class TableListController
See Also:
ContainerSelectable.setContainer(ProjectContainer)

initLayout

protected void initLayout()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
See Also:
ActionListener.actionPerformed(ActionEvent)

modelChanged

public void modelChanged(ModelEvent ev)
Invoked on model changes.

Specified by:
modelChanged in interface ModelListener
Parameters:
ev - Model event
See Also:
ModelEvent

getContentPane

public javax.swing.JPanel getContentPane()
Returns the panel



Fopps 0.19 - Copyright © 2002 Oliver Wieland. All Rights Reserved.