com.oktiva.mogno.additional
Class SelectView

java.lang.Object
  extended bycom.oktiva.mogno.Component
      extended bycom.oktiva.mogno.Visual
          extended bycom.oktiva.mogno.Container
              extended bycom.oktiva.mogno.html.Select
                  extended bycom.oktiva.mogno.additional.SelectView
All Implemented Interfaces:
java.lang.Cloneable, ComponentView
Direct Known Subclasses:
SelectUFBR, SuperSelect

public class SelectView
extends Select
implements ComponentView

See Also:
ComponentView, FormView

Field Summary
 boolean viewOnly
           
 
Fields inherited from class com.oktiva.mogno.html.Select
dir, disabled, evOnChange, lang, multiple, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, required, size, tabindex, values
 
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
SelectView()
           
 
Method Summary
protected  java.util.Hashtable getContentsByValue()
           
 boolean isViewOnly()
          Getter for property viewOnly.
 void setViewOnly(boolean viewOnly)
          Setter for property viewOnly.
 java.lang.String show()
          Builds the HTML from the ordered childs list.
 
Methods inherited from class com.oktiva.mogno.html.Select
checkSyntax, getDir, getDisabled, getEvOnChange, getId, getLang, getMultiple, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRequired, getSize, getTabindex, getValue, getValues, htmlAttributes, isSelected, receiveRequest, serializeValues, setDir, setDisabled, setEvOnChange, setLang, setMultiple, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRequired, setSize, setTabindex, setValue, setValues, startContainer, unserializeValues
 
Methods inherited from class com.oktiva.mogno.Container
addChildsVector, betweenColumns, betweenRows, endColumn, endContainer, endRow, getChildsVector, getContent, getFullComponentsVector, getOrderedChildNames, getOrderedChildsVector, nonAttributeGetters, orderChildsVector, selectParentComponent, setContent, startColumn, startRow
 
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, 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
Constructor Detail

SelectView

public SelectView()
Method Detail

show

public java.lang.String show()
                      throws java.lang.Exception
Description copied from class: Container
Builds the HTML from the ordered childs list. When a component has gridWidth or gridHeight, the number of startColumns, endColumns, startRow and endRows called will still depend of the last top and left. Ex.: If you have a component with left 0 and gridWidth 2 and you have another component with left 2, there will be three calls to startColumn

Overrides:
show in class Container
Throws:
java.lang.Exception

getContentsByValue

protected java.util.Hashtable getContentsByValue()

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.