com.u2d.list
Class SimpleListEO

java.lang.Object
  extended by com.u2d.model.AbstractEObject
      extended by com.u2d.model.AbstractListEO
          extended by com.u2d.list.SimpleListEO
All Implemented Interfaces:
ChangeNotifier, EObject, Typed, Viewable, ListChangeNotifier, AppEventListener, ValidationNotifier, java.io.Serializable, javax.swing.ListModel
Direct Known Subclasses:
CompositeList, PlainListEObject, RelationalList

public class SimpleListEO
extends AbstractListEO

Author:
Eitan Suez
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.u2d.model.AbstractListEO
AbstractListEO.LEOTableModel
 
Field Summary
protected  java.lang.Class _clazz
           
protected  ComplexType _itemType
           
 
Fields inherited from class com.u2d.model.AbstractListEO
_commands, _items, _listDataListenerList, _tableModel, commandOrder
 
Fields inherited from class com.u2d.model.AbstractEObject
_listenerList, _postListeners, _validationEvent, _validationListenerList, changeEvent
 
Constructor Summary
SimpleListEO()
           
SimpleListEO(java.lang.Class clazz)
           
SimpleListEO(java.lang.Class clazz, java.util.List items)
           
SimpleListEO(ComplexType itemType)
           
SimpleListEO(ComplexType type, java.util.List items)
           
 
Method Summary
 ListEView getAlternateView()
           
 ListEView getListView()
           
 ListEView getListViewAsIcons()
           
 ListEView getListViewAsTree()
           
 EView getMainView()
           
 int getSize()
           
 ListEView getTableView()
           
 ListEView getToolbarView(java.lang.String name)
           
 int getTotal()
           
 EView getView()
           
 boolean isEmpty()
           
 EObject makeCopy()
           
 ComplexType type()
           
 
Methods inherited from class com.u2d.model.AbstractListEO
add, addDeleteListeners, addListDataListener, command, commandPrint, commands, concat, contains, equals, ExportToCSV, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, first, getElementAt, getItems, getPickView, hashCode, iconLg, iconSm, isInContext, isPickState, iterator, jibxAdd, last, onEvent, Open, pick, remove, removeDeleteListeners, removeListDataListener, restoreItems, setItems, setPickState, setPickState, setValue, tableModel, tableModel, tableModel, title, toString, updateListeners, validate
 
Methods inherited from class com.u2d.model.AbstractEObject
addChangeListener, addPostChangeListener, addValidationListener, currentUser, field, fireStateChanged, fireValidationException, fireValidationException, hbmPersistor, parentObject, persistor, removeChangeListener, removePostChangeListener, removeValidationListener, setField, vmech
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_itemType

protected ComplexType _itemType

_clazz

protected java.lang.Class _clazz
Constructor Detail

SimpleListEO

public SimpleListEO()

SimpleListEO

public SimpleListEO(java.lang.Class clazz)

SimpleListEO

public SimpleListEO(java.lang.Class clazz,
                    java.util.List items)

SimpleListEO

public SimpleListEO(ComplexType itemType)

SimpleListEO

public SimpleListEO(ComplexType type,
                    java.util.List items)
Method Detail

type

public ComplexType type()
Specified by:
type in interface Typed
Specified by:
type in class AbstractListEO

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface EObject
Specified by:
isEmpty in class AbstractListEO

getSize

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

getTotal

public int getTotal()
Specified by:
getTotal in class AbstractListEO

makeCopy

public EObject makeCopy()
Specified by:
makeCopy in interface EObject
Specified by:
makeCopy in class AbstractEObject

getView

public EView getView()
Specified by:
getView in interface Viewable
Specified by:
getView in class AbstractEObject

getMainView

public EView getMainView()

getListView

public ListEView getListView()

getListViewAsIcons

public ListEView getListViewAsIcons()

getToolbarView

public ListEView getToolbarView(java.lang.String name)

getListViewAsTree

public ListEView getListViewAsTree()

getTableView

public ListEView getTableView()

getAlternateView

public ListEView getAlternateView()