Class FormView

  extended bycom.oktiva.mogno.Component
      extended bycom.oktiva.mogno.Visual
          extended bycom.oktiva.mogno.Container
              extended bycom.oktiva.mogno.html.Form
                  extended bycom.oktiva.mogno.additional.FormView
All Implemented Interfaces:
java.lang.Cloneable, ComponentView

public class FormView
extends Form
implements ComponentView

$Id:,v 2005/01/05 16:52:53 ruoso Exp $

Field Summary
 boolean viewOnly
          If true, show this component as a SPAN, with an hidden.
Fields inherited from class com.oktiva.mogno.html.Form
accept, acceptCharset, action, dir, enctype, lang, method, onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onreset, onsubmit
Fields inherited from class com.oktiva.mogno.Container
afterEnd, content
Fields inherited from class com.oktiva.mogno.Visual
evOnShow, evOnSyntaxError, gridHeight, gridWeightX, gridWeightY, gridWidth, id, lastError, left, parent, problematic, style, styleClass, title, top
Fields inherited from class com.oktiva.mogno.Component
bag, componentFiler, componentFilerParams, designing, eventQueue, evOnCreate, name, owned, ownedClasses, owner, tag, xmlFileName
Constructor Summary
          Creates a new instance of FormView
Method Summary
 boolean isViewOnly()
          Getter for property viewOnly.
 void setViewOnly(boolean viewOnly)
          Setter for property viewOnly.
Methods inherited from class com.oktiva.mogno.html.Form
endContainer, getAccept, getAcceptCharset, getAction, getDir, getEnctype, getFormValues, getId, getLang, getMethod, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnreset, getOnsubmit, htmlAttributes, nonAttributeGetters, setAccept, setAcceptCharset, setAction, setDir, setEnctype, setFormValues, setLang, setMethod, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnreset, setOnsubmit, startContainer
Methods inherited from class com.oktiva.mogno.Container
addChildsVector, betweenColumns, betweenRows, endColumn, endRow, getChildsVector, getContent, getFullComponentsVector, getOrderedChildNames, getOrderedChildsVector, orderChildsVector, selectParentComponent, setContent, show, startColumn, startRow
Methods inherited from class com.oktiva.mogno.Visual
buildHtmlAttributes, cellhalignHtmlAttributes, cellvalignHtmlAttributes, checkSyntax, coreHtmlAttributes, descendentOf, eventsHtmlAttributes, getEvOnShow, getEvOnSyntaxError, getGridHeight, getGridWeightX, getGridWeightY, getGridWidth, getLastError, getLeft, getParent, getStyle, getStyleClass, getTitle, getTop, i18nHtmlAttributes, localizableAttributes, receiveRequest, setEvOnShow, setEvOnSyntaxError, setGridHeight, setGridWeightX, setGridWeightY, setGridWidth, setId, setLastError, setLeft, setParent, setStyle, setStyleClass, setTitle, setTop, showHtmlAttributes
Methods inherited from class com.oktiva.mogno.Component
attribsHash, createOwnedComponents, dispatch, dispatchAll, dispatchFunction, eventParamTypes, eventParamValues, freeChild, getApplication, getAttrsTypes, getBag, getChild, getChildClass, getClone, getEvOnCreate, getFromBag, getName, getOwner, initialize, initialize, initialize, initialize, isDesigning, listChilds, putInBag, queue, registerChild, removeFromBag, serializedBag, setBag, setComponentFiler, setComponentFilerParams, setDesigning, setEvOnCreate, setName, setOwner, setProperties, store, unserializeBag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public boolean viewOnly
If true, show this component as a SPAN, with an hidden. Else, as a INPUT.
Defaults to false.

Constructor Detail


public FormView()
Creates a new instance of FormView

Method Detail


public boolean isViewOnly()
Getter for property viewOnly.

Specified by:
isViewOnly in interface ComponentView
Value of property viewOnly.


public void setViewOnly(boolean viewOnly)
Setter for property viewOnly. Thiss will set this form, and all its InputViews to viewOnly. It will also issue a setDisabled(viewOnly) to all
Specified by:
setViewOnly in interface ComponentView
viewOnly - New value of property viewOnly.