Package nukescripts :: Module flipbooking :: Class FlipbookFactory
[hide private]
[frames] | no frames]

Class FlipbookFactory

source code

object --+
         |
        FlipbookFactory

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
isRegistered(self, flipbook)
Return whether a flipbook app with that name has already been registered.
source code
 
register(self, flipbookApplication)
Register a flipbook app.
source code
 
getNames(self)
Returns a list of the names of all available flipbook apps.
source code
 
getApplication(self, name)
Returns the flipbook app implementation with the given name, raises an exception if none could be found.
source code

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)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

isRegistered(self, flipbook)

source code 

Return whether a flipbook app with that name has already been registered.

Parameters:
  • flipbook - FlipBookApplication object that's tested for.
Returns:
bool

register(self, flipbookApplication)

source code 

Register a flipbook app. It will fail if the flipbook app name isn't unique.

Parameters:
  • flipbook - FlipBookApplication object to register
Returns:
None

getNames(self)

source code 

Returns a list of the names of all available flipbook apps.

Returns:
list

getApplication(self, name)

source code 

Returns the flipbook app implementation with the given name, raises an exception if none could be found.

Parameters:
  • name - The name of a flipbook that was registered.
Returns:
FlipBookApplication