| Package | com.elad.framework.fileviewer |
| Class | public class UIFileViewer |
| Inheritance | UIFileViewer AbstractFileViewer |
| Implements | IUIFileViewer |
| Property | Defined by | ||
|---|---|---|---|
| output : UIComponent [write-only]
The view will be sent to an output component, which can be any UIComponent.
| UIFileViewer | ||
| Property | Defined by | ||
|---|---|---|---|
| component : UIComponent | UIFileViewer | ||
| Method | Defined by | ||
|---|---|---|---|
|
initiate(filename:String):void
Method that will be used by UI to start the API
| UIFileViewer | ||
![]() |
setProperties(filename:String):IView
This will set all the properties that are needed in the view layer.
| AbstractFileViewer | |
| Method | Defined by | ||
|---|---|---|---|
|
checkFileName(fileExt:String):AbstractFileViewer
Will check the file extension name and will invoke the abstractFileViewer method to set the view for the file
The file extension need to be set in this method. | UIFileViewer | ||
![]() |
The Factory Method is an abstract method that will be overridden in the view class.
| AbstractFileViewer | |
| component | property |
protected var component:UIComponent
| output | property |
output:UIComponent [write-only]The view will be sent to an output component, which can be any UIComponent.
Implementation public function set output(value:UIComponent):void
See also
| checkFileName | () | method |
protected function checkFileName(fileExt:String):AbstractFileViewerWill check the file extension name and will invoke the abstractFileViewer method to set the view for the file
The file extension need to be set in this method. Parameters
fileExt:String — File name and extention to be checked and viewed.
|
AbstractFileViewer |
— file extention name if the extention was not set be this method.
|
See also
| initiate | () | method |
public override 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