ca.sqlpower.wabit.swingui.enterprise
Class GroupsListModel

java.lang.Object
  extended by ca.sqlpower.wabit.swingui.enterprise.GroupsListModel
All Implemented Interfaces:
ca.sqlpower.object.SPListener, java.beans.PropertyChangeListener, java.util.EventListener, javax.swing.ListModel

public class GroupsListModel
extends java.lang.Object
implements javax.swing.ListModel, ca.sqlpower.object.SPListener


Constructor Summary
GroupsListModel(ca.sqlpower.enterprise.client.User user, WabitWorkspace workspace, boolean currentMode)
           
 
Method Summary
 void addListDataListener(javax.swing.event.ListDataListener l)
           
 void childAdded(ca.sqlpower.object.SPChildEvent e)
           
 void childRemoved(ca.sqlpower.object.SPChildEvent e)
           
 java.lang.Object getElementAt(int index)
           
 int getSize()
           
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 void removeListDataListener(javax.swing.event.ListDataListener l)
           
 void transactionEnded(ca.sqlpower.util.TransactionEvent e)
           
 void transactionRollback(ca.sqlpower.util.TransactionEvent e)
           
 void transactionStarted(ca.sqlpower.util.TransactionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupsListModel

public GroupsListModel(ca.sqlpower.enterprise.client.User user,
                       WabitWorkspace workspace,
                       boolean currentMode)
Method Detail

addListDataListener

public void addListDataListener(javax.swing.event.ListDataListener l)
Specified by:
addListDataListener in interface javax.swing.ListModel

removeListDataListener

public void removeListDataListener(javax.swing.event.ListDataListener l)
Specified by:
removeListDataListener in interface javax.swing.ListModel

getElementAt

public java.lang.Object getElementAt(int index)
Specified by:
getElementAt in interface javax.swing.ListModel

getSize

public int getSize()
Specified by:
getSize in interface javax.swing.ListModel

transactionEnded

public void transactionEnded(ca.sqlpower.util.TransactionEvent e)
Specified by:
transactionEnded in interface ca.sqlpower.object.SPListener

transactionRollback

public void transactionRollback(ca.sqlpower.util.TransactionEvent e)
Specified by:
transactionRollback in interface ca.sqlpower.object.SPListener

transactionStarted

public void transactionStarted(ca.sqlpower.util.TransactionEvent e)
Specified by:
transactionStarted in interface ca.sqlpower.object.SPListener

childAdded

public void childAdded(ca.sqlpower.object.SPChildEvent e)
Specified by:
childAdded in interface ca.sqlpower.object.SPListener

childRemoved

public void childRemoved(ca.sqlpower.object.SPChildEvent e)
Specified by:
childRemoved in interface ca.sqlpower.object.SPListener

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener


Copyright © 2009. All Rights Reserved.