Package peppy :: Package hsi :: Module loader :: Class HyperspectralSTC
[frames] | no frames]

Class HyperspectralSTC

               object --+        
                        |        
stcinterface.STCInterface --+    
                            |    
  stcinterface.NonResidentSTC --+
                                |
                               HyperspectralSTC

Instance Methods
 
open(self, buffer, message=None)
Read from the specified url to populate the STC.
 
GetLength(self)
 
Destroy(self)

Inherited from stcinterface.NonResidentSTC: CanEdit, __init__

Inherited from stcinterface.STCInterface: AddRefDocument, CanCopy, CanCut, CanPaste, CanRedo, CanSave, CanUndo, Clear, Copy, CreateDocument, Cut, EmptyUndoBuffer, GetBinaryData, GetFoldColumn, GetFoldLevel, GetModify, GetPrevLineIndentation, GetText, GetTextLength, GotoPos, GuessBinary, Paste, Redo, ReleaseDocument, SetDocPointer, SetSavePoint, Undo, getShortDisplayName, openSuccess, prepareEncoding, readFrom, showStyle, writeTo

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

Properties

Inherited from object: __class__

Method Details

open(self, buffer, message=None)

 

Read from the specified url to populate the STC.

Abstract method that subclasses use to read data into the STC. May be called from a thread, so don't process any GUI actions here.

buffer: buffer object used to read the file

message: optional message used to update a progress bar

Overrides: stcinterface.STCInterface.open
(inherited documentation)

GetLength(self)

 
Overrides: stcinterface.STCInterface.GetLength

Destroy(self)

 
Overrides: stcinterface.NonResidentSTC.Destroy