public class DBWhereListCellBase extends DBSelectTableModelItem implements DBWhereIFace
Modifier and Type | Field and Description |
---|---|
protected int |
mDepth |
protected boolean |
mIsDragOver |
protected DBWhereOperator |
mParent |
protected java.awt.Rectangle |
mRect |
mCriteria, mDataType, mDisplayItem, mFlavors, mIsDisplayed, mName, mOper, mTableId, mTableName
Constructor and Description |
---|
DBWhereListCellBase(DBWhereOperator aParent)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
getBounds()
Returns the bounds
|
int |
getDepth()
Returns the depth
|
DBWhereOperator |
getParent()
Returns the parent
|
boolean |
isDragOver()
Returns if it is currently be dragged over
|
boolean |
isOperator()
Return if it is an operator
|
void |
setBounds(java.awt.Rectangle aRect)
Sets the bounds of the item
|
void |
setDepth(int aDepth)
Sets the depth
|
void |
setDragOver(boolean aVal)
Sets whether it is currently being dragged over
|
java.lang.String |
toString()
Returns the name as the textual rendering (the name)
|
java.lang.String |
toString(boolean aUseSymbols)
Returns string
|
addMissingValueCode, getCriteria, getDataType, getDisplayItem, getMissingValueCode, getName, getOperator, getTableId, getTableName, getTransferData, getTransferDataFlavors, isDataFlavorSupported, isDisplayed, setCriteria, setDataType, setDisplayed, setDisplayItem, setMissingValueCode, setName, setOperator, setTableId, setTableName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
protected DBWhereOperator mParent
protected java.awt.Rectangle mRect
protected int mDepth
protected boolean mIsDragOver
public DBWhereListCellBase(DBWhereOperator aParent)
aParent
- the parent objectpublic DBWhereOperator getParent()
getParent
in interface DBWhereIFace
public void setDepth(int aDepth)
setDepth
in interface DBWhereIFace
aDepth
- the new depthpublic int getDepth()
getDepth
in interface DBWhereIFace
public void setBounds(java.awt.Rectangle aRect)
setBounds
in interface DBWhereIFace
aRect
- the boundspublic java.awt.Rectangle getBounds()
getBounds
in interface DBWhereIFace
public boolean isOperator()
isOperator
in interface DBWhereIFace
public void setDragOver(boolean aVal)
setDragOver
in interface DBWhereIFace
aVal
- true if dragged over otherwise falsepublic boolean isDragOver()
isDragOver
in interface DBWhereIFace
public java.lang.String toString()
DBSelectTableModelItem
toString
in class DBSelectTableModelItem
public java.lang.String toString(boolean aUseSymbols)
DBWhereIFace
toString
in interface DBWhereIFace
aUseSymbols
- Generate string using symbols instead of text for conditions
etc.