Isis Developer Reference
Isis::AbstractNullDataItem Class Referenceabstract

Base class for an item without data. More...

#include <AbstractNullDataItem.h>

Inheritance diagram for Isis::AbstractNullDataItem:
Inheritance graph
Collaboration diagram for Isis::AbstractNullDataItem:
Collaboration graph

Public Types

enum  InternalPointerType { None , Point , Measure , ImageAndNet }
 

Public Member Functions

 AbstractNullDataItem (AbstractTreeItem *parent=0)
 
virtual ~AbstractNullDataItem ()
 
virtual QVariant getData () const
 
virtual QVariant getData (QString columnTitle) const
 
virtual void setData (QString const &columnTitle, QString const &newData)
 
virtual bool isDataEditable (QString columnTitle) const
 
virtual void deleteSource ()
 
virtual InternalPointerType getPointerType () const
 
virtual void * getPointer () const
 
virtual bool operator< (AbstractTreeItem const &other) const
 
AbstractTreeItemparent () const
 
void setParent (AbstractTreeItem *newParent)
 
int row () const
 
virtual void addChild (AbstractTreeItem *child)=0
 
virtual QList< AbstractTreeItem * > getChildren () const =0
 
virtual AbstractTreeItemchildAt (int row) const =0
 
virtual int childCount () const =0
 
virtual AbstractTreeItemgetFirstVisibleChild () const =0
 
virtual AbstractTreeItemgetLastVisibleChild () const =0
 
virtual int indexOf (AbstractTreeItem *child) const =0
 
virtual void setFirstVisibleChild (AbstractTreeItem *child)=0
 
virtual void setLastVisibleChild (AbstractTreeItem *child)=0
 
virtual QString getFormattedData () const
 
virtual QString getFormattedData (QString columnTitle) const
 
virtual bool hasMeasure (ControlMeasure *) const
 
virtual bool hasImage (QString imageSerial) const
 
virtual bool hasPoint (ControlPoint *) const
 
virtual AbstractTreeItemgetNextVisiblePeer () const
 
virtual void setNextVisiblePeer (AbstractTreeItem *next)
 
virtual void setExpanded (bool newState)
 
virtual bool isExpanded () const
 
virtual void setSelected (bool newState)
 
virtual void setSelectable (bool newSelectable)
 
virtual bool isSelected () const
 
virtual bool isSelectable () const
 
virtual void setVisible (bool newState)
 
virtual bool isVisible () const
 
virtual int getDataWidth () const
 
virtual int getDepth () const
 
virtual void setLastVisibleFilteredItem (AbstractTreeItem *item)
 
virtual const AbstractTreeItemgetLastVisibleFilteredItem () const
 

Protected Member Functions

virtual void sourceDeleted ()
 
virtual void calcDataWidth (int avgCharWidth)
 

Static Protected Member Functions

static double catchNull (QString)
 
static QString catchNull (QVariant)
 

Detailed Description

Base class for an item without data.

This class represents an item in the tree that has no data. For example, RootItem and BusyLeafItem are two types of items that do not have any data.

Author
????-??-?? Eric Hyer

Member Enumeration Documentation

◆ InternalPointerType

Enumerator
None 
Point 
Measure 
ImageAndNet 

Constructor & Destructor Documentation

◆ AbstractNullDataItem()

Isis::AbstractNullDataItem::AbstractNullDataItem ( AbstractTreeItem * parent = 0)

◆ ~AbstractNullDataItem()

Isis::AbstractNullDataItem::~AbstractNullDataItem ( )
virtual

Member Function Documentation

◆ addChild()

virtual void Isis::AbstractTreeItem::addChild ( AbstractTreeItem * child)
pure virtualinherited

◆ calcDataWidth()

◆ catchNull() [1/2]

double Isis::AbstractTreeItem::catchNull ( QString str)
staticprotectedinherited

◆ catchNull() [2/2]

QString Isis::AbstractTreeItem::catchNull ( QVariant data)
staticprotectedinherited

References Isis::Null.

◆ childAt()

virtual AbstractTreeItem * Isis::AbstractTreeItem::childAt ( int row) const
pure virtualinherited

◆ childCount()

virtual int Isis::AbstractTreeItem::childCount ( ) const
pure virtualinherited

◆ deleteSource()

void Isis::AbstractNullDataItem::deleteSource ( )
virtual

◆ getChildren()

virtual QList< AbstractTreeItem * > Isis::AbstractTreeItem::getChildren ( ) const
pure virtualinherited

◆ getData() [1/2]

QVariant Isis::AbstractNullDataItem::getData ( ) const
virtual

Implements Isis::AbstractTreeItem.

Reimplemented in Isis::BusyLeafItem.

◆ getData() [2/2]

QVariant Isis::AbstractNullDataItem::getData ( QString columnTitle) const
virtual

◆ getDataWidth()

int Isis::AbstractTreeItem::getDataWidth ( ) const
virtualinherited

◆ getDepth()

int Isis::AbstractTreeItem::getDepth ( ) const
virtualinherited

◆ getFirstVisibleChild()

virtual AbstractTreeItem * Isis::AbstractTreeItem::getFirstVisibleChild ( ) const
pure virtualinherited

◆ getFormattedData() [1/2]

◆ getFormattedData() [2/2]

QString Isis::AbstractTreeItem::getFormattedData ( QString columnTitle) const
virtualinherited

◆ getLastVisibleChild()

virtual AbstractTreeItem * Isis::AbstractTreeItem::getLastVisibleChild ( ) const
pure virtualinherited

◆ getLastVisibleFilteredItem()

const AbstractTreeItem * Isis::AbstractTreeItem::getLastVisibleFilteredItem ( ) const
virtualinherited

Reimplemented in Isis::RootItem.

◆ getNextVisiblePeer()

AbstractTreeItem * Isis::AbstractTreeItem::getNextVisiblePeer ( ) const
virtualinherited

◆ getPointer()

void * Isis::AbstractNullDataItem::getPointer ( ) const
virtual

◆ getPointerType()

AbstractTreeItem::InternalPointerType Isis::AbstractNullDataItem::getPointerType ( ) const
virtual

◆ hasImage()

bool Isis::AbstractTreeItem::hasImage ( QString imageSerial) const
virtualinherited

◆ hasMeasure()

bool Isis::AbstractTreeItem::hasMeasure ( ControlMeasure * measure) const
virtualinherited

◆ hasPoint()

bool Isis::AbstractTreeItem::hasPoint ( ControlPoint * point) const
virtualinherited

◆ indexOf()

virtual int Isis::AbstractTreeItem::indexOf ( AbstractTreeItem * child) const
pure virtualinherited

◆ isDataEditable()

bool Isis::AbstractNullDataItem::isDataEditable ( QString columnTitle) const
virtual

◆ isExpanded()

bool Isis::AbstractTreeItem::isExpanded ( ) const
virtualinherited

◆ isSelectable()

bool Isis::AbstractTreeItem::isSelectable ( ) const
virtualinherited

◆ isSelected()

bool Isis::AbstractTreeItem::isSelected ( ) const
virtualinherited

◆ isVisible()

bool Isis::AbstractTreeItem::isVisible ( ) const
virtualinherited

◆ operator<()

bool Isis::AbstractNullDataItem::operator< ( AbstractTreeItem const & other) const
virtual

◆ parent()

◆ row()

int Isis::AbstractTreeItem::row ( ) const
inherited

◆ setData()

void Isis::AbstractNullDataItem::setData ( QString const & columnTitle,
QString const & newData )
virtual

◆ setExpanded()

void Isis::AbstractTreeItem::setExpanded ( bool newState)
virtualinherited

◆ setFirstVisibleChild()

virtual void Isis::AbstractTreeItem::setFirstVisibleChild ( AbstractTreeItem * child)
pure virtualinherited

◆ setLastVisibleChild()

virtual void Isis::AbstractTreeItem::setLastVisibleChild ( AbstractTreeItem * child)
pure virtualinherited

◆ setLastVisibleFilteredItem()

void Isis::AbstractTreeItem::setLastVisibleFilteredItem ( AbstractTreeItem * item)
virtualinherited

Reimplemented in Isis::RootItem.

References _FILEINFO_, and Isis::IException::Programmer.

◆ setNextVisiblePeer()

void Isis::AbstractTreeItem::setNextVisiblePeer ( AbstractTreeItem * next)
virtualinherited

◆ setParent()

void Isis::AbstractTreeItem::setParent ( AbstractTreeItem * newParent)
inherited

◆ setSelectable()

void Isis::AbstractTreeItem::setSelectable ( bool newSelectable)
virtualinherited

◆ setSelected()

void Isis::AbstractTreeItem::setSelected ( bool newState)
virtualinherited

◆ setVisible()

void Isis::AbstractTreeItem::setVisible ( bool newState)
virtualinherited

◆ sourceDeleted()

void Isis::AbstractNullDataItem::sourceDeleted ( )
protectedvirtual

The documentation for this class was generated from the following files: