Packageview.domino.surfaceComponents.components
Classpublic class MainApplication
InheritanceMainApplication Inheritance view.primeFaces.surfaceComponents.components.Div
Implements view.interfaces.INonDeletableSurfaceComponent, view.interfaces.IMainApplication, interfaces.IComponentPercentSizeOutput

Representation of index.html file.

Visual Editor XML:
     <MainApplication
     Attributes
     width="700"
     height="450"
     title=""
     wrap=""
     class="flexHorizontalLayoutWrap flexHorizontalLayoutLeft flexHorizontalLayoutTop">
      <Script>
          <![CDATA[ Some information ]]>
      </Script>
     </MainApplication>
     
HTML output:
      <?xml version="1.0" encoding="utf-8"?>
      <html xmlns="http://www.w3.org/1999/xhtml"
            xmlns:h="http://xmlns.jcp.org/jsf/html"
            xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
            xmlns:p="http://primefaces.org/ui">
      <h:head>
          <link rel="stylesheet" type="text/css" href="resources/moonshine-layout-styles.css"/>
          <title/>
      </h:head>
      <h:body>
          <div class="flexHorizontalLayout flexHorizontalLayoutLeft flexHorizontalLayoutTop"
               style="width:700px;height:450px;"/>
      </h:body>
      </html>
     

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
  formproperty : String
MainApplication
  formpropertys : ArrayList
[read-only]
MainApplication
  height : Number
[override] [read-only] PrimeFaces: none
MainApplication
  percentHeight : Number
[override] PrimeFaces: style
MainApplication
  percentWidth : Number
[override] PrimeFaces: style
MainApplication
  terminate : String
MainApplication
  title : String
PrimeFaces: none
MainApplication
  webqueryopen : String
MainApplication
  webquerysave : String
MainApplication
  width : Number
[override] [read-only] PrimeFaces: none
MainApplication
  windowsTitle : String
MainApplication
Public Methods
 MethodDefined By
  
MainApplication
  
fromXML(xml:XML, callback:Function):void
[override]
MainApplication
  
setDominoProject(value:Boolean):void
MainApplication
Public Constants
 ConstantDefined By
  ELEMENT_NAME : String = MainApplication
[static]
MainApplication
Property Detail
formpropertyproperty
formproperty:String


Implementation
    public function get formproperty():String
    public function set formproperty(value:String):void
formpropertysproperty 
formpropertys:ArrayList  [read-only]


Implementation
    public function get formpropertys():ArrayList
heightproperty 
height:Number  [read-only] [override]

PrimeFaces: none

The default value is "450".

This property can be used as the source for data binding.


Implementation
    public function get height():Number

Example
Visual Editor XML:
<MainApplication height="450"/>
PrimeFaces:
<div style="width:700px;height:450px;"/>
percentHeightproperty 
percentHeight:Number[override]

PrimeFaces: style

This property can be used as the source for data binding.


Implementation
    public function get percentHeight():Number
    public function set percentHeight(value:Number):void

Example
Visual Editor XML:
<MainApplication percentHeight="80"/>
PrimeFaces:
<div style="height:80%;"/>
percentWidthproperty 
percentWidth:Number[override]

PrimeFaces: style

This property can be used as the source for data binding.


Implementation
    public function get percentWidth():Number
    public function set percentWidth(value:Number):void

Example
Visual Editor XML:
<MainApplication percentWidth="80"/>
PrimeFaces:
<div style="width:80%;"/>
terminateproperty 
terminate:String


Implementation
    public function get terminate():String
    public function set terminate(value:String):void
titleproperty 
title:String

PrimeFaces: none


Implementation
    public function get title():String
    public function set title(value:String):void

Example
Visual Editor XML:
<MainApplication title=""/>
HTML:
<title></title>
webqueryopenproperty 
webqueryopen:String


Implementation
    public function get webqueryopen():String
    public function set webqueryopen(value:String):void
webquerysaveproperty 
webquerysave:String


Implementation
    public function get webquerysave():String
    public function set webquerysave(value:String):void
widthproperty 
width:Number  [read-only] [override]

PrimeFaces: none

The default value is "700".

This property can be used as the source for data binding.


Implementation
    public function get width():Number

Example
Visual Editor XML:
<MainApplication width="700"/>
PrimeFaces:
<div style="width:700px;height:450px;"/>
windowsTitleproperty 
windowsTitle:String


Implementation
    public function get windowsTitle():String
    public function set windowsTitle(value:String):void
Constructor Detail
MainApplication()Constructor
public function MainApplication()



Method Detail
fromXML()method
override public function fromXML(xml:XML, callback:Function):void

Parameters

xml:XML
 
callback:Function

setDominoProject()method 
public function setDominoProject(value:Boolean):void

Parameters

value:Boolean

Constant Detail
ELEMENT_NAMEConstant
public static const ELEMENT_NAME:String = MainApplication