| Package | com.elad.framework.fileviewer |
| Class | public class AbstractFileViewer |
| Implements | IFileViewer |
| Subclasses | FileViewerImage, FileViewerMovie, UIFileViewer |
| Method | Defined by | ||
|---|---|---|---|
|
initiate(filename:String):void
Method that will be used by UI to start the API
| AbstractFileViewer | ||
|
setProperties(filename:String):IView
This will set all the properties that are needed in the view layer.
| AbstractFileViewer | ||
| Method | Defined by | ||
|---|---|---|---|
|
The Factory Method is an abstract method that will be overridden in the view class.
| AbstractFileViewer | ||
| factoryMethod | () | method |
protected function factoryMethod():IViewThe Factory Method is an abstract method that will be overridden in the view class.
ReturnsIView —
The method return an object of the view.
|
See also
| initiate | () | method |
public function initiate(filename:String):voidMethod that will be used by UI to start the API
Parametersfilename:String — File name and extention to be checked and viewed.
|
See also
| setProperties | () | method |
public function setProperties(filename:String):IViewThis will set all the properties that are needed in the view layer.
Parametersfilename:String — File name and extention.
|
IView —
IView Return the view components.
|
See also