com.oktiva.mogno.html
Class Col

java.lang.Object
  extended bycom.oktiva.mogno.Component
      extended bycom.oktiva.mogno.Visual
          extended bycom.oktiva.mogno.Container
              extended bycom.oktiva.mogno.html.TableElement
                  extended bycom.oktiva.mogno.html.Col
All Implemented Interfaces:
java.lang.Cloneable

public class Col
extends TableElement

The only table element not a container.


Field Summary
 java.lang.String span
          HTML attribute
 java.lang.String width
          HTML attribute
 
Fields inherited from class com.oktiva.mogno.html.TableElement
align, charoff, charOn, dir, lang, onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, valign
 
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
Col()
           
 
Method Summary
 java.lang.String getSpan()
           
 java.lang.String getWidth()
           
 java.util.Vector htmlAttributes()
          Valid HTML attributes for this component.
 void setSpan(java.lang.String span)
           
 void setWidth(java.lang.String width)
           
 java.lang.String show()
          Builds the HTML from the ordered childs list.
 
Methods inherited from class com.oktiva.mogno.html.TableElement
getAlign, getCharoff, getCharOn, getDir, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getValign, setAlign, setCharoff, setCharOn, setDir, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setValign
 
Methods inherited from class com.oktiva.mogno.Container
addChildsVector, betweenColumns, betweenRows, endColumn, endContainer, endRow, getChildsVector, getContent, getFullComponentsVector, getOrderedChildNames, getOrderedChildsVector, nonAttributeGetters, orderChildsVector, selectParentComponent, setContent, startColumn, startContainer, startRow
 
Methods inherited from class com.oktiva.mogno.Visual
buildHtmlAttributes, cellhalignHtmlAttributes, cellvalignHtmlAttributes, checkSyntax, coreHtmlAttributes, descendentOf, eventsHtmlAttributes, getEvOnShow, getEvOnSyntaxError, getGridHeight, getGridWeightX, getGridWeightY, getGridWidth, getId, 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

span

public java.lang.String span
HTML attribute


width

public java.lang.String width
HTML attribute

Constructor Detail

Col

public Col()
Method Detail

getSpan

public java.lang.String getSpan()

setSpan

public void setSpan(java.lang.String span)

getWidth

public java.lang.String getWidth()

setWidth

public void setWidth(java.lang.String width)

htmlAttributes

public java.util.Vector htmlAttributes()
Description copied from class: Visual
Valid HTML attributes for this component.
All this attributes must be properties of the class.

Overrides:
htmlAttributes in class TableElement

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