ca.sqlpower.wabit
Class WabitTableContainer
java.lang.Object
ca.sqlpower.wabit.AbstractWabitObject
ca.sqlpower.wabit.WabitContainer<WabitColumnItem>
ca.sqlpower.wabit.WabitTableContainer
- All Implemented Interfaces:
- WabitObject
public class WabitTableContainer
- extends WabitContainer<WabitColumnItem>
This class distinguishes a WabitContainer as more specifically containing a
TableContainer.
| Methods inherited from class ca.sqlpower.wabit.WabitContainer |
allowsChildren, childPositionOffset, cleanup, getAlias, getChildren, getDelegate, getDependencies, getPosition, removeDependency, setAlias, setPosition |
| Methods inherited from class ca.sqlpower.wabit.AbstractWabitObject |
addChild, addWabitListener, begin, beginTransaction, commit, commitTransaction, equals, fireChildAdded, fireChildRemoved, firePropertyChange, firePropertyChange, firePropertyChange, fireTransactionEnded, fireTransactionRollback, fireTransactionStarted, generateNewUUID, getChildren, getName, getParent, getSession, getUUID, isForegroundThread, removeChild, removeWabitListener, rollback, rollbackTransaction, runInBackground, runInForeground, setName, setParent, setUUID, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WabitTableContainer
public WabitTableContainer(ca.sqlpower.query.Container delegate)
WabitTableContainer
public WabitTableContainer(ca.sqlpower.query.Container delegate,
boolean createItemWrappers)
createWabitItemChild
protected WabitColumnItem createWabitItemChild(ca.sqlpower.query.Item item)
- Description copied from class:
WabitContainer
- Creates a child of the type this class contains
- Specified by:
createWabitItemChild in class WabitContainer<WabitColumnItem>
- Parameters:
item - The item to wrap in a WabitItem.
- Returns:
- A new WabitItem that is the correct sub-type for this class.
getChildClass
protected java.lang.Class<WabitColumnItem> getChildClass()
- Description copied from class:
WabitContainer
- Returns the class type of the children this container contains.
- Specified by:
getChildClass in class WabitContainer<WabitColumnItem>
addChildImpl
protected void addChildImpl(WabitObject child,
int index)
- Description copied from class:
AbstractWabitObject
- This is the object specific implementation of
#addChild(WabitObject). There are checks in the
#addChild(WabitObject) method to ensure that the object given
here is a valid child type of this object.
This method should be overwritten if children are allowed.
- Overrides:
addChildImpl in class WabitContainer<WabitColumnItem>
- Parameters:
child - The child to add to this object.index - The index to add the child at.
removeChildImpl
protected boolean removeChildImpl(WabitObject child)
- Description copied from class:
AbstractWabitObject
- This is the object specific implementation of removeChild. There are
checks in the removeChild method to ensure the child being removed has no
dependencies and is a child of this object.
- Overrides:
removeChildImpl in class WabitContainer<WabitColumnItem>
- See Also:
AbstractWabitObject.removeChild(WabitObject)
Copyright © 2009. All Rights Reserved.