Package schrodinger :: Package application :: Package jaguar :: Package gui :: Package tabs :: Package sub_tab_widgets :: Module base_widgets :: Class SubTabRow
[hide private]
[frames] | no frames]

Class SubTabRow

object --+
         |
        SubTabRow
Known Subclasses:

An object representing a single row of the table. This class is intended to be subclassed for each sub-tab. The default implementation includes entry id and structure title.

Instance Methods [hide private]
 
__init__(self, entry_id=None, title=None)
x.__init__(...) initializes x; see help(type(x)) for signature
PerAtomBasisRow
copy(self)
Create a new row object that is a copy of this row
list
getAtomNums(self)
Get a list of all atom numbers associated with this row (i.e.
list
getAtoms(self)
Get a list of all atoms associated with this row (i.e.
schrodinger.structure.Structure
getStructure(self)
Get the structure this row refers to

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, entry_id=None, title=None)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

copy(self)

 

Create a new row object that is a copy of this row

This method must be implemented in subclasses for use with models that have the appendFromModel method.

Returns: PerAtomBasisRow
The row item that is a copy of this row

getAtomNums(self)

 

Get a list of all atom numbers associated with this row (i.e. all atom to be marked by workspace markers). The default implementation checks for an atom_num or atom_nums attribute. Subclasses must redefine this function if neither of these attributes exist.

Returns: list
A list of atom numbers (relative to the entry, not the workspace structure)

getAtoms(self)

 

Get a list of all atoms associated with this row (i.e. all atom to be marked by workspace markers).

Returns: list
A list of schrodinger.structure._StructureAtom objects

getStructure(self)

 

Get the structure this row refers to

Returns: schrodinger.structure.Structure
The structure