com.oktiva.mogno.additional
Class InputView

java.lang.Object
  extended bycom.oktiva.mogno.Component
      extended bycom.oktiva.mogno.Visual
          extended bycom.oktiva.mogno.html.Input
              extended bycom.oktiva.mogno.additional.InputView
All Implemented Interfaces:
java.lang.Cloneable, ComponentView

public class InputView
extends Input
implements ComponentView

Version:
$Id: InputView.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.Input
accept, accesskey, alt, checked, dir, disabled, evOnChange, evOnClick, ismap, label, lang, maxlength, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, radiogroup, readonly, required, size, src, tabindex, type, uploadContentType, uploadInputStream, usemap, value, x, y
 
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
InputView()
          Creates a new instance of InputView
 
Method Summary
 boolean isViewOnly()
          Getter for property viewOnly.
 void setViewOnly(boolean viewOnly)
          Setter for property viewOnly.
 java.lang.String show()
          Implements just the dispatching of the onShow event
 
Methods inherited from class com.oktiva.mogno.html.Input
checkSyntax, getAccept, getAccesskey, getAlt, getChecked, getDir, getDisabled, getEvOnChange, getEvOnClick, getId, getIsmap, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRadiogroup, getReadonly, getRequired, getSize, getSrc, getTabindex, getType, getUploadContentType, getUploadInputStream, getUsemap, getValue, getX, getY, htmlAttributes, nonAttributeGetters, receiveRequest, setAccept, setAccesskey, setAlt, setChecked, setDir, setDisabled, setEvOnChange, setEvOnClick, setIsmap, setLabel, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRadiogroup, setReadonly, setRequired, setSize, setSrc, setTabindex, setType, setUploadContentType, setUploadInputStream, setUsemap, setValue, setX, setY
 
Methods inherited from class com.oktiva.mogno.Visual
buildHtmlAttributes, cellhalignHtmlAttributes, cellvalignHtmlAttributes, coreHtmlAttributes, descendentOf, eventsHtmlAttributes, getEvOnShow, getEvOnSyntaxError, getGridHeight, getGridWeightX, getGridWeightY, getGridWidth, getLastError, getLeft, getParent, getStyle, getStyleClass, getTitle, getTop, i18nHtmlAttributes, localizableAttributes, 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, getOrderedChildNames, 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

InputView

public InputView()
Creates a new instance of InputView

Method Detail

show

public java.lang.String show()
                      throws java.lang.Exception
Description copied from class: Visual
Implements just the dispatching of the onShow event

Overrides:
show in class Input
Returns:
The html code for this component.
Throws:
java.lang.Exception

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.

Specified by:
setViewOnly in interface ComponentView
Parameters:
viewOnly - New value of property viewOnly.