com.oktiva.mogno.additional
Class FormView

java.lang.Object
  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

Version:
$Id: FormView.java,v 1.1.1.1 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
FormView()
          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

viewOnly

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

Constructor Detail

FormView

public FormView()
Creates a new instance of FormView

Method Detail

isViewOnly

public boolean isViewOnly()
Getter for property viewOnly.

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

setViewOnly

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
Parameters:
viewOnly - New value of property viewOnly.